Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing all 555 mechanisms...

Categories:

BiomeTag Mechanisms | ChunkTag Mechanisms | CuboidTag Mechanisms | DiscordChannelTag Mechanisms | DiscordMessageTag Mechanisms | DiscordUserTag Mechanisms | EntityTag Mechanisms | FlaggableObject Mechanisms | InventoryTag Mechanisms | ItemTag Mechanisms | LocationTag Mechanisms | MaterialTag Mechanisms | NPCTag Mechanisms | PlayerTag Mechanisms | PolygonTag Mechanisms | QueueTag Mechanisms | server Mechanisms | system Mechanisms | TradeTag Mechanisms | WorldTag Mechanisms | BigDoorsDoorTag Mechanisms | bungee Mechanisms | GriefPreventionClaimTag Mechanisms | JobsJobTag Mechanisms | MythicMobsMobTag Mechanisms | MythicSpawnerTag Mechanisms | TownTag Mechanisms


Category: BiomeTag Mechanisms


Namedownfall_type
ObjectBiomeTag
InputElementTag
Related Tags<BiomeTag.temperature> Returns the temperature of this biome.
DescriptionSets the downfall-type for this biome server-wide.
This can be RAIN, SNOW, or NONE.
Resets on server restart.
Example
# Adjusts the downfall type of the plains biome permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> temperature:-0.2
- adjust <biome[plains]> downfall_type:SNOW
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L348

Namehumidity
ObjectBiomeTag
InputElementTag(Decimal)
Related Tags<BiomeTag.humidity> Returns the humidity of this biome.
DescriptionSets the humidity for this biome server-wide.
If this is greater than 0.85, fire has less chance to spread in this biome.
Resets on server restart.
Example
# Adjusts the humidity of the plains biome permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> humidity:0.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L310

Nametemperature
ObjectBiomeTag
InputElementTag(Decimal)
Related Tags<BiomeTag.temperature> Returns the temperature of this biome.
DescriptionSets the temperature for this biome server-wide.
If this is less than 0.15, snow will form on the ground when weather occurs in the world and a layer of ice will form over water.
Resets on server restart.
Example
# Adjusts the temperature of the plains biome permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> temperature:0.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L329



Category: ChunkTag Mechanisms


Nameclear_plugin_tickets
ObjectChunkTag
InputNone
Related Tags<ChunkTag.plugin_tickets> Returns a list of plugins that are keeping this chunk loaded. (...)
DescriptionForcibly removes all plugin tickets from this chunk, usually allowing it to unload.
This is usually a bad idea.
Example
# Make sure you know what you are doing before using this mechanism.
- adjust <player.location.chunk> clear_plugin_tickets
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L855

Nameforce_loaded
ObjectChunkTag
InputElementTag(Boolean)
Related Tags<ChunkTag.force_loaded> Returns whether the chunk is forced to stay loaded at all times.
DescriptionSets whether this plugin is force-loaded or not.
Unless you have a specific reason to use this, prefer Command:chunkload.
Example
- adjust <player.location.chunk> force_loaded:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L839

Nameinhabited_time
ObjectChunkTag
InputDurationTag
Related Tags<ChunkTag.inhabited_time> Returns the total time the chunk has been inhabited for. (...)
DescriptionChanges the amount of time the chunk has been inhabited for.
This is a primary deciding factor in the "local difficulty" setting.
Example
- adjust <player.location.chunk> inhabited_time:5d
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L793

Nameload
ObjectChunkTag
InputNone
Related Tags<ChunkTag.is_loaded> Returns true if the chunk is currently loaded into memory.
DescriptionLoads a chunk into memory.
Example
- adjust <player.location.chunk.add[100,0]> load
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L874

Namerefresh_chunk
ObjectChunkTag
InputNone
DescriptionRefreshes the chunk, sending any changed properties to players.
Example
- adjust <player.location.chunk> refresh_chunk
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L903

Namerefresh_chunk_sections
ObjectChunkTag
InputNone
DescriptionRefreshes all 16x16x16 chunk sections within the chunk.
Example
- adjust <player.location.chunk> refresh_chunk_sections
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L918

Nameregenerate
ObjectChunkTag
InputNone
DescriptionCauses the chunk to be entirely deleted and reformed from the world's seed.
At time of writing this method only works as expected on Paper, and will error on Spigot.
Example
- adjust <player.location.chunk> regenerate
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L889

Nameset_all_biomes
ObjectChunkTag
InputBiomeTag
DescriptionSets all biomes in the chunk to the given biome.
Example
- adjust <player.location.chunk> set_all_biomes:<biome[savanna]>
# Allow players to see the biome change:
- adjust <player.location.chunk> refresh_chunk
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L936

Nameunload
ObjectChunkTag
InputNone
Related Tags<ChunkTag.is_loaded> Returns true if the chunk is currently loaded into memory.
DescriptionRemoves a chunk from memory.
Example
- adjust <player.location.chunk.add[20,20]> unload
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L809

Nameunload_without_saving
ObjectChunkTag
InputNone
Related Tags<chunk.is_loaded> Returns true if the chunk is currently loaded into memory.
DescriptionRemoves a chunk from memory without saving any recent changes.
Example
- adjust <player.location.chunk.add[20,20]> unload_without_saving
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L824



Category: CuboidTag Mechanisms


Nameadd_member
ObjectCuboidTag
Input(#,)CuboidTag
Related Tags<CuboidTag.get> Returns a cuboid representing the one component of this cuboid (for cuboids that contain multiple sub-cuboids).
<CuboidTag.add_member[<cuboid>]> Returns a modified copy of this cuboid, with the input cuboid(s) added at the end.
<CuboidTag.add_member[<cuboid>].at[<#>]> Returns a modified copy of this cuboid, with the input cuboid(s) added at the specified index.
DescriptionAdds a sub-member to the cuboid (optionally at a specified index - otherwise, at the end).
Input is of the form like "2,[email protected]" where 2 is the sub-cuboid index, or just a direct CuboidTag input.
Note that the index is where the member will end up. So, index 1 will add the cuboid as the very first member (moving the rest up +1 index value).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1538

Nameremove_member
ObjectCuboidTag
InputElementTag(Number)
Related Tags<CuboidTag.remove_member[<#>]> Returns a modified copy of this cuboid, with member at the input index removed.
DescriptionRemove a sub-member from the cuboid at the specified index.
Generated Example
- adjust <cuboid[my_noted_cuboid]> remove_member:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1576

Nameset_member
ObjectCuboidTag
Input(#,)CuboidTag
Related Tags<CuboidTag.get> Returns a cuboid representing the one component of this cuboid (for cuboids that contain multiple sub-cuboids).
<CuboidTag.set[<cuboid>].at[<#>]> Returns a modified copy of this cuboid, with the specific sub-cuboid index changed to hold the input cuboid.
DescriptionSets a given sub-cuboid of the cuboid.
Input is of the form like "2,[email protected]" where 2 is the sub-cuboid index, or just a direct CuboidTag input.
The default index, if unspecified, is 1 (ie the first member).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1501



Category: DiscordChannelTag Mechanisms


Nameadd_thread_member
ObjectDiscordChannelTag
InputDiscordUserTag
DescriptionAdds the specified user to this thread.
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L492

Namedelete
ObjectDiscordChannelTag
InputNone
DescriptionDeletes this channel.
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L568

Nameis_thread_archived
ObjectDiscordChannelTag
InputElementTag(Boolean)
Related Tags<DiscordChannelTag.is_thread_archived> Returns true if the thread is archived, or false if it is still open. (...)
DescriptionChanges whether this thread is archived.
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L532

Nameis_thread_locked
ObjectDiscordChannelTag
InputElementTag(Boolean)
Related Tags<DiscordChannelTag.is_thread_locked> Returns true if the thread is locked (cannot be pulled from archive). (...)
DescriptionChanges whether this thread is locked (can't be pulled from archive by non-moderators).
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L550

Nameremove_thread_member
ObjectDiscordChannelTag
InputDiscordUserTag
DescriptionRemoves the specified user from this thread.
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordChannelTag.java#L512



Category: DiscordMessageTag Mechanisms


Namedelete
ObjectDiscordMessageTag
InputNone
DescriptionDeletes the message.
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordMessageTag.java#L497



Category: DiscordUserTag Mechanisms


Namemove
ObjectDiscordUserTag
InputDiscordChannelTag
DescriptionIf this user is connected to a voice channel, moves them to the specified voice channel.
Sourcehttps://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/objects/DiscordUserTag.java#L486



Category: EntityTag Mechanisms


Nameabsorption_health
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.absorption_health> Returns the living entity's absorption health.
DescriptionSets the living entity's absorption health.
Generated Example
- adjust <player> absorption_health:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3202

Nameadd_attribute_modifiers
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.has_attribute> Returns whether the entity has the named attribute. (...)
<EntityTag.attribute_modifiers> Returns a map of all attribute modifiers on the entity, with key as the attribute name and value as a list of modifiers, (...)
<EntityTag.attribute_default_value> Returns the default value of the named attribute for the entity. (...)
<EntityTag.attribute_base_value> Returns the base value of the named attribute for the entity. (...)
<EntityTag.attribute_value> Returns the final calculated value of the named attribute for the entity. (...)
DescriptionAdds attribute modifiers to an entity without altering existing modifiers.
For input format details, refer to Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeModifiers.java#L282

Nameage
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.age> If the entity is ageable, returns the entity's age number. (...)
<EntityTag.is_baby> If the entity is ageable, returns whether the entity is a baby.
<EntityTag.is_age_locked> If the entity is ageable, returns whether the entity is age locked.
<EntityTag.ageable> Returns whether the entity is ageable. (...)
DescriptionSets the entity's age.
Inputs can be 'baby', 'adult', or a valid age number. A default baby is -24000, a default adult is 0, an adult that just bred is 6000.
Optionally, add '|locked' or 'unlocked' to lock/unlock the entity into/from the current age.
(EG, age:baby|locked or age:-24000|unlocked)
Also available: Mechanism:EntityTag.age_lock
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAge.java#L145

Nameage_lock
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.age> If the entity is ageable, returns the entity's age number. (...)
<EntityTag.is_baby> If the entity is ageable, returns whether the entity is a baby.
<EntityTag.is_age_locked> If the entity is ageable, returns whether the entity is age locked.
<EntityTag.ageable> Returns whether the entity is ageable. (...)
DescriptionSets whether the entity is locked into its current age.
Also available: Mechanism:EntityTag.age
Generated Example
- adjust <player> age_lock:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAge.java#L128

Nameaggressive
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.aggressive> Returns whether the entity is currently aggressive.
DescriptionSets whether the entity is currently aggressive.
Generated Example
- adjust <player> aggressive:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAggressive.java#L57

Namealter_uuid
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.uuid> Returns the permanent unique ID of the entity. (...)
DescriptionAlters the entity's UUID, changing it to the new input UUID.
This is very likely to break things and is almost never a good idea.
This sorta-works with players, with significant side effects that will need to be compensated for.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2898

Nameanger
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.anger> Returns the remaining anger time of a PigZombie or Bee.
DescriptionChanges the remaining anger time of a PigZombie or Bee.
Generated Example
- adjust <player> anger:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAnger.java#L92

Nameangry
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.angry> If the entity is a wolf or PigZombie, returns whether the entity is angry. (...)
DescriptionIf the entity is wolf or PigZombie, sets whether the entity is angry.
If the entity is a Vindicator, returns whether it is in "Johnny" mode.
Generated Example
- adjust <player> angry:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAngry.java#L118

Namearmor_bonus
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.armor_bonus> Returns the entity's base armor bonus.
DescriptionSets the entity's base armor bonus.
Generated Example
- adjust <player> armor_bonus:1.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArmorBonus.java#L71

Namearmor_pose
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.armor_pose_map> Returns a map of all poses and angles for the armor stand. (...)
DescriptionSets the angle for various parts of the armor stand.
For example, [head=4.5,3,4.5;body=5.4,3.2,1]
Valid parts: HEAD, BODY, LEFT_ARM, RIGHT_ARM, LEFT_LEG, RIGHT_LEG
Angles are in radians!
Here's a website to help you figure out the correct values: 🔗https://bgielinor.github.io/Minecraft-ArmorStand/.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArmorPose.java#L134

Namearms
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.arms> If the entity is an armor stand, returns whether the armor stand has arms.
DescriptionChanges the arms state of an armor stand.
Generated Example
- adjust <player> arms:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArms.java#L69

Nameattack_cooldown
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.attack_cooldown_duration> Returns the amount of time that passed since the start of the attack cooldown.
<EntityTag.attack_cooldown_max_duration> Returns the maximum amount of time that can pass before the player's main hand has returned (...)
<EntityTag.attack_cooldown_percent> Returns the progress of the attack cooldown. 0 means that the attack cooldown has just (...)
DescriptionSets the player's time since their last attack. If the time is greater than the max duration of their
attack cooldown, then the cooldown is considered finished.
NOTE: The clientside attack cooldown indicator will not reflect this change!
Generated Example
- adjust <player> attack_cooldown:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4029

Nameattack_cooldown_percent
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.attack_cooldown_duration> Returns the amount of time that passed since the start of the attack cooldown.
<EntityTag.attack_cooldown_max_duration> Returns the maximum amount of time that can pass before the player's main hand has returned (...)
<EntityTag.attack_cooldown_percent> Returns the progress of the attack cooldown. 0 means that the attack cooldown has just (...)
DescriptionSets the progress of the player's attack cooldown. Takes a decimal from 0 to 1.
0 means the cooldown has just begun, while 1 means the cooldown has been completed.
NOTE: The clientside attack cooldown indicator will not reflect this change!
Generated Example
- adjust <player> attack_cooldown_percent:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4002

Nameattribute_base_values
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.has_attribute> Returns whether the entity has the named attribute. (...)
<EntityTag.attribute_default_value> Returns the default value of the named attribute for the entity. (...)
<EntityTag.attribute_base_value> Returns the base value of the named attribute for the entity. (...)
<EntityTag.attribute_value> Returns the final calculated value of the named attribute for the entity. (...)
DescriptionSets the base value of an entity's attributes.
Specify a MapTag where the keys are attribute names, and values are the new base values.
Valid attribute names are listed at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
See also Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeBaseValues.java#L169

Nameattribute_modifiers
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.has_attribute> Returns whether the entity has the named attribute. (...)
<EntityTag.attribute_modifiers> Returns a map of all attribute modifiers on the entity, with key as the attribute name and value as a list of modifiers, (...)
<EntityTag.attribute_default_value> Returns the default value of the named attribute for the entity. (...)
<EntityTag.attribute_base_value> Returns the base value of the named attribute for the entity. (...)
<EntityTag.attribute_value> Returns the final calculated value of the named attribute for the entity. (...)
DescriptionSets the attribute modifiers of an entity.
This is a SET operation, meaning pre-existing modifiers are removed.
For input format details, refer to Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeModifiers.java#L243

Namebase_plate
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.base_plate> If the entity is an armor stand, returns whether the armor stand has a base plate.
DescriptionChanges the base plate state of an armor stand.
Generated Example
- adjust <player> base_plate:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBasePlate.java#L69

Namebase_potion
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.base_potion> Returns the Area Effect Cloud's base potion data. (...)
<EntityTag.base_potion.type> Returns the Area Effect Cloud's base potion type.
<EntityTag.base_potion.is_upgraded> Returns whether the Area Effect Cloud's base potion is upgraded.
<EntityTag.base_potion.is_extended> Returns whether the Area Effect Cloud's base potion is extended.
<server.potion_types> Returns a list of all potion types known to the server. (...)
DescriptionSets the Area Effect Cloud's base potion.
In the form: Type,Upgraded,Extended
NOTE: Potion cannot be both upgraded and extended
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L469

Namebeam_target
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.beam_target> Returns the target location of the ender crystal's beam, if any.
DescriptionSets a new target location for the ender crystal's beam.
Provide no input to remove the beam.
Generated Example
- adjust <player> beam_target:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBeamTarget.java#L75

Nameboat_type
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.boat_type> Returns the wood type of the boat. (...)
DescriptionChanges the wood type of the boat.
Valid wood types: GENERIC, REDWOOD, BIRCH, JUNGLE, ACACIA, DARK_OAK.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBoatType.java#L71

Namebody_arrows
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.body_arrows> Returns the number of arrows stuck in the entity's body. (...)
DescriptionSets the number of arrows stuck in the entity's body.
Note: Body arrows will only be visible for players or player-type npcs.
Generated Example
- adjust <player> body_arrows:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBodyArrows.java#L74

Namebounding_box
ObjectEntityTag
InputListTag(LocationTag)
Related Tags<EntityTag.bounding_box> Returns the collision bounding box of the entity in the format "<low>|<high>", essentially a cuboid with decimals.
DescriptionChanges the collision bounding box of the entity in the format "<low>|<high>", essentially a cuboid with decimals.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBoundingBox.java#L91

Namebreed
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.breeding> Returns whether the animal entity is trying to mate with another of its kind.
DescriptionSets whether the entity is trying to mate with another of its kind.
The entity must be living and an animal.
Generated Example
- adjust <player> breed:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3126

Namecan_breed
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.can_breed> Returns whether the animal entity is capable of mating with another of its kind.
DescriptionSets whether the entity is capable of mating with another of its kind.
The entity must be living and 'ageable'.
Generated Example
- adjust <player> can_breed:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3112

Namecan_join_raid
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.can_join_raid> If the entity is raider mob (like a pillager), returns whether the entity is allowed to join active raids.
DescriptionIf the entity is raider mob (like a pillager), changes whether the entity is allowed to join active raids.
Generated Example
- adjust <player> can_join_raid:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCanJoinRaid.java#L69

Namecan_pickup_items
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.can_pickup_items> Returns whether the entity can pick up items.
DescriptionSets whether the entity can pick up items.
The entity must be living.
Generated Example
- adjust <player> can_pickup_items:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3033

Namecannot_enter_hive
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.cannot_enter_hive> Returns the minimum duration until a Bee entity is allowed to enter a hive.
DescriptionChanges the minimum duration until a Bee entity is allowed to enter a hive.
Generated Example
- adjust <player> cannot_enter_hive:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCannotEnterHive.java#L85

Namecarries_chest
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.carries_chest> Returns whether a horse-like entity is carrying a chest.
DescriptionSets whether a horse-like entity is carrying a chest.
Generated Example
- adjust <player> carries_chest:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityChestCarrier.java#L69

Namecharged
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.charged> If the entity is wither_skull, returns whether the skull is charged. Charged skulls are blue. (...)
DescriptionIf the entity is wither_skull, changes whether the skull is charged. Charged skulls are blue.
If the entity is a vex, changes whether the vex is charging. Charging vexes have red lines. This is a visual effect, and does not cause the vex to actually charge at anyone.
Generated Example
- adjust <player> charged:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCharged.java#L94

Nameclear_body_arrows
ObjectEntityTag
InputNone
Related Tags<EntityTag.body_arrows> Returns the number of arrows stuck in the entity's body. (...)
DescriptionClears all arrows stuck in the entity's body.
Note: Body arrows will only be visible for players or player-type npcs.
Generated Example
- adjust <player> clear_body_arrows
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBodyArrows.java#L88

Nameclear_custom_effects
ObjectEntityTag
InputNone
Related Tags<EntityTag.custom_effects> Returns a ListTag of the Area Effect Cloud's custom effects (...)
DescriptionClears all custom effects from the Area Effect Cloud
Generated Example
- adjust <player> clear_custom_effects
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L389

Nameclear_scoreboard_tags
ObjectEntityTag
InputNone
Related Tags<EntityTag.scoreboard_tags> Returns a list of the scoreboard tags on the entity.
DescriptionClears the list of the scoreboard tags on the entity.
Generated Example
- adjust <player> clear_scoreboard_tags
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityScoreboardTags.java#L82

Namecollidable
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_collidable> Returns whether the entity is collidable. (...)
DescriptionSets whether the entity is collidable.
For NPCs, Sets the persistent collidable value.
NOTE: To disable collision between two entities, set this mechanism to false on both entities.
NOTE: For players, to fully remove collision you need to use Command:team and set "option:collision_rule status:never"
Generated Example
- adjust <player> collidable:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3392

Namecolor
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.color> If the entity can have a color, returns the entity's color. (...)
<EntityTag.colorable> Returns whether the entity can be colored. (...)
DescriptionChanges the entity's color.
For the available color options, refer to Language:Entity Color Types.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityColor.java#L258

Nameconversion_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.conversion_duration> Returns the duration of time until an entity completes a conversion. See Tag:EntityTag.is_converting for examples of conversions. (...)
DescriptionSets the duration of time until an entity completes a conversion. See Tag:EntityTag.is_converting for examples of conversions.
When this value hits 0, the conversion completes.
Generated Example
- adjust <player> conversion_duration:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityConversionTime.java#L130

Nameconversion_player
ObjectEntityTag
InputPlayerTag
Related Tags<EntityTag.conversion_player> Returns the player that caused a zombie villager to start converting back to a villager, if any.
DescriptionSets the player that caused a zombie villager to start converting back to a villager.
Give no input to remove the player ID from the zombie-villager.
Generated Example
- adjust <player> conversion_player:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityConversionPlayer.java#L82

Namecritical
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.critical> If the entity is an arrow or trident, returns whether the arrow/trident is critical.
DescriptionChanges whether an arrow/trident is critical.
Generated Example
- adjust <player> critical:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCritical.java#L69

Namecustom_effects
ObjectEntityTag
InputListTag
Related Tags<EntityTag.custom_effects> Returns a ListTag of the Area Effect Cloud's custom effects (...)
DescriptionAdds a list of custom potion effects to the Area Effect Cloud
In the form Type,Amplifier,Duration(,Ambient,Particles)|...
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L418

Namecustom_name
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.custom_name> Returns the entity's custom name (as set by plugin or name tag item), if any.
DescriptionSets the custom name (equivalent to a name tag item) of the entity.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCustomName.java#L69

Namecustom_name_visible
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.custom_name_visible> Returns whether the entity's custom name is visible.
DescriptionSets whether the entity's custom name is visible.
Generated Example
- adjust <player> custom_name_visible:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCustomNameVisible.java#L63

Namedamage
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.damage> Returns the damage that the arrow/trident will inflict. (...)
DescriptionChanges how much damage an arrow/trident will inflict.
Generated Example
- adjust <player> damage:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArrowDamage.java#L70

Namedark_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.dark_duration> Returns the duration remaining before a glow squid starts glowing.
DescriptionSets the duration remaining before a glow squid starts glowing.
Generated Example
- adjust <player> dark_duration:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDarkDuration.java#L69

Namedetonate
ObjectEntityTag
InputNone
DescriptionIf the entity is a firework or a creeper, detonates it.
Generated Example
- adjust <player> detonate
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3709

Namedirection
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.direction> Returns the movement/acceleration direction of a fireball entity, as a LocationTag vector.
DescriptionSets the movement/acceleration direction of a fireball entity, as a LocationTag vector.
Generated Example
- adjust <player> direction:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDirection.java#L69

Namedisabled_slots
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.disabled_slots_data> If the entity is an armor stand, returns its disabled slots as a map of slot names to list of actions.
DescriptionSets the disabled slots of an armor stand as a map of slot names to list of actions.
For example: [HEAD=PLACE|REMOVE;CHEST=PLACE;FEET=ALL]
Provide no input to enable all slots.
Slots: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/EquipmentSlot.html
Actions: ALL, REMOVE, PLACE
NOTE: Minecraft contains a bug where disabling ALL for the HAND slot still allows item removal.
To fully disable hand interaction, disable ALL and REMOVE.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisabledSlots.java#L159

Namedisabled_slots_raw
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.disabled_slots> Deprecated in favor of Tag:EntityTag.disabled_slots_data.
<EntityTag.disabled_slots.raw> Deprecated in favor of Tag:EntityTag.disabled_slots_data.
DescriptionDeprecated in favor of Mechanism:EntityTag.disabled_slots.
Generated Example
- adjust <player> disabled_slots_raw:2
DeprecatedUse 'disabled_slots'
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisabledSlots.java#L143

Namedragon_phase
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.dragon_phase> Returns the phase an EnderDragon is currently in. (...)
DescriptionSets an EnderDragon's combat phase.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3570

Nameduration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.duration> Returns the Area Effect Cloud's duration.
DescriptionSets the Area Effect Cloud's duration.
Generated Example
- adjust <player> duration:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L507

Nameduration_on_use
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.duration.on_use> Returns the duration the Area Effect Cloud (...)
DescriptionSets the duration the Area Effect Cloud
will increase by when it applies an effect to an entity.
Generated Example
- adjust <player> duration_on_use:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L520

Nameender_eye_target_location
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.ender_eye_target_location> Returns a thrown eye of ender's target location - the location it's moving towards, which in vanilla is a stronghold location.
DescriptionSets a thrown eye of ender's target location - the location it's moving towards.
Generated Example
- adjust <player> ender_eye_target_location:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityEyeTargetLocation.java#L65

Nameenderman_angry
ObjectEntityTag
InputElementTag(Boolean)
DescriptionSets whether the enderman entity should be screaming angrily.
Generated Example
- adjust <player> enderman_angry:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3791

Nameequipment
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.equipment> Returns a ListTag containing the entity's equipment. (...)
<EntityTag.equipment_map> Returns a MapTag containing the entity's equipment. (...)
DescriptionSets the entity's worn equipment.
Input keys are boots, leggings, chestplate, and helmet.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityEquipment.java#L117

Nameexperience
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.experience> Returns the experience value of this experience orb entity.
DescriptionSets the experience value of this experience orb entity.
Generated Example
- adjust <player> experience:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3584

Nameexplosion_fire
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.explosion_fire> If this entity is explosive, returns whether its explosion creates fire.
DescriptionIf this entity is explosive, sets whether its explosion creates fire.
Generated Example
- adjust <player> explosion_fire:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityExplosionFire.java#L76

Nameexplosion_radius
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.explosion_radius> If this entity can explode, returns its explosion radius.
DescriptionIf this entity can explode, sets its explosion radius.
Generated Example
- adjust <player> explosion_radius:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityExplosionRadius.java#L81

Namefake_move
ObjectEntityTag
InputLocationTag
DescriptionCauses an entity to broadcast a fake movement packet in the direction of the velocity vector specified.
The vector value must be in the range [-8,8] on each of X, Y, and Z.
Generated Example
- adjust <player> fake_move:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3465

Namefake_pickup
ObjectEntityTag
InputEntityTag
DescriptionMakes it look like this entity (usually a player) has picked up another entity (item, arrow, or XP orb).
This technically also works with any entity type.
Note that the original entity doesn't actually get picked up, it's still there, just invisible now.
Generated Example
- adjust <player> fake_pickup:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4078

Namefake_teleport
ObjectEntityTag
InputLocationTag
DescriptionCauses an entity to broadcast a fake teleport packet to the location specified.
Generated Example
- adjust <player> fake_teleport:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3477

Namefall_distance
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.fall_distance> Returns how far the entity has fallen.
DescriptionSets the fall distance.
Generated Example
- adjust <player> fall_distance:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3047

Namefallingblock_drop_item
ObjectEntityTag
InputElementTag(Boolean)
DescriptionSets whether the falling block will drop an item if broken.
Generated Example
- adjust <player> fallingblock_drop_item:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3060

Namefallingblock_hurt_entities
ObjectEntityTag
InputElementTag(Boolean)
DescriptionSets whether the falling block will hurt entities when it lands.
Generated Example
- adjust <player> fallingblock_hurt_entities:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3072

Namefallingblock_type
ObjectEntityTag
InputMaterialTag
Related Tags<EntityTag.fallingblock_material> Returns the material of a fallingblock-type entity.
DescriptionSets the block type of a falling_block entity (only valid while spawning).
Generated Example
- adjust <player> fallingblock_type:stone
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4050

Namefire_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.fire_time> Returns the duration for which the entity will remain on fire
DescriptionSets the entity's current fire time (time before the entity stops being on fire).
Generated Example
- adjust <player> fire_time:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3084

Namefirework_item
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.firework_item> If the entity is a firework, returns the firework item used to launch it.
DescriptionChanges the firework effect on this entity, using a firework item.
Generated Example
- adjust <player> firework_item:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFirework.java#L83

Namefirework_lifetime
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.firework_lifetime> Returns the duration that a firework will live for (before detonating).
DescriptionSets the duration that a firework will live for (before detonating).
Generated Example
- adjust <player> firework_lifetime:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFireworkLifetime.java#L69

Namefish_hook_apply_lure
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.fish_hook_apply_lure> Returns whether this fish hook should respect the lure enchantment. (...)
DescriptionSets whether this fish hook should respect the lure enchantment.
Every level of lure enchantment reduces lure time by 5 seconds.
Generated Example
- adjust <player> fish_hook_apply_lure:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3893

Namefish_hook_bite_time
ObjectEntityTag
InputDurationTag
DescriptionSets the time until this fish hook is next bit. If this value and also nibble_time are set zero, luring will happen instead.
if this value is set above zero, when it runs out, a bite will occur (and a player can reel to catch it, or fail and have nibble set).
Generated Example
- adjust <player> fish_hook_bite_time:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3844

Namefish_hook_hooked_entity
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.fish_hook_hooked_entity> Returns the entity this fish hook is attached to.
DescriptionSets the entity this fish hook is attached to.
Generated Example
- adjust <player> fish_hook_hooked_entity:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3911

Namefish_hook_lure_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.fish_hook_lure_time> Returns the remaining time before this fish hook will lure a fish.
DescriptionSets the time until this fish hook is next lured. If this value and also bite_time and nibble_time are set zero, the luring value will be reset to a random amount.
if this value is set above zero, when it runs out, particles will spawn and bite_time will be set to a random amount.
Generated Example
- adjust <player> fish_hook_lure_time:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3860

Namefish_hook_max_lure_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.fish_hook_max_lure_time> Returns the maximum possible time before this fish hook will lure a fish.
DescriptionReturns the maximum possible time before this fish hook will lure a fish.
Generated Example
- adjust <player> fish_hook_max_lure_time:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3945

Namefish_hook_min_lure_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.fish_hook_min_lure_time> Returns the minimum possible time before this fish hook can lure a fish.
DescriptionReturns the minimum possible time before this fish hook can lure a fish.
Generated Example
- adjust <player> fish_hook_min_lure_time:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3928

Namefish_hook_nibble_time
ObjectEntityTag
InputDurationTag
DescriptionSets the time until this fish hook is next nibbled. If this value is set zero, biting will be processed instead.
if this value is set above zero, when it runs out, a nibble (failed bite) will occur.
Generated Example
- adjust <player> fish_hook_nibble_time:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3828

Namefish_hook_pull
ObjectEntityTag
InputNone
DescriptionPulls the entity this fish hook is attached to towards the caster.
Generated Example
- adjust <player> fish_hook_pull
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3878

Namefixed
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.fixed> Returns whether the item frame is fixed. (Meaning, it can't be altered by players or broken by block obstructions).
DescriptionSets whether this item frame is fixed. (Meaning, it can't be altered by players or broken by block obstructions).
Generated Example
- adjust <player> fixed:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFixed.java#L76

Nameflag_map
ObjectEntityTag
InputMapTag
DescriptionInternal setter for the EntityTag flag map.
Do not use this in scripts.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFlags.java#L73

Nameflower
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.flower> Returns the location of a bee's flower (if any).
DescriptionChanges the location of a bee's flower.
Give no input to unset the bee's flower.
Generated Example
- adjust <player> flower:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFlower.java#L91

Nameforce_no_persist
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.force_no_persist> Returns 'true' if the entity is forced to not save to file when chunks unload. (...)
DescriptionSet 'true' to indicate the entity should be forced to not save to file when chunks unload.
Set 'false' to not force to not-save. Entities will then either save or not save depending on separate conditions.
This is a custom value added in Bukkit to block saving, which is not the same as Mojang's similar option under Mechanism:EntityTag.persistent.
Generated Example
- adjust <player> force_no_persist:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3359

Nameframed
ObjectEntityTag
InputItemTag(|ElementTag)
Related Tags<EntityTag.has_framed_item> If the entity is an item frame, returns whether the frame has an item in it.
<EntityTag.framed_item> If the entity is an item frame, returns the item currently framed.
<EntityTag.framed_item_rotation> If the entity is an item frame, returns the rotation of the item currently framed.
DescriptionSets the entity's framed item and optionally the rotation as well.
Valid rotations: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Rotation.html
For example: framed:diamond_sword|clockwise
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFramed.java#L131

Namefreeze_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.freeze_duration> Returns the duration an entity has been freezing for (from powdered snow).
DescriptionSets the duration an entity has been freezing for (from powdered snow).
Generated Example
- adjust <player> freeze_duration:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFreezeDuration.java#L73

Namefuse_ticks
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.fuse_ticks> Returns the number of ticks until the explosion of the primed TNT.
DescriptionSets the number of ticks until the TNT blows up after being primed.
Generated Example
- adjust <player> fuse_ticks:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3597

Nameghast_attacking
ObjectEntityTag
InputElementTag(Boolean)
DescriptionSets whether the ghast entity should show the attacking face.
Generated Example
- adjust <player> ghast_attacking:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3780

Namegliding
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.gliding> Returns whether this entity is gliding.
DescriptionSets whether this entity is gliding.
Generated Example
- adjust <player> gliding:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3541

Nameglowing
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.glowing> Returns whether this entity is glowing.
DescriptionSets whether this entity is glowing.
Generated Example
- adjust <player> glowing:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3554

Namegravity
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.gravity> Returns whether the entity has gravity.
DescriptionChanges the gravity state of an entity.
When set false (no gravity), side effects may also occur, eg all movement entirely being blocked.
Generated Example
- adjust <player> gravity:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityGravity.java#L86

Namehas_ai
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.has_ai> Returns whether the entity uses the default Minecraft AI to roam and look around. (...)
DescriptionSets whether this entity will use the default Minecraft AI to roam and look around.
This tends to have implications for other vanilla functionality, including gravity.
Generated Example
- adjust <player> has_ai:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAI.java#L67

Namehas_nectar
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.has_nectar> Returns whether a bee entity has nectar on it.
DescriptionChanges whether a bee entity has nectar on it.
Generated Example
- adjust <player> has_nectar:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHasNectar.java#L85

Namehas_pumpkin_head
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.has_pumpkin_head> If the entity is a snowman, returns whether the snowman has a pumpkin on its head.
DescriptionChanges whether a Snowman entity has a pumpkin on its head.
Generated Example
- adjust <player> has_pumpkin_head:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPumpkinHead.java#L77

Namehas_stung
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.has_stung> Returns whether a bee entity has already used its stinger.
DescriptionChanges whether a bee entity has already used its stinger.
Generated Example
- adjust <player> has_stung:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHasStung.java#L85

Namehead_angle
ObjectEntityTag
InputElementTag(Decimal)
DescriptionSets the raw head angle of a living entity.
This will not rotate the body at all. Most users should prefer Command:look.
Generated Example
- adjust <player> head_angle:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3744

Namehealth
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.health> Returns the current health of the entity.
<EntityTag.health_max> Returns the maximum health of the entity.
DescriptionSets the amount of health the entity has.
The entity must be living.
Generated Example
- adjust <player> health:-1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L228

Namehealth_data
ObjectEntityTag
InputElementTag(Decimal)/ElementTag(Decimal)
Related Tags<EntityTag.health> Returns the current health of the entity.
<EntityTag.health_max> Returns the maximum health of the entity.
DescriptionSets the amount of health the entity has, and the maximum health it has.
The entity must be living.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L206

Namehide_from_players
ObjectEntityTag
InputNone
DescriptionHides the entity from players by default.
See also Mechanism:EntityTag.show_to_players.
To hide for only one player, see Mechanism:PlayerTag.hide_entity.
Works with offline players.
Generated Example
- adjust <player> hide_from_players
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3624

Namehive
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.hive> Returns the location of a bee's hive (if any).
DescriptionChanges the location of a bee's hive.
Give no input to unset the bee's hive.
Generated Example
- adjust <player> hive:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHive.java#L91

Namehorns
ObjectEntityTag
InputListTag
Related Tags<EntityTag.horns> Returns a ListTag of a goat's horns. can include "left" and "right", for the left and right horns.
DescriptionSets a goat's horns. can include "left" and "right", for the left and right horns.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHorns.java#L69

Nameignite
ObjectEntityTag
InputNone
DescriptionIf the entity is a creeper, ignites it.
Generated Example
- adjust <player> ignite
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3728

Nameimmune
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.immune> Returns whether this piglin or hoglin entity is immune to zombification.
DescriptionSets whether this piglin or hoglin entity is immune to zombification.
Generated Example
- adjust <player> immune:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityImmune.java#L98

Namein_water_duration
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.in_water_duration> If the entity is a zombie mob, returns the duration of time the zombie has been in water for. (...)
DescriptionIf the entity is a zombie mob, sets the duration of time the zombie has been in water for.
If this value exceeds 600 ticks, the zombie will begin converted to a Drowned mob.
See also Mechanism:EntityTag.conversion_duration
Generated Example
- adjust <player> in_water_duration:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInWaterTime.java#L67

Nameinteract_with
ObjectEntityTag
InputLocationTag
DescriptionMakes a player-type entity interact with a block.
Generated Example
- adjust <player> interact_with:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3510

Nameinventory_contents
ObjectEntityTag
InputListTag(ItemTag)
Related Tags<EntityTag.inventory> Returns the entity's inventory, if it has one.
<InventoryTag.list_contents> Returns a list of all items in the inventory.
DescriptionClears the entity's inventory and sets it's item list to match the input.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInventory.java#L84

Nameinvulnerable
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.invulnerable> Returns whether the entity is invulnerable (cannot be damaged).
DescriptionSets whether the entity is invulnerable (cannot be damaged).
Generated Example
- adjust <player> invulnerable:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInvulnerable.java#L80

Nameis_aware
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_aware> Returns whether the entity is aware of its surroundings. (...)
DescriptionSets whether the entity is aware of its surroundings.
Unaware entities will not perform any actions on their own, such as pathfinding or attacking.
Similar to Mechanism:EntityTag.has_ai, except allows the entity to be moved by gravity, being pushed or attacked, etc.
Generated Example
- adjust <player> is_aware:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAware.java#L71

Nameis_patrol_leader
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_patrol_leader> If the entity is raider mob (like a pillager), returns whether the entity is a patrol leader.
DescriptionIf the entity is raider mob (like a pillager), changes whether the entity is a patrol leader.
Generated Example
- adjust <player> is_patrol_leader:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPatrolLeader.java#L64

Nameis_showing_bottom
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_showing_bottom> If the entity is an ender crystal, returns whether the ender crystal has its bottom showing.
DescriptionChanges the bottom state of an ender crystal.
Generated Example
- adjust <player> is_showing_bottom:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityIsShowingBottom.java#L82

Nameis_small
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_small> Returns whether the armor stand is small.
DescriptionSets whether the armor stand is small.
Generated Example
- adjust <player> is_small:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySmall.java#L80

Nameis_using_riptide
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_using_riptide> Returns whether this entity is using the Riptide enchantment.
DescriptionSets whether this entity is using the Riptide enchantment.
Generated Example
- adjust <player> is_using_riptide:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityRiptide.java#L75

Nameitem
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.item> If the entity is a dropped item, returns the item represented by the entity. (...)
DescriptionIf the entity is a dropped item, sets the item represented by the entity.
If the entity is a trident, sets the trident item represented by the entity.
If the item is a throwable projectile, sets the display item for that projectile.
If the entity is an eye-of-ender, sets the item to be displayed and dropped by it.
If the entity is a fireball, sets the fireball's display item.
Generated Example
- adjust <player> item:iron_sword
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItem.java#L150

Nameitem_in_hand
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.item_in_hand> Returns the item the entity is holding, or air if none.
DescriptionSets the item in the entity's hand.
The entity must be living.
Generated Example
- adjust <player> item_in_hand:iron_sword
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItemInHand.java#L90

Nameitem_in_offhand
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.item_in_offhand> Returns the item the entity is holding in their off hand, or air if none.
DescriptionSets the item in the entity's offhand.
The entity must be living.
Generated Example
- adjust <player> item_in_offhand:iron_sword
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItemInOffHand.java#L90

Namejump_strength
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.jump_strength> Returns the power of a horse's jump. (...)
DescriptionSets the power of the horse's jump.
Also applies to horse-like mobs, such as donkeys and mules.
Generated Example
- adjust <player> jump_strength:2
Synonyms (Search Aid)entitytag.horse_jump_height
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityJumpStrength.java#L79

Nameknockback
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.knockback> If the entity is an arrow or trident, returns the knockback strength of the arrow/trident.
DescriptionChanges an arrow's/trident's knockback strength.
Generated Example
- adjust <player> knockback:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityKnockback.java#L76

Namelast_hurt_by
ObjectEntityTag
InputEntityTag
DescriptionTells this mob entity that it was last hurt by the specified entity.
Passive mobs will panic and run away when this is set.
Angerable mobs will get angry.
Generated Example
- adjust <player> last_hurt_by:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3815

Nameleash_holder
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.is_leashed> Returns whether the entity is leashed.
<EntityTag.leash_holder> Returns the leash holder of entity.
DescriptionSets the entity holding this entity by leash.
The entity must be living.
Generated Example
- adjust <player> leash_holder:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3097

Nameleft_shoulder
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.left_shoulder> Returns the entity on the entity's left shoulder. (...)
DescriptionSets the entity's left shoulder entity.
Only applies to player-typed entities.
Provide no input to remove the shoulder entity.
NOTE: This mechanism will remove the current shoulder entity from the world.
Also note the client will currently only render parrot entities.
Generated Example
- adjust <player> left_shoulder:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3295

Nameloot_table_id
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.loot_table_id> Returns an element indicating the minecraft key for the loot-table for the entity (if any).
DescriptionSets the loot table of a lootable entity.
This is the namespaced path of the loot table, provided by a datapack or Minecraft's default data.
Example
# Sets the nearest zombie's loot table to a phantom's
- adjust <player.location.find_entities[zombie].within[5].first> loot_table_id:entities/phantom
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4101

Namemarker
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.marker> If the entity is an armor stand, returns whether the armor stand is a marker. (...)
DescriptionChanges the marker state of an armor stand.
Generated Example
- adjust <player> marker:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMarker.java#L83

Namematerial
ObjectEntityTag
InputMaterialTag
Related Tags<EntityTag.material> Returns the block material associated with the entity. (...)
DescriptionSets the block material associated with the entity.
For endermen, sets the material the enderman is holding.
For minecarts, sets the material the minecart is carrying.
Generated Example
- adjust <player> material:iron_sword
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMaterial.java#L110

Namemax_fuse_ticks
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.max_fuse_ticks> Returns the default number of ticks until the creeper explodes when primed (NOT the time remaining if already primed).
DescriptionSets the default number of ticks until the creeper explodes when primed (NOT the time remaining if already primed).
Generated Example
- adjust <player> max_fuse_ticks:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMaxFuseTicks.java#L77

Namemax_health
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.health> Returns the current health of the entity.
<EntityTag.health_max> Returns the maximum health of the entity.
DescriptionSets the maximum health the entity may have.
The entity must be living.
Note to change the current health at the same time as max_health (might be needed when setting max health higher rather than lower),
use Mechanism:EntityTag.health_data.
Generated Example
- adjust <player> max_health:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L176

Namemax_no_damage_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.last_damage.duration> Returns the duration of the last damage taken by the entity.
<EntityTag.last_damage.max_duration> Returns the maximum duration of the last damage taken by the entity.
DescriptionSets the maximum duration in which the entity will take no damage.
Generated Example
- adjust <player> max_no_damage_duration:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3427

Namemelee_attack
ObjectEntityTag
InputEntityTag
DescriptionCauses this hostile-mob entity to immediately melee-attack the specified target entity once.
Works for Hostile Mobs, and Players.
Does not work with passive mobs, non-living entities, etc.
Generated Example
- adjust <player> melee_attack:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3802

Namemirror_player
ObjectEntityTag
InputElementTag(Boolean)
DescriptionMakes the player-like entity have the same skin as the player looking at it.
For NPCs, this will add the Mirror trait.
Generated Example
- adjust <player> mirror_player:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3664

Namemove
ObjectEntityTag
InputLocationTag
DescriptionForces an entity to move in the direction of the velocity vector specified.
Generated Example
- adjust <player> move:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3454

Nameno_damage_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.last_damage.duration> Returns the duration of the last damage taken by the entity.
<EntityTag.last_damage.max_duration> Returns the maximum duration of the last damage taken by the entity.
DescriptionSets the duration in which the entity will take no damage.
Generated Example
- adjust <player> no_damage_duration:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3413

Nameowner
ObjectEntityTag
InputPlayerTag
Related Tags<EntityTag.is_tamed> Returns whether the entity has been tamed.
<EntityTag.tameable> Returns whether the entity is tameable. (...)
<EntityTag.owner> Returns the owner of a tamed entity.
DescriptionSets the entity's owner. Use with no input to make it not have an owner.
Also available: Mechanism:EntityTag.tame
Generated Example
- adjust <player> owner:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTame.java#L141

Nameoxygen
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.oxygen> Returns the duration of oxygen the entity has left. (...)
<EntityTag.max_oxygen> Returns the maximum duration of oxygen the entity can have. (...)
DescriptionSets how much air the entity has remaining before it drowns.
The entity must be living.
Generated Example
- adjust <player> oxygen:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3215

Namepainting
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.painting> If the entity is a painting, returns what art it shows. (...)
<server.art_types> Returns a list of all known art types. (...)
DescriptionChanges the art shown by a painting. Valid a types: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Art.html.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPainting.java#L105

Nameparticle
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.particle> Returns the Area Effect Cloud's particle.
DescriptionSets the particle of the Area Effect Cloud
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L534

Nameparticle_color
ObjectEntityTag
InputColorTag
Related Tags<EntityTag.particle.color> Returns the Area Effect Cloud's particle color.
DescriptionSets the Area Effect Cloud's particle color.
Generated Example
- adjust <player> particle_color:red
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L456

Namepassenger
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.passenger> Returns the entity's passenger, if any.
<EntityTag.is_empty> Returns whether the entity does not have a passenger.
DescriptionSets the passenger of this entity.
Generated Example
- adjust <player> passenger:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3165

Namepassengers
ObjectEntityTag
InputListTag(EntityTag)
Related Tags<EntityTag.passengers> Returns a list of the entity's passengers, if any.
<EntityTag.is_empty> Returns whether the entity does not have a passenger.
DescriptionSets the passengers of this entity.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3140

Namepatrol_target
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.patrol_target> If the entity is raider mob (like a pillager), returns whether the entity is allowed to join active raids.
DescriptionIf the entity is raider mob (like a pillager), changes whether the entity is allowed to join active raids.
Generated Example
- adjust <player> patrol_target:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPatrolTarget.java#L73

Namepersistent
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_persistent> Returns whether the mob-entity will not be removed completely when far away from players. (...)
DescriptionSets whether the mob-entity will not be removed completely when far away from players.
This is Bukkit's "setRemoveWhenFarAway" which is Mojang's "isPersistenceRequired".
In many cases, Mechanism:EntityTag.force_no_persist may be preferred.
The entity must be a mob-type entity.
Generated Example
- adjust <player> persistent:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3343

Namepickup_delay
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.pickup_delay> Returns how long before the item-type entity can be picked up by a player.
DescriptionSets the pickup delay of this Item Entity.
Generated Example
- adjust <player> pickup_delay:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3527

Namepickup_status
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.pickup_status> If the entity is an arrow or trident, returns the pickup status of the arrow/trident.
DescriptionChanges the pickup status of an arrow/trident.
Available pickup statuses can be found here: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/AbstractArrow.PickupStatus.html
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPickupStatus.java#L74

Nameplayer_created
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.player_created> Returns whether this Iron_Golem was created by a player.
DescriptionSets whether this Iron_Golem was created by a player.
Generated Example
- adjust <player> player_created:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPlayerCreated.java#L81

Nameplaying_dead
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.playing_dead> If the entity is an axolotl, returns whether the entity is playing dead.
DescriptionIf the entity is an axolotl, sets whether the entity is playing dead.
This won't be successful unless the entity is unaware of its surroundings. See Mechanism:EntityTag.is_aware.
Generated Example
- adjust <player> playing_dead:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPlayingDead.java#L66

Namepolar_bear_standing
ObjectEntityTag
InputElementTag(Boolean)
DescriptionSets whether the polar bear entity should stand up.
Generated Example
- adjust <player> polar_bear_standing:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3768

Namepotion
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.potion> If the entity is a Tipped Arrow, returns an ItemTag of a potion with the base potion data of the arrow. (...)
DescriptionInput must be a potion item!
If the entity is a Tipped Arrow, sets the arrow's base potion data based on the item input.
If the entity is a splash Potion, sets the splash potion's full potion data from the item input.
Generated Example
- adjust <player> potion:<player.item_in_hand>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotion.java#L105

Namepotion_effects
ObjectEntityTag
InputListTag
Related Tags<EntityTag.effects_data> Returns the active potion effects on the entity, in the MapTag format of the mechanism.
<EntityTag.list_effects> Deprecated in favor of Tag:EntityTag.effects_data
<EntityTag.has_effect[<effect>]> Returns whether the entity has a specified effect. (...)
DescriptionSet the entity's active potion effects.
Each item in the list must be a MapTag with keys:
"type" - from 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
"amplifier" - number to increase the level by (0 for default level 1)
"duration" - DurationTag, how long it lasts
"ambient", "particles", "icon" - booleans

For example: [type=SPEED;amplifier=0;duration=120t;ambient=false;particles=true;icon=true]
This example would be a level 1 swiftness potion that lasts 120 ticks.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotionEffects.java#L155

Namepowered
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.powered> If the entity is a creeper, returns whether the creeper is powered.
DescriptionChanges the powered state of a Creeper.
Generated Example
- adjust <player> powered:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPowered.java#L94

Nameprofession
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.profession> If the entity can have professions, returns the entity's profession. (...)
DescriptionChanges the entity's profession.
Currently, only Villager-type entities can have professions.
For the list of possible professions, refer to 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Villager.Profession.html
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityProfession.java#L101

Nameradius
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.radius> Returns the Area Effect Cloud's radius.
DescriptionSets the radius of the Area Effect Cloud
Generated Example
- adjust <player> radius:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L547

Nameradius_on_use
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.radius.on_use> Returns the amount the Area Effect Cloud's radius (...)
DescriptionSets the radius the Area Effect Cloud
will increase by when it applies an effect to an entity.
Generated Example
- adjust <player> radius_on_use:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L560

Nameradius_per_tick
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.radius.per_tick> Returns the amount the Area Effect Cloud's radius (...)
DescriptionSets the radius the Area Effect Cloud
will increase by every tick.
Generated Example
- adjust <player> radius_per_tick:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L574

Namereapplication_delay
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.reapplication_delay> Returns the duration an entity will be immune (...)
DescriptionSets the duration an entity will be immune
from the Area Effect Cloud's subsequent exposure.
Generated Example
- adjust <player> reapplication_delay:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L588

Nameredo_attack_cooldown
ObjectEntityTag
InputNone
Related Tags<EntityTag.attack_cooldown_duration> Returns the amount of time that passed since the start of the attack cooldown.
<EntityTag.attack_cooldown_max_duration> Returns the maximum amount of time that can pass before the player's main hand has returned (...)
<EntityTag.attack_cooldown_percent> Returns the progress of the attack cooldown. 0 means that the attack cooldown has just (...)
DescriptionForces the player to wait for the full attack cooldown duration for the item in their hand.
NOTE: The clientside attack cooldown indicator will not reflect this change!
Generated Example
- adjust <player> redo_attack_cooldown
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3961

Namerelease_left_shoulder
ObjectEntityTag
InputNone
Related Tags<EntityTag.left_shoulder> Returns the entity on the entity's left shoulder. (...)
DescriptionReleases the player's left shoulder entity.
Only applies to player-typed entities.
Generated Example
- adjust <player> release_left_shoulder
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3251

Namerelease_right_shoulder
ObjectEntityTag
InputNone
Related Tags<EntityTag.right_shoulder> Returns the entity on the entity's right shoulder. (...)
DescriptionReleases the player's right shoulder entity.
Only applies to player-typed entities.
Generated Example
- adjust <player> release_right_shoulder
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3273

Nameremove_attribute_modifiers
ObjectEntityTag
InputListTag
Related Tags<EntityTag.has_attribute> Returns whether the entity has the named attribute. (...)
<EntityTag.attribute_modifiers> Returns a map of all attribute modifiers on the entity, with key as the attribute name and value as a list of modifiers, (...)
<EntityTag.attribute_default_value> Returns the default value of the named attribute for the entity. (...)
<EntityTag.attribute_base_value> Returns the base value of the named attribute for the entity. (...)
<EntityTag.attribute_value> Returns the final calculated value of the named attribute for the entity. (...)
DescriptionRemoves attribute modifiers from an entity. Specify a list of attribute names or modifier UUIDs as input.
See also Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeModifiers.java#L317

Nameremove_custom_effect
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.custom_effects> Returns a ListTag of the Area Effect Cloud's custom effects (...)
DescriptionRemoves the specified custom effect from the Area Effect Cloud
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L402

Nameremove_effects
ObjectEntityTag
InputNone
Related Tags<EntityTag.has_effect[<effect>]> Returns whether the entity has a specified effect. (...)
DescriptionRemoves all potion effects from the entity.
The entity must be living.
Generated Example
- adjust <player> remove_effects
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3235

Namereset_attack_cooldown
ObjectEntityTag
InputNone
Related Tags<EntityTag.attack_cooldown_duration> Returns the amount of time that passed since the start of the attack cooldown.
<EntityTag.attack_cooldown_max_duration> Returns the maximum amount of time that can pass before the player's main hand has returned (...)
<EntityTag.attack_cooldown_percent> Returns the progress of the attack cooldown. 0 means that the attack cooldown has just (...)
DescriptionEnds the player's attack cooldown.
NOTE: This will do nothing if the player's attack speed attribute is set to 0.
NOTE: The clientside attack cooldown indicator will not reflect this change!
Generated Example
- adjust <player> reset_attack_cooldown
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3981

Namereset_client_location
ObjectEntityTag
InputNone
DescriptionCauses an entity to broadcast a fake teleport packet to its own location, forcibly resetting its location for all players that can see it.
Generated Example
- adjust <player> reset_client_location
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3488

Nameright_shoulder
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.right_shoulder> Returns the entity on the entity's right shoulder. (...)
DescriptionSets the entity's right shoulder entity.
Only applies to player-typed entities.
Provide no input to remove the shoulder entity.
NOTE: This mechanism will remove the current shoulder entity from the world.
Also note the client will currently only render parrot entities.
Generated Example
- adjust <player> right_shoulder:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3319

Namerotation
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.rotation> If the entity can have a rotation, returns the entity's rotation. (...)
<EntityTag.rotation_vector> If the entity can have a rotation, returns the entity's rotation as a direction vector. (...)
DescriptionChanges the entity's rotation.
Currently, only Hanging-type entities can have rotations.
Value must be from 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/BlockFace.html.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityRotation.java#L106

Namescoreboard_tags
ObjectEntityTag
InputListTag
Related Tags<EntityTag.scoreboard_tags> Returns a list of the scoreboard tags on the entity.
DescriptionAdds the list of the scoreboard tags to the entity.
To clear existing scoreboard tags, use Mechanism:EntityTag.clear_scoreboard_tags.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityScoreboardTags.java#L97

Namesend_update_packets
ObjectEntityTag
InputNone
DescriptionCauses an entity to broadcast any pending entity update packets to all players that can see it.
Generated Example
- adjust <player> send_update_packets
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3499

Namesheared
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_sheared> Returns whether a sheep is sheared.
DescriptionSets whether the sheep is sheared.
Generated Example
- adjust <player> sheared:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3379

Nameshivering
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.shivering> Returns whether the strider is shivering.
DescriptionSets whether the strider is shivering.
Generated Example
- adjust <player> shivering:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShivering.java#L70

Nameshooter
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.shooter> Returns the projectile's shooter or TNT's priming source, if any.
DescriptionSets the projectile's shooter or TNT's priming source.
Generated Example
- adjust <player> shooter:<npc>
Synonyms (Search Aid)entitytag.arrow_firer, entitytag.fishhook_shooter, entitytag.snowball_thrower
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3019

Nameshot_at_angle
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.shot_at_angle> Returns true if the Firework entity is 'shot at angle', meaning it should render facing the direction it's moving. If false, will be angled straight up.
DescriptionSet to true if the Firework entity should be 'shot at angle', meaning it should render facing the direction it's moving. If false, will be angled straight up.
Generated Example
- adjust <player> shot_at_angle:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShotAtAngle.java#L68

Nameshow_to_players
ObjectEntityTag
InputNone
DescriptionMarks the entity as visible to players by default (if it was hidden).
See also Mechanism:EntityTag.hide_from_players.
To show to only one player, see Mechanism:PlayerTag.show_entity.
Works with offline players.
Generated Example
- adjust <player> show_to_players
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3610

Nameshulker_peek
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.shulker_peek> Returns the peek value of a shulker box (where 0 is fully closed, 100 is fully open).
DescriptionSets the peek value of a shulker box (where 0 is fully closed, 100 is fully open).
Generated Example
- adjust <player> shulker_peek:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShulkerPeek.java#L80

Namesilent
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.silent> Returns whether the entity is silent. (Plays no sounds)
DescriptionSets whether this entity is silent. (Plays no sounds)
Generated Example
- adjust <player> silent:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySilent.java#L75

Namesitting
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.sitting> If the entity is a wolf, cat, or parrot, returns whether the animal is sitting.
DescriptionChanges the sitting state of a wolf, cat, or parrot.
Generated Example
- adjust <player> sitting:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySitting.java#L80

Namesize
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.size> Returns the size of a slime-type entity or a Phantom (1-120). (...)
DescriptionSets the size of a slime-type entity or a Phantom (1-120).
If the entity is a PufferFish it sets the puff state (0-3).
Generated Example
- adjust <player> size:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySize.java#L74

Nameskeleton_arms_raised
ObjectEntityTag
InputElementTag(Boolean)
DescriptionSets whether the skeleton entity should raise its arms.
Generated Example
- adjust <player> skeleton_arms_raised:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3756

Nameskin_layers
ObjectEntityTag
InputListTag
Related Tags<EntityTag.skin_layers> Returns the skin layers currently visible on a player-type entity. (...)
DescriptionSets the visible skin layers on a player-type entity (PlayerTag or player-type NPCTag).
Input is a list of values from the set of:
CAPE, HAT, JACKET, LEFT_PANTS, LEFT_SLEEVE, RIGHT_PANTS, RIGHT_SLEEVE, or "ALL"
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3638

Namesource
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.source> Returns the source of the Area Effect Cloud.
DescriptionSets the source of the Area Effect Cloud
Generated Example
- adjust <player> source:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L602

Namespeed
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.speed> Returns how fast the entity can move. (...)
DescriptionSets how fast the entity can move.
Compatible with minecarts, boats, and living entities.
Generated Example
- adjust <player> speed:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySpeed.java#L99

Namespell
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.spell> Returns the spell the entity is currently casting. (...)
DescriptionSets the spell the entity should cast. Valid spells are: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Spellcaster.Spell.html
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySpell.java#L77

Namestrength
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.strength> Returns the strength of a Llama. A llama's inventory contains (strength times three) slots. (...)
DescriptionSets the strength of a Llama. A llama's inventory contains (strength times three) slots.
Can be from 1 to 5 (inclusive).
Generated Example
- adjust <player> strength:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityStrength.java#L69

Nameswimming
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.swimming> Returns whether this entity is swimming.
DescriptionSets whether the entity is swimming.
Generated Example
- adjust <player> swimming:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3696

Nametame
ObjectEntityTag
InputElementTag(Boolean)(|PlayerTag)
Related Tags<EntityTag.is_tamed> Returns whether the entity has been tamed.
<EntityTag.tameable> Returns whether the entity is tameable. (...)
DescriptionSets whether the entity has been tamed.
Also available: Mechanism:EntityTag.owner
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTame.java#L113

Nametime_lived
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.time_lived> Returns how long the entity has lived.
DescriptionSets the amount of time this entity has lived for.
For entities that automatically despawn such as dropped_items or falling_blocks, it can be useful to set this value to "-2147483648t" (the minimum valid number of ticks) to cause it to persist indefinitely.
For falling_block usage, see also Mechanism:EntityTag.auto_expire
Generated Example
- adjust <player> time_lived:12h
Synonyms (Search Aid)entitytag.age_nbt, entitytag.time_nbt
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3186

Nametracking_range
ObjectEntityTag
InputElementTag(Number)
DescriptionSets the range (in blocks) that an entity can be seen at. This is equivalent to the "entity-tracking-range" value in "Spigot.yml".
Generated Example
- adjust <player> tracking_range:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4067

Nametrades
ObjectEntityTag
InputListTag(TradeTag)
Related Tags<EntityTag.trades> Returns a list of the Villager's trade recipes.
DescriptionSets the trades that the entity will offer.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTrades.java#L80

Namevelocity
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.velocity> Returns the movement velocity of the entity. (...)
DescriptionSets the entity's movement velocity vector.
Generated Example
- adjust <player> velocity:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3441

Namevillager_experience
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.villager_experience> Returns the experience amount of a villager.
DescriptionSets the experience amount of a villager.
Generated Example
- adjust <player> villager_experience:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVillagerExperience.java#L77

Namevillager_level
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.villager_level> Returns the level of a villager.
DescriptionSets the level of a villager.
Generated Example
- adjust <player> villager_level:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVillagerLevel.java#L77

Namevisible
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.visible> Returns whether the entity is visible. (...)
DescriptionSets whether the entity is visible.
Supports armor stands, item frames, and living entities.
Generated Example
- adjust <player> visible:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVisible.java#L73

Namewait_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.wait_time> Returns the duration an entity must be exposed to (...)
DescriptionSets the duration an entity must be exposed to
the Area Effect Cloud before its effect is applied.
Generated Example
- adjust <player> wait_time:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L615

Namearms_raised
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.arms_raised> Deprecated in favor of Tag:EntityTag.aggressive.
DescriptionDeprecated in favor of Mechanism:EntityTag.aggressive.
Generated Example
- adjust <player> arms_raised:false
RequiresPaper
Deprecateduse 'aggressive'
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityArmsRaised.java#L62

Nameauto_expire
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.auto_expire> Returns whether a falling_block will auto-expire (after 30 seconds, or 5 when outside the world). (...)
DescriptionSets whether a falling_block will auto-expire (after 30 seconds, or 5 when outside the world).
See also Mechanism:EntityTag.time_lived
Generated Example
- adjust <player> auto_expire:false
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityAutoExpire.java#L76

Namecan_tick
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.can_tick> If the entity is an armor stand, returns whether the armor stand can tick.
DescriptionChanges whether an armor stand can tick.
Generated Example
- adjust <player> can_tick:false
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityCanTick.java#L64

Namecarrying_egg
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.carrying_egg> If the entity is a turtle, returns whether it is carrying an egg. A turtle that is carrying an egg isn't visually different, but can't breed and will eventually lay the egg.
DescriptionIf the entity is a turtle, sets whether it is carrying an egg.
Generated Example
- adjust <player> carrying_egg:false
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityCarryingEgg.java#L66

Namedrinking_potion
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.drinking_potion> Returns the potion item a witch is drinking, or air if none.
DescriptionSets the potion item a witch is drinking.
Generated Example
- adjust <player> drinking_potion:iron_sword
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityDrinkingPotion.java#L86

Namegoat_ram
ObjectEntityTag
InputEntityTag
DescriptionCauses a goat to ram the specified entity.
Generated Example
- adjust <player> goat_ram:<player>
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperEntityProperties.java#L164

Nameinvulnerable_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.invulnerable_duration> Returns the duration remaining until the wither becomes vulnerable.
DescriptionSets the duration remaining until the wither becomes vulnerable.
Generated Example
- adjust <player> invulnerable_duration:1m
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityWitherInvulnerable.java#L74

Namepotion_drink_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.potion_drink_duration> Returns the duration remaining until a witch is done drinking a potion.
DescriptionSets the duration remaining until a witch is done drinking a potion.
Generated Example
- adjust <player> potion_drink_duration:1s
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityDrinkingPotion.java#L105

Namereputation
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.reputation> Returns a villager's reputations as a map of player UUIDs to reputation maps. (...)
DescriptionSets a villager's reputations as a map of player UUIDs to reputation maps.
Reputation maps are maps of reputation types to integer values, a full list of all valid reputation types can be found at 🔗https://jd.papermc.io/paper/1.19/com/destroystokyo/paper/entity/villager/ReputationType.html.
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityReputation.java#L65



Category: FlaggableObject Mechanisms


Nameclean_flags
ObjectFlaggableObject
InputNone
DescriptionCleans any expired flags from the object.
Generally doesn't need to be called, using the 'skip flag cleanings' setting was enabled.
This is an internal/special case mechanism, and should be avoided where possible.
Does not function on all flaggable objects, particularly those that just store their flags into other objects.
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/flags/AbstractFlagTracker.java#L124



Category: InventoryTag Mechanisms


Nameanvil_max_repair_cost
ObjectInventoryTag
InputElementTag(Number)
Related Tags<InventoryTag.anvil_max_repair_cost> Returns the maximum repair cost on an anvil.
DescriptionSets the maximum repair cost of an anvil.
Generated Example
- adjust <player.inventory> anvil_max_repair_cost:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2463

Nameanvil_repair_cost
ObjectInventoryTag
InputElementTag(Number)
Related Tags<InventoryTag.anvil_repair_cost> Returns the current repair cost on an anvil.
DescriptionSets the current repair cost of an anvil.
Generated Example
- adjust <player.inventory> anvil_repair_cost:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2480

Namecontents
ObjectInventoryTag
InputListTag(ItemTag)
Related Tags<InventoryTag.list_contents> Returns a list of all items in the inventory.
<InventoryTag.list_contents.simple> Returns a list of all items in the inventory, without item properties.
<InventoryTag.list_contents.with_lore[<lore>]> Returns a list of all items in the inventory with the specified (...)
<InventoryTag.list_contents.with_lore[<lore>].simple> Returns a list of all items in the inventory with the specified (...)
DescriptionSets the contents of the inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L199

Namefuel
ObjectInventoryTag
InputItemTag
Related Tags<InventoryTag.fuel> Returns the item currently in the fuel section of a furnace or brewing stand inventory.
DescriptionSets the item in the fuel slot of this furnace or brewing stand inventory.
Generated Example
- adjust <player.inventory> fuel:<player.item_in_hand>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2421

Nameinput
ObjectInventoryTag
InputItemTag
Related Tags<InventoryTag.input> Returns the item currently in the smelting slot of a furnace inventory, or the ingredient slot of a brewing stand inventory.
DescriptionSets the item in the smelting slot of a furnace inventory, or ingredient slot of a brewing stand inventory.
Generated Example
- adjust <player.inventory> input:iron_sword
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2442

Namematrix
ObjectInventoryTag
InputListTag(ItemTag)
Related Tags<InventoryTag.matrix> Returns the items currently in a crafting inventory's matrix.
DescriptionSets the items in the matrix slots of this crafting inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2373

Namereformat
ObjectInventoryTag
InputElementTag
DescriptionReformats the contents of an inventory to ensure any items within will be stackable with new Denizen-produced items.
This is a simple handy cleanup tool that may sometimes be useful with Denizen updates.
This essentially just parses the item to Denizen text, back to an item, and replaces the slot.
Input can be "scripts" to only change items spawned by item scripts, or "all" to change ALL items.
Most users are recommended to only use "scripts".
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2497

Nameresult
ObjectInventoryTag
InputItemTag
Related Tags<InventoryTag.result> Returns the item currently in the result section of a crafting inventory or furnace inventory.
DescriptionSets the item in the result slot of this crafting inventory or furnace inventory.
Generated Example
- adjust <player.inventory> result:<player.item_in_hand>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2397

Namesize
ObjectInventoryTag
InputElementTag(Number)
Related Tags<InventoryTag.size> Return the number of slots in the inventory.
DescriptionSets the size of the inventory. (Only works for "generic" chest inventories.)
Generated Example
- adjust <player.inventory> size:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventorySize.java#L79

Nametitle
ObjectInventoryTag
InputElementTag
Related Tags<InventoryTag.title> Returns the title of the inventory.
DescriptionSets the title of the inventory. (Only works for "generic" inventories.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryTitle.java#L84

Nametrades
ObjectInventoryTag
InputListTag(TradeTag)
Related Tags<InventoryTag.trades> Return the list of recipes from a merchant inventory.
DescriptionSets the trade recipe list for a merchant inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryTrades.java#L77



Category: ItemTag Mechanisms


Nameadd_attribute_modifiers
ObjectItemTag
InputMapTag
Related Tags<ItemTag.attribute_modifiers> Returns a map of all attribute modifiers on the item, with key as the attribute name and value as a list of modifiers, (...)
DescriptionAdds attribute modifiers to an item without altering existing modifiers.
For input format details, refer to Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemAttributeModifiers.java#L161

Nameadd_charged_projectile
ObjectItemTag
InputItemTag
Related Tags<ItemTag.charged_projectiles> Returns a list of charged projectile items on this crossbow.
<ItemTag.is_charged> Returns whether this crossbow is charged.
DescriptionAdds a new charged projectile item on this crossbow. Charged projectiles may only be arrows and fireworks.
Generated Example
- adjust <player.item_in_hand> add_charged_projectile:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemChargedProjectile.java#L130

Namearmor_pose
ObjectItemTag
InputMapTag
Related Tags<ItemTag.armor_pose> Returns the pose of this armor stand item, if any. (...)
DescriptionSets the pose of this armor stand item.
Allowed keys: head, body, left_arm, right_arm, left_leg, right_leg
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemArmorPose.java#L133

Nameattribute_modifiers
ObjectItemTag
InputMapTag
Related Tags<ItemTag.attribute_modifiers> Returns a map of all attribute modifiers on the item, with key as the attribute name and value as a list of modifiers, (...)
DescriptionSets the attribute modifiers of an item.
This is a SET operation, meaning pre-existing modifiers are removed.
For input format details, refer to Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemAttributeModifiers.java#L136

Namebase_color
ObjectItemTag
InputElementTag
Related Tags<ItemTag.base_color> Gets the base color of a shield. (...)
DescriptionChanges the base color of a shield.
For the list of possible colors, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html.
Give no input with a shield to remove the base color (and any patterns).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBaseColor.java#L131

Nameblock_material
ObjectItemTag
InputMaterialTag
Related Tags<ItemTag.block_material> Returns the material for an item with complex-block-data attached.
DescriptionAttaches complex-block-data from a material to an item.
Generated Example
- adjust <player.item_in_hand> block_material:dirt
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBlockMaterial.java#L84

Namebook
ObjectItemTag
InputMapTag
Related Tags<ItemTag.is_book> Returns whether the item is considered an editable book. (...)
<ItemTag.book_title> Returns the title of the book.
<ItemTag.book_author> Returns the author of the book.
<ItemTag.book_pages> Returns the plain-text pages of the book as a ListTag.
DescriptionChanges the information on a book item.
Can have keys "pages" (a ListTag), "title", and "author", all optional.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L221

Namebook_author
ObjectItemTag
InputElementTag
Related Tags<ItemTag.book_author> Returns the author of the book.
DescriptionChanges the author of a book item.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L183

Namebook_generation
ObjectItemTag
InputListTag
Related Tags<ItemTag.book_generation> Returns the generation of the book (if any), as ORIGINAL, COPY_OF_ORIGINAL, COPY_OF_COPY, or TATTERED.
DescriptionSets the generation of the book (if any), as ORIGINAL, COPY_OF_ORIGINAL, COPY_OF_COPY, or TATTERED.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBookGeneration.java#L84

Namebook_pages
ObjectItemTag
InputListTag
Related Tags<ItemTag.book_pages> Returns the plain-text pages of the book as a ListTag.
DescriptionChanges the plain-text pages of a book item.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L164

Namebook_title
ObjectItemTag
InputElementTag
Related Tags<ItemTag.book_title> Returns the title of the book.
DescriptionChanges the title of a book item.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L202

Namecan_destroy
ObjectItemTag
InputListTag(MaterialTag)
Related Tags<ItemTag.can_destroy> Returns a list of materials this item can destroy while in adventure mode, if any.
DescriptionSets the materials this item can destroy while in adventure mode.
Leave empty to remove this property.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCanDestroy.java#L98

Namecan_place_on
ObjectItemTag
InputListTag(MaterialTag)
Related Tags<ItemTag.can_place_on> Returns a list of materials this item can be placed on while in adventure mode, if any.
DescriptionSets the materials this item can be placed on while in adventure mode.
Leave empty to remove this property.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCanPlaceOn.java#L98

Namecharged_projectiles
ObjectItemTag
InputListTag(ItemTag)
Related Tags<ItemTag.charged_projectiles> Returns a list of charged projectile items on this crossbow.
<ItemTag.is_charged> Returns whether this crossbow is charged.
DescriptionSets the charged projectile items on this crossbow. Charged projectiles may only be arrows and fireworks.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemChargedProjectile.java#L106

Namecolor
ObjectItemTag
InputColorTag
Related Tags<ItemTag.color> Returns the color of the leather armor item or potion item.
DescriptionSets the leather armor item's dye color or the potion item's color.
Generated Example
- adjust <player.item_in_hand> color:green
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemColor.java#L110

Namecustom_model_data
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.has_custom_model_data> Returns whether the item has a custom model data ID number set on it. (...)
<ItemTag.custom_model_data> Returns the custom model data ID number of the item. (...)
DescriptionChanges the custom model data ID number of the item.
Use with no input to remove the custom model data.
Generated Example
- adjust <player.item_in_hand> custom_model_data:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCustomModel.java#L99

Namedisplay
ObjectItemTag
InputElementTag
Related Tags<ItemTag.display> Returns the display name of the item, as set by plugin or an anvil.
DescriptionChanges the item's display name.
Give no input to remove the item's display name.
Synonyms (Search Aid)itemtag.display_name
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemDisplayname.java#L106

Namedurability
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.durability> Returns the current durability (number of uses) on the item.
<ItemTag.max_durability> Returns the maximum durability (number of uses) of this item. (...)
<ItemTag.repairable> Returns whether the item can be repaired. (...)
DescriptionChanges the durability of damageable items.
Generated Example
- adjust <player.item_in_hand> durability:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemDurability.java#L96

Nameenchantments
ObjectItemTag
InputMapTag
Related Tags<ItemTag.enchantment_map> Returns a map of enchantments on the item. (...)
DescriptionSets the item's enchantments as a map of EnchantmentTags or enchantment names to level.
For example: - inventory adjust slot:hand enchantments:sharpness=1
Does not remove existing enchantments, for that use Mechanism:ItemTag.remove_enchantments
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemEnchantments.java#L239

Namefirework
ObjectItemTag
InputListTag
Related Tags<ItemTag.firework> Returns the firework's property value as a list, matching the non-MapTag format of the mechanism. (...)
<ItemTag.firework_data> Returns the firework's property value as a ListTag of MapTags, matching the MapTag format of the mechanism.
DescriptionSets the firework's settings.
Each item in the list can be any of the following:
1: Comma-separated effect data in the format: TRAIL,FLICKER,TYPE,RED,GREEN,BLUE,RED,GREEN,BLUE
For example: true,false,BALL,255,0,0,0,255,0 would create a trailing ball firework that fades from red to green.
2: A MapTag, with "type", "color", "fade_color", "trail", and "flicker" keys.
For example: [type=ball;color=red;fade_color=green;trail=true;flicker=false]
3: A single number, to set the power.
Types: ball, ball_large, star, burst, or creeper
"color" and "fade_color" may be a list of colors.
Note that this is an add operation, provide no input to clear all effects.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFirework.java#L193

Namefirework_power
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.firework_power> Returns the firework's power. (...)
DescriptionSets the power of a firework.
Generated Example
- adjust <player.item_in_hand> firework_power:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFirework.java#L173

Nameflag
ObjectItemTag
InputObjectTag
Related Tags<FlaggableObject.flag[<flag_name>]> Returns the specified flag from the flaggable object. (...)
<FlaggableObject.has_flag[<flag_name>]> Returns true if the flaggable object has the specified flag, otherwise returns false. (...)
<FlaggableObject.flag_expiration[<flag_name>]> Returns a TimeTag indicating when the specified flag will expire. (...)
<FlaggableObject.list_flags> Returns a list of the flaggable object's flags. (...)
DescriptionModifies a flag on this item, using syntax similar to Command:flag.
For example, 'flag:myflagname:!' will remove flag 'myflagname', or 'flag:myflagname:3' sets flag 'myflagname' to value '3'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFlags.java#L119

Nameflag_map
ObjectItemTag
InputMapTag
DescriptionInternal-usage direct re-setter for the item's full raw flag data.
DeprecatedInternal-usage only.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFlags.java#L107

Namefull_render
ObjectItemTag
InputElementTag
Related Tags<ItemTag.map> Returns the ID number of the map item's map.
<ItemTag.map_scale> Returns the scale of the map, from 0 (smallest) to 4 (largest).
DescriptionFully renders all or part of a map item's view of the world.
Be warned that this can run very slowly on large maps.
Input can be nothing to render the full map, or a comma separated set of integers to render part of the map, in format x1,z1,x2,z2.
Input numbers are pixel indices within the map image - so, any integer from 0 to 128.
The input for a full map render would be 0,0,128,128.

Example usage to render sections slowly (to reduce server impact):

- repeat 16 as:x:
    - adjust <item[map[map=4]]> full_render:<[x].sub[1].mul[8]>,0,<[x].mul[8]>,128
    - wait 2t
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemMap.java#L167

Namehides
ObjectItemTag
InputListTag
Related Tags<ItemTag.hides> Returns a list of item data types to be hidden from view on this item. (...)
DescriptionSets the item's list of data types to hide.
Valid hide types include: ATTRIBUTES, DESTROYS, ENCHANTS, PLACED_ON, ITEM_DATA, UNBREAKABLE, DYE, or ALL.
ITEM_DATA hides potion effects, banner patterns, etc.
Use "ALL" to automatically hide all hideable item data.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemHidden.java#L119

Nameinventory_contents
ObjectItemTag
InputListTag(ItemTag)
Related Tags<ItemTag.inventory_contents> Returns a list of the contents of the inventory of a container item.
DescriptionSets the item's inventory contents.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemInventory.java#L146

Nameinvisible
ObjectItemTag
InputElementTag(Boolean)
Related Tags<ItemTag.invisible> Returns whether an Item_Frame item will be invisible when placed.
DescriptionChanges whether an Item_Frame item will be invisible when placed.
Generated Example
- adjust <player.item_in_hand> invisible:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFrameInvisible.java#L95

Nameknowledge_book_recipes
ObjectItemTag
InputListTag
Related Tags<ItemTag.knowledge_book_recipes> Returns a recipes unlocked by this knowledge book. Recipes are in the Namespace:Key format, for example "minecraft:gold_nugget". (...)
DescriptionSets the item's knowledge book recipe list, in the Namespace:Key format.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemKnowledgeBookRecipes.java#L98

Namelock
ObjectItemTag
InputElementTag
Related Tags<ItemTag.lock> Returns the lock password of this item.
<ItemTag.is_locked> Returns whether this item has a lock password.
<ItemTag.is_lockable> Returns whether the item is lockable. (...)
DescriptionSets the item's lock password.
Locked blocks can only be opened while holding an item with the name of the lock.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLock.java#L102

Namelodestone_location
ObjectItemTag
InputLocationTag
Related Tags<ItemTag.lodestone_location> Returns the lodestone location this compass is pointing at (if any). (...)
DescriptionChanges the lodestone location this compass is pointing at.
See also Mechanism:ItemTag.lodestone_tracked
Give no input to unset.
Generated Example
- adjust <player.item_in_hand> lodestone_location:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLodestoneLocation.java#L96

Namelodestone_tracked
ObjectItemTag
InputElementTag(Boolean)
Related Tags<ItemTag.lodestone_tracked> Returns whether the compass will track a lodestone. If "true", the compass will only work if there's a lodestone at the target location. (...)
DescriptionChanges whether the compass will track a lodestone. If "true", the compass will only work if there's a lodestone at the target location.
See also Mechanism:ItemTag.lodestone_location
Generated Example
- adjust <player.item_in_hand> lodestone_tracked:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLodestoneTracked.java#L80

Namelore
ObjectItemTag
InputListTag
Related Tags<ItemTag.lore> Returns lore as a ListTag.
DescriptionSets the item's lore.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLore.java#L114

Namemap
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.map> Returns the ID number of the map item's map.
<ItemTag.map_scale> Returns the scale of the map, from 0 (smallest) to 4 (largest).
DescriptionChanges what map ID number a map item uses.
Generated Example
- adjust <player.item_in_hand> map:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemMap.java#L153

Namemap_center
ObjectItemTag
InputLocationTag
Related Tags<ItemTag.map_center> Returns the center location on the map's display. (...)
DescriptionSets the map's center location (the location in the middle of the map's display).
Generated Example
- adjust <player.item_in_hand> map_center:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemMap.java#L232

Namemap_locked
ObjectItemTag
InputElementTag(Boolean)
Related Tags<ItemTag.map> Returns the ID number of the map item's map.
<ItemTag.map_locked> Returns whether maps with the same ID as this map are locked.
DescriptionChanges whether the map is currently locked.
Note that this applies globally to all map items with the same ID.
Generated Example
- adjust <player.item_in_hand> map_locked:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemMap.java#L212

Namematerial
ObjectItemTag
InputMaterialTag
Related Tags<ItemTag.material> Returns the MaterialTag that is the basis of the item. (...)
DescriptionChanges the item's material to the given material.
Only copies the base material type, not any advanced block-data material properties.
Note that this may cause some properties of the item to be lost.
Generated Example
- adjust <player.item_in_hand> material:dirt
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L724

Namepatterns
ObjectItemTag
InputListTag
Related Tags<ItemTag.patterns> Lists a banner's patterns in the form "COLOR/PATTERN|COLOR/PATTERN" etc. (...)
<server.pattern_types> Returns a list of all banner patterns known to the server. (...)
DescriptionChanges the patterns of a banner. Input must be in the form
"COLOR/PATTERN|COLOR/PATTERN" etc.
For the list of possible colors, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html.
For the list of possible patterns, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPatterns.java#L146

Namepotion_effects
ObjectItemTag
InputListTag
Related Tags<ItemTag.effects_data> Returns a list of all potion effects on this item, in the same format as the MapTag input to the mechanism. (...)
<server.potion_types> Returns a list of all potion types known to the server. (...)
<server.potion_effect_types> Returns a list of all potion effects known to the server. (...)
DescriptionSets the item's potion effect(s).
This applies to Potion items, Tipped Arrow items, and Suspicious Stews.

For potions or tipped arrows (not suspicious stew), the first item in the list must be a MapTag with keys:
"type" - from 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html
"upgraded" - boolean, true means level 2 and false means level 1 (optional, default false)
"extended" - true means longer, false means shorter (optional, default false)
"color" - ColorTag (optional, default none)

For example: [type=SPEED;upgraded=true;extended=false;color=RED]
This example produces an item labeled as "Potion of Swiftness - Speed II (1:30)"

Each following item in the list are potion effects, which must be a MapTag with keys:
"type" - from 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
"amplifier" - number to increase the level by (0 for default level 1) (optional, default 0)
"duration" - DurationTag, how long it lasts (optional, default 0s)
"ambient", "particles", "icon" - booleans (optional, default true, true, false)

For example: [type=SPEED;amplifier=2;duration=10s;ambient=false;particles=true;icon=true]
This example would be a level 3 swiftness potion that lasts 10 seconds.

A very short full default potion item would be: potion[potion_effects=[type=regen]
A (relatively) short full potion item would be: potion[potion_effects=<list[[type=regen]|[type=speed;duration=10s]]>]
(Note the list constructor to force data format interpretation, as potion formats can be given multiple ways and the system will get confused without a constructor)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L409

Namequantity
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.quantity> Returns the number of items in the ItemTag's itemstack.
<ItemTag.max_stack> Returns the max number of this item possible in a single stack of this type. (...)
DescriptionChanges the number of items in this stack.
Generated Example
- adjust <player.item_in_hand> quantity:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemQuantity.java#L100

Nameraw_nbt
ObjectItemTag
InputMapTag
Related Tags<ItemTag.raw_nbt> Returns a map of all non-default raw NBT on this item. (...)
<ItemTag.all_raw_nbt> Returns a map of all raw NBT on this item, including default values. (...)
DescriptionSets the given map of raw NBT keys onto this item.
Note that the input format must be strictly perfect.
Refer to Language:Raw NBT Encoding for explanation of the input format.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemRawNBT.java#L374

Nameremove_attribute_modifiers
ObjectItemTag
InputListTag
Related Tags<ItemTag.attribute_modifiers> Returns a map of all attribute modifiers on the item, with key as the attribute name and value as a list of modifiers, (...)
DescriptionRemoves attribute modifiers from an item. Specify a list of attribute names or modifier UUIDs as input.
See also Language:attribute modifiers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemAttributeModifiers.java#L183

Nameremove_charged_projectiles
ObjectItemTag
InputNone
Related Tags<ItemTag.charged_projectiles> Returns a list of charged projectile items on this crossbow.
<ItemTag.is_charged> Returns whether this crossbow is charged.
DescriptionRemoves all charged projectiles from this crossbow.
Generated Example
- adjust <player.item_in_hand> remove_charged_projectiles
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemChargedProjectile.java#L151

Nameremove_enchantments
ObjectItemTag
InputListTag
Related Tags<ItemTag.enchantment_types> Returns a list of the types of enchantments on the item.
<ItemTag.enchantment_map> Returns a map of enchantments on the item. (...)
DescriptionRemoves the specified enchantments from the item (as a list of EnchantmentTags).
Give no value input to remove all enchantments.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemEnchantments.java#L193

Namerepair_cost
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.repair_cost> Returns the current repair cost (on an anvil) for this item. (...)
DescriptionChanges the repair cost (on an anvil) of the item.
Generated Example
- adjust <player.item_in_hand> repair_cost:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemRepairCost.java#L85

Namesign_contents
ObjectItemTag
InputListTag
Related Tags<ItemTag.sign_contents> Returns a list of lines on a sign item.
DescriptionSets the contents of a sign item.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSignContents.java#L92

Nameskull_skin
ObjectItemTag
InputElementTag(|ElementTag(|ElementTag))
Related Tags<ItemTag.skull_skin> Returns the UUID of the player whose skin a skull item uses. (...)
<ItemTag.skin> Returns the UUID of the player whose skin a skull item uses. (...)
<ItemTag.has_skin> Returns whether the item has a custom skin set. (...)
DescriptionSets the player skin on a player_head.
A head should have a Texture blob, the player's UUID, and the player's Name.
The most-correct input is UUID|Texture|Name.
You can alternately input Name|Texture|UUID and the order will be automatically corrected.
You can alternately input just a UUID, or just a Name, or just UUID|Texture, or just Name|Texture, and the missing data will be downloaded.
You can alternately input just a Texture and the remaining data will be filled as name "null" and UUID "000-000". Doing this may cause side effects with Minecraft internals or external plugins, use with caution.
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSkullskin.java#L140

Namespawner_count
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.spawner_count> Returns the spawn count for a spawner block item.
DescriptionSets the spawn count of a spawner block item.
Generated Example
- adjust <player.item_in_hand> spawner_count:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerCount.java#L83

Namespawner_delay_data
ObjectItemTag
InputListTag
Related Tags<ItemTag.spawner_spawn_delay> Returns the current spawn delay for a spawner block item. (...)
<ItemTag.spawner_minimum_spawn_delay> Returns the minimum spawn delay for a spawner block item.
<ItemTag.spawner_maximum_spawn_delay> Returns the maximum spawn delay for a spawner block item.
DescriptionSets the current spawn delay, minimum spawn delay, and maximum spawn delay of a mob spawner block item.
For example, -1|200|800
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerDelay.java#L115

Namespawner_max_nearby_entities
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.spawner_max_nearby_entities> Returns the maximum nearby entities for a spawner block item.
DescriptionSets the maximum nearby entities of a spawner block item.
Generated Example
- adjust <player.item_in_hand> spawner_max_nearby_entities:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerMaxNearbyEntities.java#L83

Namespawner_player_range
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.spawner_player_range> Returns the maximum player range for a spawner block item (ie how close a player must be for this spawner to be active).
DescriptionSets the maximum player range of a spawner block item.
Generated Example
- adjust <player.item_in_hand> spawner_player_range:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerPlayerRange.java#L83

Namespawner_range
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.spawner_range> Returns the spawn range for a spawner block item (the radius mobs will spawn in).
DescriptionSets the spawn range of a spawner block item (the radius mobs will spawn in).
Generated Example
- adjust <player.item_in_hand> spawner_range:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerRange.java#L83

Namespawner_type
ObjectItemTag
InputEntityTag
Related Tags<ItemTag.spawner_type> Returns the spawn type for a spawner block item.
DescriptionSets the spawn type of a spawner block item.
Generated Example
- adjust <player.item_in_hand> spawner_type:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerType.java#L83

Nameunbreakable
ObjectItemTag
InputElementTag(Boolean)
Related Tags<ItemTag.unbreakable> Returns whether an item has the unbreakable flag.
DescriptionChanges whether an item has the unbreakable item flag.
Generated Example
- adjust <player.item_in_hand> unbreakable:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemUnbreakable.java#L69

Namearmor_stand_data
ObjectItemTag
InputMapTag
Related Tags<ItemTag.armor_stand_data> Returns a map of basic armor stand data, with keys matching EntityTag property names. (...)
DescriptionSets a map of basic armor stand data, with keys matching EntityTag property names.
Allowed keys: base_plate, visible, marker, is_small, arms
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/ItemArmorStand.java#L85

Nameworth
ObjectItemTag
InputElementTag(Decimal)
Related Tags<ItemTag.worth> Returns the amount of money one of this item is worth in Essentials.
<ItemTag.worth.quantity[<#>]> Returns the amount of money the quantity specified of this item is worth in Essentials.
DescriptionSets the worth of this item in Essentials.
Generated Example
- adjust <player.item_in_hand> worth:1.5
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsItemProperties.java#L99



Category: LocationTag Mechanisms


Nameactivate
ObjectLocationTag
InputNone
DescriptionActivates the block at the location if possible.
Works for blocks like dispensers, which have explicit 'activation' methods.
Generated Example
- adjust <player.location> activate
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5020

Nameadd_bee
ObjectLocationTag
InputEntityTag
Related Tags<LocationTag.hive_bee_count> Returns the number of bees inside a hive.
DescriptionAdds a bee into a beehive.
Will do nothing if there's no room left in the hive.
Generated Example
- adjust <player.location> add_bee:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4746

Nameage
ObjectLocationTag
InputDurationTag
Related Tags<LocationTag.age> Returns the age of an end gateway.
DescriptionSets the age of an end gateway.
Generated Example
- adjust <player.location> age:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5169

Nameapply_bonemeal
ObjectLocationTag
InputElementTag
DescriptionApplies bonemeal to the block, on the given block face. Input is NORTH, EAST, SOUTH, WEST, UP, or DOWN.
For example: - adjust <player.location.below> apply_bonemeal:up
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5241

Namebeacon_primary_effect
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.beacon_primary_effect> Returns the primary effect of the beacon. The return is simply a potion effect type name.
DescriptionSets the primary effect of a beacon, with input as just an effect type name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4990

Namebeacon_secondary_effect
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.beacon_secondary_effect> Returns the secondary effect of the beacon. The return is simply a potion effect type name.
DescriptionSets the secondary effect of a beacon, with input as just an effect type name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5005

Namebiome
ObjectLocationTag
InputBiomeTag
Related Tags<LocationTag.biome> Returns the biome at the location.
DescriptionSets the biome of the block.
Generated Example
- adjust <player.location> biome:desert
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4482

Nameblock_facing
ObjectLocationTag
InputLocationTag
Related Tags<LocationTag.block_facing> Returns the relative location vector of where this block is facing. (...)
DescriptionSets the facing direction of the block, as a vector.
Generated Example
- adjust <player.location> block_facing:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4447

Nameblock_type
ObjectLocationTag
InputMaterialTag
Related Tags<LocationTag.material> Returns the material of the block at the location.
DescriptionSets the type of the block.
Generated Example
- adjust <player.location> block_type:dirt
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4468

Namebrewing_fuel_level
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.brewing_fuel_level> Returns the level of fuel a brewing stand has. Each unit of fuel can power one brewing operation.
DescriptionSets the brewing fuel level a brewing stand has.
Generated Example
- adjust <player.location> brewing_fuel_level:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4835

Namebrewing_time
ObjectLocationTag
InputDurationTag
Related Tags<LocationTag.brewing_time> Returns the brewing time a brewing stand has left.
DescriptionSets the brewing time a brewing stand has left.
Generated Example
- adjust <player.location> brewing_time:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4818

Namecampfire_items
ObjectLocationTag
InputListTag(ItemTag)
Related Tags<LocationTag.campfire_items> Returns a list of items currently in this campfire. (...)
DescriptionSets the items in this campfire, as a list of items, where the index in the list directly corresponds to index in the campfire slots.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5253

Nameclear_loot_table
ObjectLocationTag
InputNone
Related Tags<LocationTag.has_loot_table> Returns an element indicating whether the chest at this location has a loot-table set.
DescriptionRemoves the loot table from the chest at this location.
Generated Example
- adjust <player.location> clear_loot_table
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5061

Namecommand_block
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.command_block> Returns the command a command block is set to.
DescriptionSets the command of a command block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4779

Namecommand_block_name
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.command_block_name> Returns the name a command block is set to.
DescriptionSets the name of a command block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4762

Namecustom_name
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.custom_name> Returns the custom name of this block. (...)
DescriptionSets the custom name of the block.
Use no value to reset the block's name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4796

Nameexit_location
ObjectLocationTag
InputLocationTag
Related Tags<LocationTag.exit_location> Returns the exit location of an end gateway block.
DescriptionSets the exit location of an end gateway block.
See also Mechanism:LocationTag.is_exact_teleport.
Generated Example
- adjust <player.location> exit_location:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5209

Namefurnace_burn_duration
ObjectLocationTag
InputDurationTag
Related Tags<LocationTag.furnace_burn_duration> Returns the burn time a furnace has left.
DescriptionSets the burn time for a furnace in ticks. Maximum is 32767 ticks.
Generated Example
- adjust <player.location> furnace_burn_duration:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4852

Namefurnace_cook_duration
ObjectLocationTag
InputDurationTag
Related Tags<LocationTag.furnace_cook_duration> Returns the cook time a furnace has been cooking its current item for.
DescriptionSets the current cook time for a furnace in ticks. Maximum is 32767 ticks.
Generated Example
- adjust <player.location> furnace_cook_duration:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4877

Namefurnace_cook_duration_total
ObjectLocationTag
InputDurationTag
Related Tags<LocationTag.furnace_cook_duration_total> Returns the total cook time a furnace has left.
DescriptionSets the total cook time for a furnace in ticks. Maximum is 32767 ticks.
Generated Example
- adjust <player.location> furnace_cook_duration_total:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4902

Namegenerate_tree
ObjectLocationTag
InputElementTag
Related Tags<server.tree_types> Returns a list of all tree types known to the server. (...)
DescriptionGenerates a tree at this location if possible.
For a list of valid tree types, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/TreeType.html
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4973

Namehead_rotation
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.head_rotation> Gets the rotation of the head at this location. Can be 1-16.
DescriptionSets the rotation of the head at this location. Must be an integer 1 to 16.
Generated Example
- adjust <player.location> head_rotation:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4958

Namehive_max_bees
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.hive_max_bees> Returns the maximum number of bees allowed inside a hive.
DescriptionSets the maximum allowed number of bees in a beehive.
Generated Example
- adjust <player.location> hive_max_bees:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4715

Nameis_exact_teleport
ObjectLocationTag
InputElementTag(Boolean)
Related Tags<LocationTag.is_exact_teleport> Returns whether an end gateway is 'exact teleport' - if false, the destination will be randomly chosen *near* the destination.
DescriptionSets whether an end gateway is 'exact teleport' - if false, the destination will be randomly chosen *near* the destination.
Generated Example
- adjust <player.location> is_exact_teleport:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5189

Namejukebox_play
ObjectLocationTag
InputElementTag(Boolean)
Related Tags<LocationTag.jukebox_is_playing> Returns whether the jukebox is currently playing a song.
DescriptionIf 'true', starts playing the record inside. If 'false', stops playing any song.
See also Mechanism:LocationTag.jukebox_record.
Generated Example
- adjust <player.location> jukebox_play:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5138

Namejukebox_record
ObjectLocationTag
InputItemTag
Related Tags<LocationTag.jukebox_record> Returns the record item currently inside the jukebox. (...)
DescriptionSets the record item played by a jukebox. Give no input to set the jukebox to empty.
See also Mechanism:LocationTag.jukebox_play.
Generated Example
- adjust <player.location> jukebox_record:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5111

Namelectern_page
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.lectern_page> Returns the current page on display in the book on this Lectern block.
DescriptionChanges the page currently displayed on the book in a lectern block.
Generated Example
- adjust <player.location> lectern_page:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5041

Namelock
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.lock> Returns the password to a locked container.
<LocationTag.is_locked> Returns whether the container is locked.
<LocationTag.is_lockable> Returns whether the container is lockable.
DescriptionSets the container's lock password.
Locked containers can only be opened while holding an item with the name of the lock.
Leave blank to remove a container's lock.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4622

Nameloot_table_id
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.loot_table_id> Returns an element indicating the minecraft key for the loot-table for the chest at this location (if any).
<LocationTag.has_loot_table> Returns an element indicating whether the chest at this location has a loot-table set.
DescriptionSets the loot table of a lootable container at this location.
This is the namespaced path of the loot table, provided by a datapack or Minecraft's default data.
Example
# Sets the chest's loot table to a bonus chest
- adjust <[location]> loot_table_id:chests/ancient_city
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5081

Namepatterns
ObjectLocationTag
InputListTag
Related Tags<LocationTag.patterns> Lists the patterns of the banner at this location in the form "COLOR/PATTERN|COLOR/PATTERN" etc. (...)
<server.pattern_types> Returns a list of all banner patterns known to the server. (...)
DescriptionChanges the patterns of the banner at this location. Input must be in the form "COLOR/PATTERN|COLOR/PATTERN" etc.
For the list of possible colors, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html.
For the list of possible patterns, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4927

Namerelease_bees
ObjectLocationTag
InputNone
Related Tags<LocationTag.hive_bee_count> Returns the number of bees inside a hive.
DescriptionCauses a beehive to release all its bees.
Will do nothing if the hive is empty.
Generated Example
- adjust <player.location> release_bees
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4730

Namering_bell
ObjectLocationTag
InputNone
DescriptionCauses the bell to ring.
Generated Example
- adjust <player.location> ring_bell
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5294

Namesign_contents
ObjectLocationTag
InputListTag
Related Tags<LocationTag.sign_contents> Returns a list of lines on a sign.
DescriptionSets the contents of a sign block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4641

Namesign_glow_color
ObjectLocationTag
InputElementTag
Related Tags<LocationTag.sign_glow_color> Returns the name of the glow-color of the sign at the location. (...)
<LocationTag.sign_glowing> Returns whether the location is a Sign block that is glowing.
DescriptionChanges the glow color of a sign.
For the list of possible colors, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html.
If a sign is not glowing, this is equivalent to applying a chat color to the sign.
Use Mechanism:LocationTag.sign_glowing to toggle whether the sign is glowing.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5333

Namesign_glowing
ObjectLocationTag
InputElementTag(Boolean)
Related Tags<LocationTag.sign_glow_color> Returns the name of the glow-color of the sign at the location. (...)
<LocationTag.sign_glowing> Returns whether the location is a Sign block that is glowing.
DescriptionChanges whether the sign at the location is glowing.
Generated Example
- adjust <player.location> sign_glowing:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5311

Nameskull_skin
ObjectLocationTag
InputElementTag(|ElementTag(|ElementTag))
Related Tags<LocationTag.skull_skin> Returns the skin the skull is displaying - just the name or UUID as text, not a player object.
DescriptionSets the skin of a skull block.
The first ElementTag is a UUID.
Optionally, use the second ElementTag for the skin texture cache.
Optionally, use the third ElementTag for a player name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4668

Namespawner_count
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.spawner_count> Returns the spawn count for the spawner.
DescriptionSets the spawn count of the spawner.
Generated Example
- adjust <player.location> spawner_count:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4607

Namespawner_custom_rules
ObjectLocationTag
InputMapTag
DescriptionSets the custom spawner rules for this spawner. Input is a map, like: [sky_min=0;sky_max=15;block_min=0;block_max=15]
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4495

Namespawner_delay_data
ObjectLocationTag
InputListTag
Related Tags<LocationTag.spawner_spawn_delay> Returns the current spawn delay for the spawner. (...)
<LocationTag.spawner_minimum_spawn_delay> Returns the minimum spawn delay for the mob spawner.
<LocationTag.spawner_maximum_spawn_delay> Returns the maximum spawn delay for the mob spawner.
DescriptionSets the current spawn delay, minimum spawn delay, and maximum spawn delay of the mob spawner.
For example, -1|200|800
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4529

Namespawner_max_nearby_entities
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.spawner_max_nearby_entities> Returns the maximum nearby entities for the spawner (the radius mobs will spawn in).
DescriptionSets the maximum nearby entities of the spawner.
Generated Example
- adjust <player.location> spawner_max_nearby_entities:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4562

Namespawner_player_range
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.spawner_player_range> Returns the maximum player range for the spawner (ie how close a player must be for this spawner to be active).
DescriptionSets the maximum player range of the spawner.
Generated Example
- adjust <player.location> spawner_player_range:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4577

Namespawner_range
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.spawner_range> Returns the spawn range for the spawner (the radius mobs will spawn in).
DescriptionSets the spawn range of the spawner (the radius mobs will spawn in).
Generated Example
- adjust <player.location> spawner_range:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4592

Namespawner_type
ObjectLocationTag
InputEntityTag
Related Tags<LocationTag.spawner_type> Returns the type of entity spawned by a mob spawner.
DescriptionSets the entity that a mob spawner will spawn.
Generated Example
- adjust <player.location> spawner_type:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4514

Namestructure_block_data
ObjectLocationTag
InputMapTag
Related Tags<LocationTag.structure_block_data> Returns the structure block data of the structure block at the location as a map with the following keys: (...)
DescriptionSets the structure block data of the structure block at the location. Input is a map with the following keys (all keys are optional):
- author: EntityTag: The Structure's author, can also input an ElementTag to set the name directly (set to "?" for most vanilla structures).
- integrity: ElementTag(Decimal): The integrity of the structure (0-1). Lower integrity values will result in more blocks being removed when loading a structure.
used with the seed to determine which blocks are randomly removed to mimic "decay".
- metadata: ElementTag: Can only be set while in DATA mode. sets specific functions that can be applied to the structure,
check the Minecraft wiki (🔗https://minecraft.gamepedia.com/Structure_Block#Data) for more information.
- mirror: ElementTag: How the structure is mirrored; "NONE", "LEFT_RIGHT", or "FRONT_BACK".
- box_position: LocationTag: The position of the structure's bounding box, relative to the position of the structure block. Maximum allowed distance is 48 blocks in any direction.
- rotation: ElementTag: The rotation of the structure; "NONE", "CLOCKWISE_90", "CLOCKWISE_180", or "COUNTERCLOCKWISE_90".
- seed: ElementTag(Number): The seed used to determine how many blocks are removed upon loading of this structure (see "integrity" for more information).
- structure_name: ElementTag: The name of the structure.
- size: LocationTag: The size of the structure's bounding box, The maximum structure size is 48,48,48.
- mode: ElementTag: The structure block's mode; "CORNER", "DATA", "LOAD", or "SAVE". See also Mechanism:MaterialTag.mode.
- box_visible: ElementTag(Boolean): Whether the structure's bounding box is visible, only applies in LOAD mode.
- ignore_entities: ElementTag(Boolean): Whether entities in the structure are ignored, only applies in SAVE mode.
- show_invisible: ElementTag(Boolean): Whether invisible blocks in the structure are shown.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5358

Namevanilla_tick
ObjectLocationTag
InputNone
DescriptionCauses an immediate vanilla tick at a block location (normally processed at random according to the randomTickSpeed gamerule).
Generated Example
- adjust <player.location> vanilla_tick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5230

Namecoreprotect_log_interaction
ObjectLocationTag
InputElementTag
DescriptionAdds a CoreProtect log entry for this block location of somebody interacting with a block.
Input is just the name of who interacted (not a PlayerTag).
RequiresDepenizen, CoreProtect
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/coreprotect/CoreProtectLocationProperties.java#L140

Namecoreprotect_log_placement
ObjectLocationTag
InputMapTag
DescriptionAdds a CoreProtect log entry for this block location of somebody placing a block.
Input map must have 'user' (a name, not a PlayerTag) and 'material' (a block MaterialTag)
For example: - adjust <context.location> coreprotect_log_placement:[user=<player.name>;material=stone]
RequiresDepenizen, CoreProtect
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/coreprotect/CoreProtectLocationProperties.java#L90

Namecoreprotect_log_removal
ObjectLocationTag
InputMapTag
DescriptionAdds a CoreProtect log entry for this block location of somebody removing a block.
Input map must have 'user' (a name, not a PlayerTag) and 'material' (a block MaterialTag)
For example: - adjust <context.location> coreprotect_log_removal:[user=<player.name>;material=stone]
RequiresDepenizen, CoreProtect
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/coreprotect/CoreProtectLocationProperties.java#L115



Category: MaterialTag Mechanisms


Nameage
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.age> Returns the current age for an ageable material. This includes plant growth.
<MaterialTag.maximum_age> Returns the maximum age for an ageable material. This includes plant growth.
DescriptionSets an ageable material's current age. This includes plant growth.
Generated Example
- adjust <material[stone]> age:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAge.java#L125

Nameattached
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.attached> Returns whether a material is attached. (...)
DescriptionSets whether a material is attached.
For a lantern, this sets whether it is hanging from the ceiling.
For a gate, this sets whether it is lowered to attach to a wall block.
For a mangrove_propagule, this sets whether it is hanging from the block above it.
Generated Example
- adjust <material[stone]> attached:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAttached.java#L123

Nameblock_resistance
ObjectMaterialTag
InputElementTag(Decimal)
Related Tags<MaterialTag.block_resistance> Returns the explosion resistance for all blocks of this material type.
DescriptionSets the explosion resistance for all blocks of this material type.
Generated Example
- adjust <material[stone]> block_resistance:1.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L694

Nameblock_strength
ObjectMaterialTag
InputElementTag(Decimal)
Related Tags<MaterialTag.block_strength> Returns the material's strength level. (Only for block materials). (...)
DescriptionSets the strength for all blocks of this material type.
This does not work for specifically obsidian (as it is a hardcoded special case in the Minecraft internals).
Generated Example
- adjust <material[stone]> block_strength:-1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L709

Namebottles
ObjectMaterialTag
InputListTag
Related Tags<MaterialTag.bottles> Returns a list of booleans that represent whether a slot in a brewing stand has a bottle. (...)
DescriptionSets the bottles in a brewing stand. Input is a list of booleans representing whether that slot has a bottle.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialBrewingStand.java#L84

Namecount
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.count> Returns the amount of pickles in a Sea Pickle material, eggs in a Turtle Egg material, charges in a Respawn Anchor material, or candles in a Candle material.
<MaterialTag.count_min> Returns the minimum amount of pickles allowed in a Sea Pickle material, eggs in a Turtle Egg material, charges in a Respawn Anchor material, or candles in a Candle material.
<MaterialTag.count_max> Returns the maximum amount of pickles allowed in a Sea Pickle material, eggs in a Turtle Egg material, charges in a Respawn Anchor material, or candles in a Candle material.
DescriptionSets the amount of pickles in a Sea Pickle material, eggs in a Turtle Egg material, charges in a Respawn Anchor material, or candles in a Candle material.
Generated Example
- adjust <material[stone]> count:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialCount.java#L185

Namedelay
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.delay> Returns the current delay of a redstone repeater material.
<MaterialTag.max_delay> Returns the maximum delay allowed for the redstone repeater material.
<MaterialTag.min_delay> Returns the minimum delay allowed for the redstone repeater material.
DescriptionSets the delay of a redstone repeater material.
Generated Example
- adjust <material[stone]> delay:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDelay.java#L107

Namedirection
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.direction> Returns the current facing direction for a directional material (like a door or a bed). (...)
<MaterialTag.valid_directions> Returns a list of directions that are valid for a directional material. (...)
DescriptionSets the current facing direction for a directional material (like a door or a bed).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDirectional.java#L329

Namedistance
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.distance> Returns the horizontal distance between a scaffolding block and the nearest scaffolding block placed above a 'bottom' scaffold, (...)
DescriptionSets the horizontal distance between a scaffolding block and the nearest scaffolding block placed above a 'bottom' scaffold, or between a leaves block and the nearest log.
Generated Example
- adjust <material[stone]> distance:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDistance.java#L95

Namefaces
ObjectMaterialTag
InputListTag
Related Tags<MaterialTag.faces> Returns a list of the current faces for a material that has multiple faces (like a mushroom block). (...)
<MaterialTag.valid_faces> Returns a list of faces that are valid for a material that has multiple faces. (...)
DescriptionSets the current faces for a material that has multiple faces (like a mushroom block).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialFaces.java#L97

Namehalf
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.half> Returns the current half for a bisected material (like a door, double-plant, chest, or a bed). (...)
DescriptionSets the current half for a bisected material (like a door, double-plant, chest, or a bed).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialHalf.java#L168

Nameheights
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.heights> Deprecated in favor of Tag:MaterialTag.sides
DescriptionDeprecated in favor of Mechanism:MaterialTag.sides
DeprecatedUse 'sides'
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSides.java#L126

Namehinge
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.hinge> Returns a door's hinge side. (...)
DescriptionSets a door's hinge side to LEFT or RIGHT.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialHinge.java#L71

Nameinstrument
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.instrument> Returns the name of the instrument played from this note block, (...)
DescriptionSets the instrument played from this note block,
for valid instruments see list at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Instrument.html.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialInstrument.java#L77

Nameis_locked
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.is_locked> Returns whether this redstone repeater material is locked.
DescriptionSets this redstone repeater material to be locked.
Generated Example
- adjust <material[stone]> is_locked:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLocked.java#L74

Nameleaf_size
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.leaf_size> Returns the size of the leaves for this bamboo block. (...)
DescriptionSets the size of the leaves for this bamboo block.
Valid input is SMALL, LARGE, or NONE.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLeafSize.java#L75

Namelevel
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.level> Returns the current level for a Levelled material, cake, beehives, snow, or farmland. (...)
<MaterialTag.maximum_level> Returns the maximum level for a Levelled material (like water, lava, and cauldrons), cake, beehives, snow, or farmland.
<MaterialTag.minimum_level> Returns the minimum level for a Levelled material (like water, lava, and cauldrons), cake, beehives, snow, or farmland. (...)
DescriptionSets the current level for a Levelled material (like water, lava, and cauldrons), cake, beehives, snow, or farmland.
Generated Example
- adjust <material[stone]> level:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLevel.java#L207

Namemax_stack_size
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.max_stack_size> Returns the maximum amount of this material that can be held in a stack.
DescriptionSets the maximum stack size for all items this material type.
Note that altering this will probably require a script performing "- inventory update" in the event "after player clicks in inventory:" to maintain sync.
The maximum the client will interact with is stacks of 64, however you can set the max up to 127 and the client will render it, but refuse to move stacks properly.
Generated Example
- adjust <material[stone]> max_stack_size:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L679

Namemode
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.mode> Returns a block's mode. (...)
DescriptionSet a block's mode.
For comparators, input is COMPARE or SUBTRACT.
For piston_heads, input is NORMAL or SHORT.
For bubble_columns, input is NORMAL or DRAG.
For structure_blocks, input is CORNER, DATA, LOAD, or SAVE.
For sculk_sensors, input is ACTIVE, COOLDOWN, or INACTIVE.
For daylight_detectors, input is INVERTED or NORMAL.
For command_blocks, input is CONDITIONAL or NORMAL.
For big_dripleafs, input is FULL, NONE, PARTIAL, or UNSTABLE.
For sculk_catalysts, input is BLOOM or NORMAL.
For sculk_shriekers, input is SHRIEKING or NORMAL.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialMode.java#L206

Namenote
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.note> Returns the note played from this note block, as an ID number from 0 to 24.
<MaterialTag.note_tone> Returns the tone of note played from this note block, as a letter from A to F, sometimes with a # to indicate sharp. (...)
<MaterialTag.note_octave> Returns the octave of note played from this note block, as 0, 1, or 2.
DescriptionSets the note played from this note block, as an ID number from 0 to 24.
Generated Example
- adjust <material[stone]> note:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialNote.java#L97

Namepersistent
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.persistent> Returns whether this block will decay from being too far away from a tree.
DescriptionSets leaves blocks to ignore decay, or to obey it.
Generated Example
- adjust <material[stone]> persistent:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialPersistent.java#L70

Namepiston_reaction
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.piston_reaction> Returns the material's piston reaction. (Only for block materials).
DescriptionSets the piston reaction for all blocks of this material type.
Input may be: NORMAL (push and pull allowed), DESTROY (break when pushed), BLOCK (prevent a push or pull), IGNORE (don't use this), or PUSH_ONLY (push allowed but not pull)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L726

Namepower
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.power> Returns the redstone power level of an analogue-powerable block.
<MaterialTag.max_power> Returns the maximum redstone power an analogue-powerable block can have.
DescriptionSets the redstone power level of an analogue-powerable block.
Generated Example
- adjust <material[stone]> power:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialPower.java#L78

Nameshape
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.shape> Returns the shape of a block. (...)
DescriptionSets the shape of a block.
For stairs, input is the corner shape as INNER_LEFT, INNER_RIGHT, OUTER_LEFT, OUTER_RIGHT, or STRAIGHT.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialShape.java#L71

Namesides
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.sides> Returns the list of heights for a wall block, or connections for a redstone wire, in order North|East|South|West|Vertical. (...)
DescriptionSets the list of heights for a wall block, or connections for a redstone wire, in order North|East|South|West|Vertical.
For wall blocks: For n/e/s/w, can be "tall", "low", or "none". For vertical, can be "tall" or "none".
For redstone wires: For n/e/s/w, can be "none", "side", or "up". No vertical.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSides.java#L136

Namesnowy
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.snowy> Returns whether this material is covered in snow or not.
DescriptionSets this material to be covered in snow, or not.
Generated Example
- adjust <material[stone]> snowy:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSnowable.java#L74

Nameswitch_face
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.switch_face> Returns the current attach direction for a switch or other attachable material. (...)
DescriptionSets the current attach direction for a switch or other attachable material.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSwitchFace.java#L88

Nameswitched
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.switched> Returns whether a material is 'switched on', which has different semantic meaning depending on the material type. (...)
DescriptionSets whether a material is 'switched on', which has different semantic meaning depending on the material type.
More specifically, this sets whether:
- a Powerable material (like pressure plates) is activated
- an Openable material (like doors) is open
- a dispenser is powered and should dispense its contents
- a daylight sensor can see the sun
- a lightable block is lit
- a piston block is extended
- an end portal frame has an ender eye in it
- a hopper is NOT being powered by redstone
- a sculk_shrieker can summon a warden
Generated Example
- adjust <material[stone]> switched:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSwitchable.java#L230

Nametype
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.type> Returns the current type of the block. (...)
DescriptionSets the current type of the block.
For slabs, input is TOP, BOTTOM, or DOUBLE.
For piston_heads, input is NORMAL or STICKY.
For campfires, input is NORMAL or SIGNAL.
For pointed dripstone, input is BASE, FRUSTUM, MIDDLE, TIP, or TIP_MERGE.
For cave vines, input is NORMAL or BERRIES.
For scaffolding, input is NORMAL or BOTTOM.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialBlockType.java#L154

Nameunstable
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.unstable> Returns whether this TNT block is unstable (explodes when punched).
DescriptionSets whether this TNT block is unstable (explodes when punched).
Generated Example
- adjust <material[stone]> unstable:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialUnstable.java#L74

Namevanilla_tags
ObjectMaterialTag
InputListTag
Related Tags<MaterialTag.vanilla_tags> Returns a list of vanilla tags that apply to this material. See also 🔗https://minecraft.fandom.com/wiki/Tag.
DescriptionSets a material's vanilla tags.
Any tag name will be accepted - meaning, any tag name input will be added to the material, regardless of whether it previously existed or not.
Note that this gets reset once server resources are reloaded (see Event:server resources reloaded).
Example
# Adds the guarded_by_piglins tag to Netherrack, without removing its other tags.
- adjust <material[netherrack]> vanilla_tags:<material[netherrack].vanilla_tags.include[guarded_by_piglins]>
Example
# Removes the dead_bush_may_place_on tag from <[material]>, while keeping its other tags.
- adjust <[material]> vanilla_tags:<[material].vanilla_tags.exclude[dead_bush_may_place_on]>
Example
# Removes all vanilla tags from <[material]>, leaving it with only the wither_summon_base_blocks tag.
- adjust <[material]> vanilla_tags:wither_summon_base_blocks
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L646

Namewaterlogged
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.waterlogged> Returns whether this block is waterlogged or not.
DescriptionSets this block to be waterlogged, or not.
Generated Example
- adjust <material[stone]> waterlogged:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialWaterlogged.java#L74



Category: NPCTag Mechanisms


Nameadd_assignment
ObjectNPCTag
InputScriptTag
Related Tags<NPCTag.script> Deprecated variant of Tag:NPCTag.scripts.
DescriptionAdds an assignment script to the NPC.
Generated Example
- adjust <npc> add_assignment:<script>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1323

Nameadd_waypoint
ObjectNPCTag
InputLocationTag
Related TagsTODO
DescriptionAdd a waypoint location to the NPC's path.
Generated Example
- adjust <npc> add_waypoint:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1854

Nameattack_range
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.attack_range> Returns the NPC's current navigator attack range limit.
DescriptionSets the maximum attack distance of the NPC.
Generated Example
- adjust <npc> attack_range:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1621

Nameauto_update_skin
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.auto_update_skin> Returns whether the NPC is set to automatically update skins from name.
DescriptionSets whether the NPC will automatically update its skin based on the skin name used.
If true, the NPC's skin will change when the relevant account owner changes their skin.
Generated Example
- adjust <npc> auto_update_skin:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1553

Nameclear_assignments
ObjectNPCTag
InputNone
Related Tags<NPCTag.script> Deprecated variant of Tag:NPCTag.scripts.
DescriptionRemoves all the NPC's assignment scripts.
Generated Example
- adjust <npc> clear_assignments
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1360

Nameclear_waypoints
ObjectNPCTag
InputNone
Related TagsTODO
DescriptionClears all waypoint locations in the NPC's path.
Generated Example
- adjust <npc> clear_waypoints
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1831

Namecontrollable
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.controllable> Returns whether the NPC has controllable enabled.
DescriptionSets whether the NPC is controllable.
Generated Example
- adjust <npc> controllable:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1700

Namedistance_margin
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.distance_margin> Returns the NPC's current pathfinding distance margin. That is, how close it needs to get to its destination (in block-lengths).
DescriptionSets the NPC's distance margin.
Generated Example
- adjust <npc> distance_margin:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1744

Nameglow_color
ObjectNPCTag
InputElementTag
Related TagsTODO
DescriptionSets the color the NPC will glow with, when it's glowing. Input must be from 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ChatColor.html.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1818

Namehologram_direction
ObjectNPCTag
InputElementTag
Related Tags<NPCTag.hologram_direction> Returns the direction of an NPC's hologram as "BOTTOM_UP" or "TOP_DOWN".
DescriptionSets the NPC's hologram direction, as either BOTTOM_UP or TOP_DOWN.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1393

Namehologram_line_height
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.hologram_line_height> Returns the line height for an NPC's hologram. Can be -1, indicating a default value should be used.
DescriptionSets the NPC's hologram line height. Can be -1 to indicate a default value.
Generated Example
- adjust <npc> hologram_line_height:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1407

Namehologram_lines
ObjectNPCTag
InputListTag
Related Tags<NPCTag.hologram_lines> Returns the list of hologram lines attached to an NPC.
DescriptionSets the NPC's hologram line list.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1376

Nameitem_type
ObjectNPCTag
InputItemTag
DescriptionSets the item type of the item.
Generated Example
- adjust <npc> item_type:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1567

Namelookclose
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.lookclose> Returns whether the NPC has lookclose enabled.
DescriptionSets the NPC's lookclose value.
Generated Example
- adjust <npc> lookclose:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1687

Namename
ObjectNPCTag
InputElementTag
Related Tags<NPCTag.name> Returns the name of the entity. (...)
DescriptionSets the name of the NPC.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1460

Namename_visible
ObjectNPCTag
InputElementTag
Related TagsTODO
DescriptionSets whether the NPC's nameplate is visible. Input is 'true' (always visible), 'false' (never visible), or 'hover' (only visible while looking at the NPC).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1805

Namenavigator_look_at
ObjectNPCTag
InputLocationTag
Related Tags<NPCTag.navigator_look_at> Returns the location the NPC will currently look at while moving, if any.
DescriptionSets the location the NPC will currently look at while moving.
Give no value to let the NPC automatically look where it's going.
Should be set after the NPC has started moving.
Generated Example
- adjust <npc> navigator_look_at:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1784

Nameowner
ObjectNPCTag
InputPlayerTag
Related Tags<NPCTag.owner> Returns the owner of the NPC as a PlayerTag, if any.
DescriptionSets the owner of the NPC.
Generated Example
- adjust <npc> owner:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1473

Namepath_distance_margin
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.path_distance_margin> Returns the NPC's current pathfinding distance margin. That is, how close it needs to get to individual points along its path.
DescriptionSets the NPC's path distance margin.
Generated Example
- adjust <npc> path_distance_margin:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1757

Namerange
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.range> Returns the NPC's current maximum pathfinding range.
DescriptionSets the maximum movement distance of the NPC.
Generated Example
- adjust <npc> range:-1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1608

Nameremove_assignment
ObjectNPCTag
InputScriptTag
Related Tags<NPCTag.script> Deprecated variant of Tag:NPCTag.scripts.
DescriptionRemoves an assignment script from the NPC.
Generated Example
- adjust <npc> remove_assignment:<script>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1336

Nameremove_nickname
ObjectNPCTag
InputNone
Related Tags<NPCTag.has_nickname> Returns true if the NPC has a nickname.
DescriptionRemoves the NPC's nickname.
Generated Example
- adjust <npc> remove_nickname
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1434

Nameset_assignment
ObjectNPCTag
InputScriptTag
Related Tags<NPCTag.script> Deprecated variant of Tag:NPCTag.scripts.
DescriptionSets the NPC's assignment script. Equivalent to 'clear_assignments' + 'add_assignment'.
Generated Example
- adjust <npc> set_assignment:<script>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1308

Nameset_entity_type
ObjectNPCTag
InputEntityTag
Related Tags<NPCTag.entity_type> Returns the type of the entity.
DescriptionSets the NPC's entity type.
Generated Example
- adjust <npc> set_entity_type:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1447

Nameset_nickname
ObjectNPCTag
InputElementTag
Related Tags<NPCTag.nickname> Returns the NPC's display name, as set by the Nickname trait (or the default NPC name).
DescriptionSets the NPC's nickname.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1421

Nameset_protected
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.is_protected> Returns whether the NPC is protected.
DescriptionSets whether or not the NPC is protected.
Generated Example
- adjust <npc> set_protected:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1674

Nameset_sneaking
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.is_sneaking> Returns whether the NPC is currently sneaking. Only works for player-type NPCs.
DescriptionSets whether the NPC is sneaking or not. Only works for player-type NPCs.
Generated Example
- adjust <npc> set_sneaking:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1652

Nameskin
ObjectNPCTag
InputElementTag
Related Tags<NPCTag.skin> Returns the NPC's custom skin, if any.
DescriptionSets the skin of an NPC by name.
Call with no value to clear the custom skin value.
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1526

Nameskin_blob
ObjectNPCTag
InputElementTag
Related Tags<NPCTag.skin> Returns the NPC's custom skin, if any.
DescriptionSets the skin blob of an NPC, in the form of "texture;signature;name".
Call with no value to clear the custom skin value.
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1491

Namespeed
ObjectNPCTag
InputElementTag(Decimal)
Related Tags<NPCTag.speed> Returns the current speed of the NPC.
DescriptionSets the movement speed of the NPC.
Generated Example
- adjust <npc> speed:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1634

Nametargetable
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.targetable> Returns whether the NPC is targetable.
DescriptionSets whether the NPC is targetable.
Generated Example
- adjust <npc> targetable:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1713

Nameteleport_on_stuck
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.teleport_on_stuck> Returns whether the NPC teleports when it is stuck.
DescriptionSets whether the NPC teleports when it is stuck.
Generated Example
- adjust <npc> teleport_on_stuck:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1726

Nameuse_new_finder
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag.use_new_finder> If output is 'true', the NPC uses the 'new' Citizens A-Star pathfinder. (...)
DescriptionIf input is 'true', causes the NPC to use the 'new' Citizens A-Star pathfinder.
if 'false', causes the NPC to use the 'old' minecraft vanilla mob pathfinder.
Generated Example
- adjust <npc> use_new_finder:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1770



Category: PlayerTag Mechanisms


Nameaward_advancement
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.has_advancement[<name>]> Returns whether the player has completed the specified advancement.
DescriptionAwards an advancement to the player.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2758

Namebanner_update
ObjectPlayerTag
InputElementTag
DescriptionShows the player fake patterns on a banner. Input must be in the form: "LOCATION|COLOR/PATTERN|..."
As of Minecraft 1.13, the base color is unique material types, and so Command:showfake must be used for base color changes.
For the list of possible patterns, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3749

Namebed_spawn_location
ObjectPlayerTag
InputLocationTag
Related Tags<PlayerTag.bed_spawn> Returns the location of the player's bed spawn location, null if (...)
DescriptionSets the bed location that the player respawns at.
Generated Example
- adjust <player> bed_spawn_location:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2934

Namecan_fly
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.can_fly> Returns whether the player is allowed to fly. (...)
DescriptionSets whether the player is allowed to fly.
Works with offline players.
Generated Example
- adjust <player> can_fly:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2966

Namediscover_recipe
ObjectPlayerTag
InputListTag
DescriptionCauses the player to discover a recipe, or list of recipes. Input is in the Namespace:Key format, for example "minecraft:gold_nugget".
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3644

Namedisplay_name
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.display_name> Returns the display name of the player, which may contain prefixes and suffixes, colors, etc.
DescriptionSets the name displayed for the player when chatting.
This only applies if there's a chat plugin using it.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3073

Nameedit_sign
ObjectPlayerTag
InputLocationTag
DescriptionAllows the player to edit an existing sign. To create a sign, see Command:Sign.
Give no input to make a fake edit interface.
Generated Example
- adjust <player> edit_sign:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3674

Nameexhaustion
ObjectPlayerTag
InputElementTag(Decimal)
Related Tags<PlayerTag.exhaustion> Returns the player's exhaustion value. Exhaustion is increased in vanilla when a player sprints or jumps, and is used to reduce food saturation over time. (...)
DescriptionSets the exhaustion level of a player.
Works with offline players.
Generated Example
- adjust <player> exhaustion:1.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3153

Namefake_absorption_health
ObjectPlayerTag
InputElementTag(Decimal)
DescriptionShows the player fake absorption health that persists on damage.
Generated Example
- adjust <player> fake_absorption_health:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2804

Namefake_entity_health
ObjectPlayerTag
InputMapTag
DescriptionShows the player a fake health number for a given entity.
Input is a map with 'entity' as the target entity, and 'health' as the health amount.
Optionally add 'max' to set the max health too.
Using health of '0' can cause an entity to look dead.
For example:
- adjust <player> fake_entity_health:[entity=<player.target>;health=0]
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3388

Namefake_equipment
ObjectPlayerTag
InputEntityTag(|ElementTag|ItemTag)
DescriptionShows the player fake equipment on the specified living entity, which has no real non-visual effects.
Input is in the form Entity|Slot|Item, where the slot can be one of the following: HAND, OFF_HAND, BOOTS, LEGS, CHEST, HEAD
Optionally, exclude the slot and item to stop showing the fake equipment, if any, on the specified entity.
For example:
- adjust <player> fake_equipment:<[some_entity]>|chest|diamond_chestplate
- adjust <player> fake_equipment:<player>|head|jack_o_lantern
Consider instead using Command:fakeequip.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3422

Namefake_experience
ObjectPlayerTag
InputElementTag(Decimal)(|ElementTag(Number))
DescriptionShows the player a fake experience bar, with a number between 0.0 and 1.0 to specify how far along the bar is.
Use with no input value to reset to the player's normal experience.
Optionally, you can specify a fake experience level.
For example: - adjust <player> fake_experience:0.5|5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3277

Namefake_health
ObjectPlayerTag
InputElementTag(Decimal)(|ElementTag(Number)(|ElementTag(Decimal)))
DescriptionShows the player a fake health bar, with a number between 0 and 20, where 1 is half of a heart.
Use with no input value to reset to the player's normal health.
Optionally, you can specify a fake food level, between 0 and 20.
You can also optionally specify a food saturation level between 0 and 10.
For example:
- adjust <player> fake_health:1
- adjust <player> fake_health:10|15
- adjust <player> fake_health:<player.health>|3|0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3307

Namefake_mount_health
ObjectPlayerTag
InputElementTag(Decimal)|ElementTag(Decimal)
DescriptionShows the player a fake health bar for their mounted. Specify both the current and maximum health values.
Use with no input value to reset to the real health value.
Using a health of '0' will make your mount look dead but continue to function.
For example:
- adjust <player> fake_mount_health:10|15
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3349

Namefly_speed
ObjectPlayerTag
InputElementTag(Decimal)
Related Tags<PlayerTag.fly_speed> Returns the speed the player can fly at. (...)
DescriptionSets the fly speed of the player. Valid range is 0.0 to 1.0
Works with offline players.
Generated Example
- adjust <player> fly_speed:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2985

Nameflying
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.is_flying> Returns whether the player is currently flying.
DescriptionSets whether the player is flying.
Generated Example
- adjust <player> flying:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2999

Namefood_level
ObjectPlayerTag
InputElementTag(Number)
Related Tags<PlayerTag.food_level> Returns the current food level (aka hunger) of the player.
DescriptionSets the current food level of a player. Typically, '20' is full.
Generated Example
- adjust <player> food_level:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2921

Nameforget_recipe
ObjectPlayerTag
InputListTag
DescriptionCauses the player to forget ('undiscover') a recipe, or list of recipes. Input is in the Namespace:Key format, for example "minecraft:gold_nugget".
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3659

Namefov_multiplier
ObjectPlayerTag
InputElementTag(Decimal)
DescriptionSets the player's field of view multiplier.
Leave input empty to reset.
Note: Values outside a (-1, 1) range will have little effect on the player's fov.
Generated Example
- adjust <player> fov_multiplier:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3472

Namegamemode
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.gamemode> Returns the name of the gamemode the player is currently set to. (...)
DescriptionSets the game mode of the player.
Valid gamemodes are survival, creative, adventure, and spectator.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3030

Namehealth_scale
ObjectPlayerTag
InputElementTag(Decimal)
Related Tags<PlayerTag.health_scale> Returns the current scale for the player's health bar.
DescriptionSets the 'health scale' on the Player. Each heart equals '2'. The standard health scale is
20, so for example, indicating a value of 40 will display double the amount of hearts
standard.
Player relogging will reset this mechanism.
Generated Example
- adjust <player> health_scale:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2815

Namehide_entities
ObjectPlayerTag
InputElementTag
DescriptionHides a matchable type of entity from the player. Can use any advanced entity matchers per Language:Advanced Object Matching.
To hide a specific entity from the player, use Mechanism:PlayerTag.hide_entity.
To remove hide sets, use Mechanism:PlayerTag.unhide_entities.
Note that dynamic matchables like 'entity_flagged' will behave in unexpected ways when dynamically changing.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3215

Namehide_entity
ObjectPlayerTag
InputEntityTag
DescriptionHides an entity from the player.
To hide from everyone, use Mechanism:EntityTag.hide_from_players.
See also Mechanism:PlayerTag.show_entity.
Generated Example
- adjust <player> hide_entity:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3185

Namehide_particles
ObjectPlayerTag
InputElementTag
DescriptionHides a certain type of particle from the player.
Input is the particle type name - refer to Tag:server.particle_types.
Give no input to remove all hides from a player.
Hides will persist through players reconnecting, but not through servers restarting.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3971

Nameis_op
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.is_op> Returns whether the player is a full server operator. (...)
DescriptionChanges whether the player is a server operator or not.
Generated Example
- adjust <player> is_op:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3895

Nameis_whitelisted
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.is_whitelisted> Returns whether the player is whitelisted. (...)
DescriptionChanges whether the player is whitelisted or not.
Generated Example
- adjust <player> is_whitelisted:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3882

Nameitem_on_cursor
ObjectPlayerTag
InputItemTag
Related Tags<PlayerTag.item_on_cursor> Returns the item on the player's cursor, if any. This includes (...)
DescriptionSets the item on the player's cursor.
This includes chest interfaces, inventories, and hotbars, etc.
Generated Example
- adjust <player> item_on_cursor:<player.item_in_hand>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2744

Nameitem_slot
ObjectPlayerTag
InputElementTag(Number)
Related Tags<PlayerTag.held_item_slot> Returns the slot location of the player's selected item.
DescriptionSets the inventory slot that the player has selected.
Works with offline players.
Generated Example
- adjust <player> item_slot:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2697

Namelevel
ObjectPlayerTag
InputElementTag(Number)
Related Tags<PlayerTag.xp_level> Returns the number of XP levels the player has. (...)
DescriptionSets the level on the player. Does not affect the current progression of experience towards next level.
Generated Example
- adjust <player> level:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2684

Namelocation
ObjectPlayerTag
InputLocationTag
Related Tags<PlayerTag.location> Returns the location of the entity. (...)
DescriptionIf the player is online, teleports the player to a given location.
Otherwise, sets the player's next spawn location.
Generated Example
- adjust <player> location:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3100

Namename
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.name> Returns the name of the entity. (...)
DescriptionChanges the name on this player's nameplate.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3831

Namenoclip
ObjectPlayerTag
InputElementTag(Boolean)
DescriptionWhen true, causes the server to allow the player to noclip (ie, walk through blocks without being prevented).
This is purely serverside. The client will still not walk through blocks.
This is useful alongside Command:showfake.
Note that this may sometimes be imperfect / sometimes momentarily continue to clip block.
Note that this may also prevent other collisions (eg projectile impact) but is not guaranteed to.
Generated Example
- adjust <player> noclip:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2634

Nameopen_book
ObjectPlayerTag
InputNone
DescriptionForces the player to open the written book in their hand.
The book can safely be removed from the player's hand without the player closing the book.
Generated Example
- adjust <player> open_book
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3554

Nameopen_offhand_book
ObjectPlayerTag
InputNone
DescriptionForces the player to open the written book in their offhand.
The book can safely be removed from the player's offhand without the player closing the book.
Generated Example
- adjust <player> open_offhand_book
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3569

Nameplayer_list_name
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.list_name> Returns the name of the player as shown in the player list.
DescriptionSets the entry that is shown in the 'player list' that is shown when pressing tab.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3060

Namequietly_discover_recipe
ObjectPlayerTag
InputListTag
DescriptionCauses the player to discover a recipe, or list of recipes, without being notified or updated about this happening.
Generally helpful to follow this with Mechanism:PlayerTag.resend_discovered_recipes.
Input is in the Namespace:Key format, for example "minecraft:gold_nugget".
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3628

Nameresend_discovered_recipes
ObjectPlayerTag
InputNone
DescriptionSends the player the full list of recipes they have discovered over again.
This is useful when used alongside Mechanism:PlayerTag.quietly_discover_recipe.
Generated Example
- adjust <player> resend_discovered_recipes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3616

Nameresend_recipes
ObjectPlayerTag
InputNone
DescriptionSends the player a list of the full details of all recipes on the server.
This is useful when reloading new item scripts with custom recipes.
This will automatically resend discovered recipes at the same time (otherwise the player will seemingly have no recipes unlocked).
Generated Example
- adjust <player> resend_recipes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3602

Nameresource_pack
ObjectPlayerTag
InputElementTag(|ElementTag)
DescriptionDeprecated, use Command:resourcepack.
DeprecatedUse the "resourcepack" command instead of this old mechanism.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2854

Namerespawn
ObjectPlayerTag
InputNone
DescriptionForces the player to respawn if they are on the death screen.
Generated Example
- adjust <player> respawn
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2654

Namerevoke_advancement
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.has_advancement[<name>]> Returns whether the player has completed the specified advancement.
DescriptionUn-awards an advancement from the player.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2781

Namesaturation
ObjectPlayerTag
InputElementTag(Decimal)
Related Tags<PlayerTag.saturation> Returns the current food saturation of the player. (...)
DescriptionSets the current food saturation level of a player.
Works with offline players.
Generated Example
- adjust <player> saturation:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2884

Namescale_health
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.health_is_scaled> Returns whether the player's health bar is currently being scaled.
DescriptionEnables or disables the health scale value. Disabling will result in the standard
amount of hearts being shown.
Generated Example
- adjust <player> scale_health:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2831

Nameselected_npc
ObjectPlayerTag
InputNPCTag
Related Tags<PlayerTag.selected_npc> Returns the NPCTag that the player currently has selected with '/npc select', null if no NPC selected.
DescriptionSets the NPC that the player has selected.
Generated Example
- adjust <player> selected_npc:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3958

Namesend_climbable_materials
ObjectPlayerTag
InputListTag(MaterialTag)
Related Tags<server.vanilla_tagged_materials[<tag>]> Returns a list of materials referred to by the specified vanilla tag. See also 🔗https://minecraft.fandom.com/wiki/Tag.
DescriptionSends the player a list of climbable materials.
To climb a block, the player has to stand in it, which means only non-full blocks can be climbed.
Note that this gets reset once the player rejoins or once server resources are reloaded (see Event:server resources reloaded).
Example
# Lets the linked player climb iron_bars, while keeping other climbable materials climbable
- adjust <player> send_climbable_materials:<server.vanilla_tagged_materials[climbable].include[iron_bars]>
Example
# Lets the linked player climb only acacia_buttons, making all other materials non-climbable.
- adjust <player> send_climbable_materials:acacia_button
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2603

Namesend_map
ObjectPlayerTag
InputElementTag(Number)
DescriptionForces a player to receive the entirety of the specified map ID instantly.
This is mainly used as a way to correct bugs in map rendering.
Generated Example
- adjust <player> send_map:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2903

Namesend_server_brand
ObjectPlayerTag
InputElementTag
DescriptionSends the player a fake server brand, that will be displayed in the F3 Debug screen.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L4010

Nameshow_book
ObjectPlayerTag
InputItemTag
DescriptionDisplays a book to a player. Must be a WRITTEN_BOOK item.
For simple usage, consider specifying a book script name as the input.
Generated Example
- adjust <player> show_book:<player.item_in_hand>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3584

Nameshow_demo
ObjectPlayerTag
InputNone
DescriptionShows the player the demo screen.
Generated Example
- adjust <player> show_demo
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3506

Nameshow_endcredits
ObjectPlayerTag
InputNone
DescriptionShows the player the end credits.
Generated Example
- adjust <player> show_endcredits
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3495

Nameshow_entity
ObjectPlayerTag
InputEntityTag
DescriptionShows the player a previously hidden entity.
To show for everyone, use Mechanism:EntityTag.show_to_players.
See also Mechanism:PlayerTag.hide_entity.
Generated Example
- adjust <player> show_entity:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3172

Nameshow_workbench
ObjectPlayerTag
InputLocationTag
DescriptionShows the player a workbench GUI corresponding to a given location.
Generated Example
- adjust <player> show_workbench:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3088

Namesign_update
ObjectPlayerTag
InputElementTag
DescriptionShows the player fake lines on a sign, with input in the format of LocationTag|ListTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3725

Nameskin
ObjectPlayerTag
InputElementTag
DescriptionChanges the skin of the player to the skin of the given player name.
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3850

Nameskin_blob
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.skin_blob> Returns the player's current skin blob. (...)
DescriptionChanges the skin of the player to the specified blob.
In the format: "texture;signature" (two values separated by a semicolon).
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3867

Namespawn_forced
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.spawn_forced> Returns whether the player's bed spawn location is forced (ie still valid even if a bed is missing).
DescriptionSets whether the player's bed spawn location is forced (ie still valid even if a bed is missing).
Generated Example
- adjust <player> spawn_forced:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2947

Namespectate
ObjectPlayerTag
InputEntityTag
DescriptionForces the player to spectate from the entity's point of view, using a packet (meaning, the player starts spectating clientside, but not serverside).
The player will not move from their existing location serverside.
To cause real spectator mode spectating, use Mechanism:PlayerTag.spectator_target
Note that in some cases you may want to force the player into the spectate gamemode prior to using this mechanism.
Note: They cannot cancel the spectating without a re-log -- you must make them spectate themselves to cancel the effect.
Like: - adjust <player> spectate:<player>
Generated Example
- adjust <player> spectate:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3538

Namespectator_target
ObjectPlayerTag
InputEntityTag
Related Tags<PlayerTag.spectator_target> Returns the entity that a spectator-mode player is currently spectating, if any.
DescriptionSwitches the player to spectator mode and causes them to immediately start spectating an entity.
To instead fake this effect, use Mechanism:PlayerTag.spectate
Give no input to detach the player from any target.
Generated Example
- adjust <player> spectator_target:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3517

Namesprinting
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.is_sprinting> Returns whether the player is currently sprinting.
DescriptionSets whether the player is sprinting.
Generated Example
- adjust <player> sprinting:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3017

Namestop_sound
ObjectPlayerTag
InputElementTag
DescriptionStops all sounds of the specified type for the player.
Valid types are AMBIENT, BLOCKS, HOSTILE, MASTER, MUSIC, NEUTRAL, PLAYERS, RECORDS, VOICE, and WEATHER
Instead of a type, you can specify a full sound key, which usually has the 'minecraft:' prefix.
If no sound type is specified, all types will be stopped.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3787

Nametab_list_info
ObjectPlayerTag
InputElementTag
DescriptionShow the player some text in the header and footer area in their tab list.
- adjust <player> tab_list_info:<header>|<footer>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3700

Nameunhide_entities
ObjectPlayerTag
InputElementTag
DescriptionRemoves any entity hides added by Mechanism:PlayerTag.hide_entities. Input must exactly match the input given to the hide mechanism.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3238

Nameupdate_advancements
ObjectPlayerTag
InputNone
DescriptionUpdates the player's client-side advancements to match their server data.
Generated Example
- adjust <player> update_advancements
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3820

Namevision
ObjectPlayerTag
InputElementTag
DescriptionChanges the player's vision to the provided entity type. Valid types:
ENDERMAN, CAVE_SPIDER, SPIDER, CREEPER
Provide no value to reset the player's vision.
Note: This is powered by a bug in Minecraft that has been present for a long time, but may at some point be 'fixed' by Mojang.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2665

Namewalk_speed
ObjectPlayerTag
InputElementTag(Decimal)
Related Tags<PlayerTag.walk_speed> Returns the speed the player can walk at. (...)
DescriptionSets the walk speed of the player. The standard value is '0.2'. Valid range is 0.0 to 1.0
Works with offline players.
Generated Example
- adjust <player> walk_speed:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3134

Namewindow_property
ObjectPlayerTag
InputElementTag
DescriptionSets various properties of a window the player has open, such as the open page in a lectern.
Input is of the form PROPERTY,VALUE where the value is a number.
Note that any adjusted window properties are entirely clientside.
Valid properties: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/InventoryView.Property.html
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2716

Nameadd_tab_completions
ObjectPlayerTag
InputListTag
DescriptionAdds custom tab completions that will be suggested to the player when typing in chat.
Tab completions added by this mechanism can be removed using Mechanism:PlayerTag.remove_tab_completions.
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperPlayerExtensions.java#L84

Nameaffects_monster_spawning
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.affects_monster_spawning> Returns whether the player affects monster spawning. When false, no monsters will spawn naturally because of this player.
DescriptionSets whether this player affects monster spawning. When false, no monsters will spawn naturally because of this player.
Generated Example
- adjust <player> affects_monster_spawning:true
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperPlayerExtensions.java#L28

Namebonus_blocks
ObjectPlayerTag
InputElementTag(Number)
Related Tags<PlayerTag.griefprevention.blocks.bonus> Returns the number of bonus claim blocks the player has.
DescriptionSets the player's bonus claim blocks.
Generated Example
- adjust <player> bonus_blocks:1
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionPlayerProperties.java#L153

Namechat_prefix
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.chat_prefix> Returns the player's chat prefix. (...)
DescriptionSet the player's chat prefix.
Requires a Vault-compatible chat plugin.
RequiresVault
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3920

Namechat_suffix
ObjectPlayerTag
InputElementTag
Related Tags<PlayerTag.chat_suffix> Returns the player's chat suffix. (...)
DescriptionSet the player's chat suffix.
Requires a Vault-compatible chat plugin.
RequiresVault
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3939

Namedisplay_bigdoors_manager
ObjectPlayerTag
InputNone
DescriptionOpens the Big Doors manager (bdm).
Generated Example
- adjust <player> display_bigdoors_manager
RequiresDepenizen, Big Doors
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/bigdoors/BigDoorsPlayerProperties.java#L70

Nameessentials_ignore
ObjectPlayerTag
InputPlayerTag(|ElementTag(Boolean))
Related Tags<PlayerTag.ignored_players> Returns a list of the ignored players of the player.
DescriptionSets whether the player should ignore another player.
Optionally, specify a boolean indicate whether to ignore (defaults to true).
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L332

Namefake_op_level
ObjectPlayerTag
InputElementTag(Number)
DescriptionSends a fake operator level to the client, enabling clientside op-required features like the debug gamemode hotkey (F3+F4).
Input should be a number from 0 to 4, 0 indicating not op and 4 indicating maximum level op.
The input number value corresponds to "op-permission-level" in the server.properties. See also 🔗https://minecraft.fandom.com/wiki/Permission_level
This will be reset when a player rejoins, changes world, has their real op status changed, ...
Generated Example
- adjust <player> fake_op_level:1
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperPlayerExtensions.java#L65

Namefirework_boost
ObjectPlayerTag
InputItemTag
DescriptionFirework boosts the player with the specified firework rocket.
The player must be gliding.
Generated Example
- adjust <player> firework_boost:iron_sword
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperPlayerExtensions.java#L44

Namegod_mode
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.god_mode> Returns whether the player is currently in god mode.
DescriptionSets whether the player has god mode enabled.
Generated Example
- adjust <player> god_mode:false
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L270

Nameis_afk
ObjectPlayerTag
InputElementTag(Boolean)
Related Tags<PlayerTag.is_afk> Returns whether the player is AFK.
DescriptionSets whether the player is marked as AFK.
Generated Example
- adjust <player> is_afk:false
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L256

Nameis_muted
ObjectPlayerTag
InputElementTag(Boolean)(|DurationTag)
Related Tags