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 634 mechanisms...

Categories:

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



Category: BiomeTag Mechanisms


Namebase_temperature
ObjectBiomeTag
InputElementTag(Decimal)
Related Tags<BiomeTag.base_temperature> Returns the base temperature of this biome, which is used for per-location temperature calculations (see Tag:BiomeTag.temperature_at).
DescriptionSets the base temperature for this biome server-wide.
This is used as a base for temperature calculations, but the end temperature is calculated per-location (see Tag:BiomeTag.temperature_at).
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#L466

Namedownfall_type
ObjectBiomeTag
InputElementTag
Related Tags<BiomeTag.base_temperature> Returns the base temperature of this biome, which is used for per-location temperature calculations (see Tag:BiomeTag.temperature_at).
DescriptionDeprecated on 1.19+, as Minecraft removed the ability to set this value.
Sets 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
DeprecatedThis functionality was removed from Minecraft as of 1.19.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L487

Namefog_color
ObjectBiomeTag
InputColorTag
Related Tags<BiomeTag.fog_color> Returns the biome's fog color, which is visible when outside water (see also Tag:BiomeTag.water_fog_color).
DescriptionSets the biome's fog color, which is visible when outside water (see also Mechanism:BiomeTag.water_fog_color).
Example
# Makes the plains biome's fog color red permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> fog_color:red
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L372

Namefoliage_color
ObjectBiomeTag
InputColorTag
Related Tags<BiomeTag.foliage_color> Returns the approximate foliage color of this biome. Foliage includes leaves and vines. (...)
DescriptionSets the foliage color of this biome. Foliage includes leaves and vines.
Colors reset on server restart. For the change to take effect on the players' clients, they must quit and rejoin the server.
Example
# Adjusts the foliage color of the plains biome permanently, using a server start event to keep it applied.
# Now the leaves and vines will be a nice salmon-pink!
on server start:
- adjust <biome[plains]> foliage_color:#F48D8D
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L426

Namehas_downfall
ObjectBiomeTag
InputElementTag(Boolean)
Related Tags<BiomeTag.has_downfall> Returns whether the biome has downfall (rain/snow).
DescriptionSets whether the biome has downfall (rain/snow).
Example
# Disables downfall for the plains biome permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> has_downfall:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L406

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#L445

Namewater_fog_color
ObjectBiomeTag
InputColorTag
Related Tags<BiomeTag.water_fog_color> Returns the biome's water fog color, which is visible when underwater (see also Tag:BiomeTag.fog_color).
DescriptionSets the biome's water fog color, which is visible when underwater (see also Mechanism:BiomeTag.fog_color).
Example
# Makes the plains biome's water fog color fuchsia permanently, using a server start event to keep it applied.
on server start:
- adjust <biome[plains]> water_fog_color:fuchsia
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L389



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#L827

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#L811

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#L765

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#L846

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#L875

Namerefresh_chunk_sections
ObjectChunkTag
InputNone
DescriptionRefreshes all 16x16x16 chunk sections within the chunk.
For MC 1.18+, prefer Mechanism:ChunkTag.refresh_chunk
Example
- adjust <player.location.chunk> refresh_chunk_sections
Deprecatedfor MC 1.18+, use 'refresh_chunk'
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L890

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#L861

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#L911

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#L781

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#L796



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,cu@..." 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).
Example
# Adds "my_second_cuboid" as a member to "my_cuboid" and narrates a formatted list of members.
# For example, if "my_cuboid" is "world,5,5,5,10,10,10" and "my_second_cuboid" is "world,12,12,12,22,22,22",
# then this will narrate "world,5,5,5,10,10,10 and world,12,12,12,22,22,22".
- adjust <cuboid[my_cuboid]> add_member:my_second_cuboid
- narrate <cuboid[my_cuboid].list_members.formatted>
Example
# Adds "my_second_cuboid" as a member to "my_cuboid" at the second index.
- adjust <cuboid[my_cuboid]> add_member:2,my_second_cuboid
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1787

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.
Example
# Removes the second member from "my_cuboid" and narrates a formatted list of members.
# For example, if "my_cuboid" is "world,5,5,5,10,10,10" and it's second member is "world,12,12,12,22,22,22",
# after the member is removed then this will narrate "world,5,5,5,10,10,10".
- adjust <cuboid[my_cuboid]> remove_member:2
- narrate <cuboid[my_cuboid].list_members.formatted>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1834

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,cu@..." 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#L1750



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#L3585

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_lock
ObjectEntityTag
InputElementTag(Boolean)
DescriptionDeprecated in favor of Mechanism:EntityTag.age_locked.
Generated Example
- adjust <player> age_lock:true
Deprecateduse 'age_locked'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAgeLocked.java#L62

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#L3141

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:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAnger.java#L92

Nameanger_at
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.anger_at[<entity>]> Returns a warden's anger level at a specific entity.
DescriptionSets a warden's anger towards a specific entity.
The input map needs to have the following keys:
- "entity", the entity to set anger for.
- "anger", the amount of anger.
See Mechanism:EntityTag.clear_anger for clearing anger.
See Mechanism:EntityTag.increase_anger for increasing it.
Example
# Use to set a warden's anger at a specific entity to 20.
- adjust <[warden]> anger_at:[entity=<[entity]>;anger=20]
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3042

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:0
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://b-universe.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:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4406

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:1.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4379

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#L470

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

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:3
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#L3509

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#L3495

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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3416

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:5m
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:false
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, sets whether the skull is charged. Charged skulls are blue.
If the entity is a vex, sets 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.
If the entity is a guardian, sets whether the guardian's laser is active.
Note that guardians require a target to use their laser, see Command:attack.
Generated Example
- adjust <player> charged:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCharged.java#L70

Nameclear_anger
ObjectEntityTag
InputEntityTag
Related Tags<EntityTag.anger_at[<entity>]> Returns a warden's anger level at a specific entity.
DescriptionClears a warden's anger towards the input entity.
Example
# Use to clear a warden's anger towards a specific entity.
- adjust <[warden]> clear_anger:<[entity]>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3017

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#L390

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#L3770

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:12h
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:true
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#L419

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.
Provide no input to remove the custom name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCustomName.java#L60

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

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:12h
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#L4083

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#L3948

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:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L508

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#L521

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:<npc.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#L4168

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:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3962

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:false
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:1.5
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:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3843

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#L4455

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#L3855

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#L3430

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

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#L3455

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:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4427

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:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3467

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#L4270

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:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4221

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:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4288

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#L4237

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#L4322

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:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4305

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:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4205

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#L4255

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:<player.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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3737

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#L3975

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#L4157

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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3919

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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3932

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_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:true
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:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4118

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.5
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#L4002

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:<player.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#L4102

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

Nameincrease_anger
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.anger_at[<entity>]> Returns a warden's anger level at a specific entity.
DescriptionIncreases a warden's anger towards a specific entity.
The input map needs to have the following keys:
- "entity", the entity to increase anger for.
- "anger", the amount of anger to add.
See Mechanism:EntityTag.clear_anger for clearing anger.
See Mechanism:EntityTag.anger_at for setting it.
Example
# Use to increase a warden's anger at a specific entity by 20.
- adjust <[warden]> increase_anger:[entity=<[entity]>;anger=20]
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3082

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#L3888

Nameinternal_data
ObjectEntityTag
InputMapTag
DescriptionModifies an entity's internal entity data as a map of data name to value.
You should almost always prefer using the appropriate mechanism/property instead of this, other than very specific special cases.
See Language:Internal Entity Data for more information on the input.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3241

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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInvulnerable.java#L80

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:false
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_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:<player.item_in_hand>
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:3
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> Returns the knockback strength of an arrow or trident.
DescriptionSets the knockback strength of an arrow or trident.
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#L55

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#L4192

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:<player>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3480

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#L3673

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#L4478

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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMarker.java#L83

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:4
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:0
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:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3805

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#L4179

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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4042

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

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:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3791

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:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3598

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#L535

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:blue
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L457

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#L3548

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#L3523

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:<npc.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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3721

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#L3905

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

Nameplay_hurt_animation
ObjectEntityTag
InputElementTag(Decimal)
DescriptionPlays a hurt animation that makes the living entity flash red. When the entity is a player, you can change the direction the camera rotates.
Damage direction is relative to the player, where 0 is in front, 90 is to the right, 180 is behind, and 270 is to the left.
For versions 1.19 or below, use Command:animate.
Example
# The player's camera will rotate as if the player took damage from the right and the player will flash red.
- adjust <player> play_hurt_animation:90
Example
# This will flash the entity red as if it took damage.
- adjust <[entity]> play_hurt_animation:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3216

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:true
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#L4145

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#L113

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#L156

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:true
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:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L548

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#L561

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:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L575

Nameraw_nbt
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.all_raw_nbt> Returns the entity's entire raw NBT data as a MapTag. (...)
DescriptionModifies an entity's raw NBT data based on the input MapTag.
The input MapTag must be in MapTag NBT format (Language:Raw NBT Encoding), and needs to be strictly perfect.
This doesn't override all the entity's data, only the values specified in the input map are set.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3285

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:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L589

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#L4338

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#L3629

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#L3651

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#L326

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#L403

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#L3613

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#L4358

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#L3866

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#L3697

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#L3877

Namesense_disturbance
ObjectEntityTag
InputLocationTag
DescriptionMakes a warden sense a disturbance at the input location.
Example
# Use to make a warden sense a disturbance at the linked player's location.
- adjust <[warden]> sense_disturbance:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3122

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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3757

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:<player>
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#L3402

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:true
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#L3988

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:4
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).
If you set a player as silent, it may also prevent the player from *hearing* sound.
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:1
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)
DescriptionDeprecated in favor of Mechanism:EntityTag.aggressive.
Generated Example
- adjust <player> skeleton_arms_raised:false
Deprecateduse 'EntityTag.aggressive'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4130

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#L4016

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#L603

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:1.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySpeed.java#L99

Namestart_using_hand
ObjectEntityTag
InputElementTag
DescriptionForces an entity to start using one of its hands.
Input is either HAND or OFF_HAND, defaults to HAND.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3180

Namestop_using_hand
ObjectEntityTag
InputNone
DescriptionForces an entity to stop using either hand.
Generated Example
- adjust <player> stop_using_hand
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3201

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:true
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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4070

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:1m
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#L3569

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:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L4444

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

Nametrap_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.trapped> Returns whether the skeleton horse is trapped. (...)
DescriptionSets the skeleton horse's trap time.
Trap time will go up every tick for as long as the horse is trapped (see Tag:EntityTag.trapped).
A trap time greater than 18000 ticks (15 minutes) will despawn the horse on the next tick.
Generated Example
- adjust <player> trap_time:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTrapTime.java#L58

Nametrapped
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.trapped> Returns whether the skeleton horse is trapped. (...)
DescriptionSets whether the skeleton horse is trapped.
A trapped skeleton horse will trigger the skeleton horse trap when the player is within 10 blocks of it.
Generated Example
- adjust <player> trapped:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTrapped.java#L57

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#L3819

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:1
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

Namevisual_pose
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.visual_pose> Returns the name of the entity's current visual pose. (...)
DescriptionSets the entity's visual pose, must be one of 🔗https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Pose.html.
Note that not all entities support all poses, some are only supported by specific entity types.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3162

Namewait_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.wait_time> Returns the duration before the Area Effect Cloud starts applying potion effects.
DescriptionSets the duration before the Area Effect Cloud starts applying potion effects.
Generated Example
- adjust <player> wait_time:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L616

Nameage
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.age> (Property) Returns the entity's age. (...)
Description(Property) Sets the entity's age.
Age moves 1 towards zero each tick.
A newly spawned baby is -24000, a standard adult is 0, an adult that just bred is 6000.
For the mechanism, inputs can be 'baby', 'adult', or a valid age number.
Also available: Mechanism:EntityTag.age_locked and Tag:EntityTag.is_baby
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAge.java#L17

Nameage_locked
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.age_locked> (Property) Returns whether the entity is locked into its current age.
Description(Property) Sets whether the entity is locked into its current age.
Generated Example
- adjust <player> age_locked:false
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAgeLocked.java#L11

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

Namebackground_color
ObjectEntityTag
InputColorTag
Related Tags<EntityTag.background_color> (Property) A text display entity's background color. (...)
Description(Property) A text display entity's background color.
Note that this is based on experimental API; while unlikely, breaking changes aren't impossible.
Generated Example
- adjust <player> background_color:blue
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBackgroundColor.java#L12

Nameboat_type
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.boat_type> (Property) Returns the wood type of the boat. (...)
Description(Property) Sets the wood type of the boat.
Valid wood types can be found here: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/TreeSpecies.html
Deprecated in versions 1.19 and above. Use Property:EntityTag.color.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBoatType.java#L15

Namebrightness
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.brightness> (Property) A map of the display entity's brightness override (if any), containing "block" and "sky" keys, each with a brightness level between 0 and 15. (...)
Description(Property) A map of the display entity's brightness override (if any), containing "block" and "sky" keys, each with a brightness level between 0 and 15.
For the mechanism: provide no input to remove the brightness override.
Example
# Sets the brightness of the display entity to be as if the block was well lit by a torch in a cave (no sky light).
- adjust <[some_entity]> brightness:[sky=0;block=15]
Example
# Spawns a block_display entity of a stone that is middle brightness from both the sky and block sources.
- spawn block_display[material=stone;brightness=[sky=7;block=7]] <player.location>
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBrightness.java#L11

Namecan_break_doors
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.can_break_doors> (Property) Whether a zombie can break doors.
Description(Property) Whether a zombie can break doors.
Generated Example
- adjust <player> can_break_doors:true
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCanBreakDoors.java#L10

Namecolor
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.color> (Property) If the entity can have a color, controls the entity's color. (...)
Description(Property) If the entity can have a color, controls the entity's color.
For the available color options, refer to Language:Entity Color Types.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityColor.java#L24

Namedamage
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.damage> (Property) The amount of damage an arrow/trident will inflict. (...)
Description(Property) The amount of damage an arrow/trident will inflict.
Note that the actual damage dealt by the arrow/trident may be different depending on the projectile's flight speed.
Generated Example
- adjust <player> damage:1.5
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArrowDamage.java#L10

Namedefault_background
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.default_background> (Property) Whether a text display entity's background is default (same as the chat window), or custom set (see Property:EntityTag.background_color).
Description(Property) Whether a text display entity's background is default (same as the chat window), or custom set (see Property:EntityTag.background_color).
Generated Example
- adjust <player> default_background:false
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDefaultBackground.java#L10

Namedisplay
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.display> (Property) For an item display entity this is the model transform it will display, can be any of 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/ItemDisplay.ItemDisplayTransform.html. (...)
Description(Property) For an item display entity this is the model transform it will display, can be any of 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/ItemDisplay.ItemDisplayTransform.html.
For a text display entity this is its text alignment, can be any of 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/TextDisplay.html.
Synonyms (Search Aid)entitytag.display_transform, entitytag.text_alignment
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisplay.java#L11

Namedrops_item
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.drops_item> (Property) Whether an eye of ender drops an item when breaking or shatters. (...)
Description(Property) Whether an eye of ender drops an item when breaking or shatters.
See Property:EntityTag.item for controlling an eye's item.
Generated Example
- adjust <player> drops_item:true
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDropsItem.java#L10

Nameexplored_locations
ObjectEntityTag
InputListTag(LocationTag)
Related Tags<EntityTag.explored_locations> (Property) Returns a sniffer's explored locations.
Description(Property) Sets a sniffer's explored locations.
Note that if the sniffer is not in the same world as the input LocationTag(s), then the LocationTag(s) will not be added to the list of explored locations.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityExploredLocations.java#L11

Nameglow_color
ObjectEntityTag
InputColorTag
Related Tags<EntityTag.glow_color> (Property) A display entity's glow color override, if any. (...)
Description(Property) A display entity's glow color override, if any.
For the mechanism: provide no input to remove the override.
Generated Example
- adjust <player> glow_color:red
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityGlowColor.java#L12

Namehas_ai
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.has_ai> (Property) Returns whether this entity will use the default Minecraft AI to roam and look around. (...)
Description(Property) Sets 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.
This generally shouldn't be used with NPCs. NPCs do not have vanilla AI, regardless of what this tag returns.
Other programmatic methods of blocking AI might also not be accounted for by this tag.
Generated Example
- adjust <player> has_ai:true
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAI.java#L9

Nameheight
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.height> (Property) For a display entity, this is the height of it's culling box. The box will span from the entity's y to the entity's y + the height. (...)
Description(Property) For a display entity, this is the height of it's culling box. The box will span from the entity's y to the entity's y + the height.
The default value for these is 0, which disables culling entirely.
For an interaction entity, this is the height of it's bounding box (the area that can be interacted with).
Generated Example
- adjust <player> height:2
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHeight.java#L11

Nameinterpolation_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.interpolation_duration> (Property) The duration a display entity will spend interpolating between interpolated value(s). (...)
Description(Property) The duration a display entity will spend interpolating between interpolated value(s).
See also Language:Display entity interpolation.
Generated Example
- adjust <player> interpolation_duration:12h
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInterpolationDuration.java#L10

Nameinterpolation_start
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.interpolation_start> (Property) The delay between a display entity receiving an update to an interpolated value(s) to it starting its interpolation. (...)
Description(Property) The delay between a display entity receiving an update to an interpolated value(s) to it starting its interpolation.
Interpolation is started whenever this value is set. If no changes were made to the entity in the same tick, it will (visually) redo its last interpolation.
See also Language:Display entity interpolation.
Generated Example
- adjust <player> interpolation_start:5m
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInterpolationStart.java#L19

Nameis_aware
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_aware> (Property) For mobs (Tag:EntityTag.is_mob), this is whether the entity is aware of its surroundings. (...)
Description(Property) For mobs (Tag:EntityTag.is_mob), this is 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 Property:EntityTag.has_ai, except allows the entity to be moved by gravity, being pushed or attacked, etc.
For interaction entities, this is whether interacting with them should trigger a response (arm swings, sounds, etc.).
Generated Example
- adjust <player> is_aware:true
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAware.java#L13

Nameitem
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.item> (Property) An entity's item, which can be: (...)
Description(Property) An entity's item, which can be:
- the item represented and displayed by a dropped item.
- the item represented by a thrown trident.
- a throwable projectile's display item.
- an eye-of-ender's item, which is both displayed and dropped.
- a fireball's display item.
- an item display's display item.
Generated Example
- adjust <player> item:stick
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItem.java#L21

Nameleft_rotation
ObjectEntityTag
InputQuaternionTag
Related Tags<EntityTag.left_rotation> (Property) A display entity's "left" rotation. (...)
Description(Property) A display entity's "left" rotation.
Note that Mechanism:EntityTag.right_rotation is also available, but should normally use this instead.
Generated Example
- adjust <player> left_rotation:identity
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityLeftRotation.java#L12

Nameline_width
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.line_width> (Property) A text display entity's line width, used to split lines (note that newlines can still be added as normal).
Description(Property) A text display entity's line width, used to split lines (note that newlines can still be added as normal).
Generated Example
- adjust <player> line_width:1
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityLineWidth.java#L10

Namematerial
ObjectEntityTag
InputMaterialTag
Related Tags<EntityTag.material> (Property) An entity's associated block material. (...)
Description(Property) An entity's associated block material.
For endermen, this is the block being held.
For minecarts, this is the block being carried.
For block displays, this is the block being displayed.
Generated Example
- adjust <player> material:stick
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMaterial.java#L16

Nameopacity
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.opacity> (Property) A text display entity's text opacity, from 0 to 255. (...)
Description(Property) A text display entity's text opacity, from 0 to 255.
Can be interpolated, see Language:Display entity interpolation.
Note that there's currently an edge-case/bug where 0-3 are completely opaque, and it only becomes transparent at 4.
Generated Example
- adjust <player> opacity:4
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityOpacity.java#L10

Namepierce_level
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.pierce_level> (Property) The number of entities an arrow will pierce through while flying. Must be between 0 and 127.
Description(Property) The number of entities an arrow will pierce through while flying. Must be between 0 and 127.
Generated Example
- adjust <player> pierce_level:4
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArrowPierceLevel.java#L10

Namepivot
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.pivot> (Property) A display entity's pivot point/axes, can be any of 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Display.Billboard.html.
Description(Property) A display entity's pivot point/axes, can be any of 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Display.Billboard.html.
Synonyms (Search Aid)entitytag.billboard
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPivot.java#L10

Nameright_rotation
ObjectEntityTag
InputQuaternionTag
Related Tags<EntityTag.right_rotation> (Property) A display entity's "right" rotation. (...)
Description(Property) A display entity's "right" rotation.
Should usually use Mechanism:EntityTag.left_rotation instead.
Generated Example
- adjust <player> right_rotation:identity
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityRightRotation.java#L12

Namescale
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.scale> (Property) A display entity's scale, represented as a ObjectType:LocationTag vector. (...)
Description(Property) A display entity's scale, represented as a ObjectType:LocationTag vector.
Can be interpolated, see Language:Display entity interpolation.
Generated Example
- adjust <player> scale:<player.location>
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityScale.java#L12

Namesee_through
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.see_through> (Property) Whether a text display entity can be seen through blocks.
Description(Property) Whether a text display entity can be seen through blocks.
Generated Example
- adjust <player> see_through:true
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySeeThrough.java#L10

Nameshadow_radius
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.shadow_radius> (Property) The radius of a display entity's shadow. (...)
Description(Property) The radius of a display entity's shadow.
Can be interpolated, see Language:Display entity interpolation.
Generated Example
- adjust <player> shadow_radius:0
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShadowRadius.java#L10

Nameshadow_strength
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.shadow_strength> (Property) The strength of a display entity's shadow. (...)
Description(Property) The strength of a display entity's shadow.
Note that the final opacity will change based on the entity's distance to the block the shadow is on.
Can be interpolated, see Language:Display entity interpolation.
Generated Example
- adjust <player> shadow_strength:1.5
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShadowStrength.java#L10

Namespell
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.spell> (Property) Returns the spell that an Illager entity (such as an Evoker or Illusioner) should cast. (...)
Description(Property) Sets the spell that an Illager entity (such as an Evoker or Illusioner) should cast.
Valid spells are: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Spellcaster.Spell.html
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySpell.java#L11

Namestep_height
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.step_height> (Property) Returns the entity's step height, which controls how many blocks can it walk over. (...)
Description(Property) Sets the entity's step height, which controls how many blocks can it walk over.
As this is based on an internal value, it has some edge-cases, for example:
- most (but not all) living entities can still step over 1 block tall things as usual, even if this is set to 0.
- this doesn't apply to vehicles when the player is controlling them.
Note that this also applies to things like getting pushed.
Generated Example
- adjust <player> step_height:1
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityStepHeight.java#L11

Nameteleport_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.teleport_duration> (Property) The duration a display entity will spend teleporting between positions. (...)
Description(Property) The duration a display entity will spend teleporting between positions.
See also Language:Display entity interpolation.
Generated Example
- adjust <player> teleport_duration:1m
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTeleportDuration.java#L10

Nametext
ObjectEntityTag
InputElementTag
Related Tags<EntityTag.text> (Property) A text display entity's text, supports new lines.
Description(Property) A text display entity's text, supports new lines.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityText.java#L11

Nametext_shadowed
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.text_shadowed> (Property) Whether a text display entity's text has a shadow.
Description(Property) Whether a text display entity's text has a shadow.
Generated Example
- adjust <player> text_shadowed:false
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTextShadowed.java#L10

Nametranslation
ObjectEntityTag
InputLocationTag
Related Tags<EntityTag.translation> (Property) A display entity's translation, represented as a ObjectType:LocationTag vector. (...)
Description(Property) A display entity's translation, represented as a ObjectType:LocationTag vector.
Can be interpolated, see Language:Display entity interpolation.
Generated Example
- adjust <player> translation:<player.location>
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTranslation.java#L12

Nameview_range
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.view_range> (Property) A display entity's view range, how far away from a player will it still be visible to them. (...)
Description(Property) A display entity's view range, how far away from a player will it still be visible to them.
Note that the final value used depends on client settings such as entity distance scaling, and is multiplied by 64 client-side.
Generated Example
- adjust <player> view_range:1.5
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityViewRange.java#L10

Namevisual_fire
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.visual_fire> (Property) Whether an entity has a fake fire effect. For actual fire, see Command:burn and Tag:EntityTag.on_fire.
Description(Property) Whether an entity has a fake fire effect. For actual fire, see Command:burn and Tag:EntityTag.on_fire.
Generated Example
- adjust <player> visual_fire:false
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVisualFire.java#L9

Namewidth
ObjectEntityTag
InputElementTag(Decimal)
Related Tags<EntityTag.width> (Property) For a display entity, this is the width of it's culling box. The box will span half the width in every direction from the entity's position. (...)
Description(Property) For a display entity, this is the width of it's culling box. The box will span half the width in every direction from the entity's position.
The default value for these is 0, which disables culling entirely.
For an interaction entity, this is the width of it's bounding box (the area that can be interacted with).
Generated Example
- adjust <player> width:-1
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityWidth.java#L11

Namedamage_item
ObjectEntityTag
InputMapTag
DescriptionDamages the given equipment slot for the given amount.
This runs all vanilla logic associated with damaging an item like gamemode and enchantment checks, events, stat changes, advancement triggers, and notifying clients to play break animations.
Input is a map with "slot" as a valid equipment slot, and "amount" as the damage amount to be dealt.
Valid equipment slot values can be found at 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/EquipmentSlot.html.
Example
# Damages your precious boots! :(
- adjust <player> damage_item:[slot=feet;amount=45]
Grouppaper
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperEntityExtensions.java#L158

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

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
Groupproperties
RequiresPaper
Deprecateduse 'aggressive'
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityArmsRaised.java#L61

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
Groupproperties
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:true
Groupproperties
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:true
Groupproperties
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
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityDrinkingPotion.java#L86

Namehas_friction
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.has_friction> Returns an entity's friction state if one has been set.
DescriptionForces an entity into a friction state, so it either always or never experiences friction.
An entity with no friction will move in a direction forever until its velocity is changed or it impacts a block.
Does not work with players. Provide empty input to reset an entity back to its vanilla friction behavior.
Generated Example
- adjust <player> has_friction:true
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityFriction.java#L67

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:12h
Groupproperties
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:12h
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityDrinkingPotion.java#L106

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.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityReputation.java#L65

Nameegg_lay_time
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.egg_lay_time> (Property) If the entity is a chicken, controls the duration of time until it next lays an egg.
Description(Property) If the entity is a chicken, controls the duration of time until it next lays an egg.
Generated Example
- adjust <player> egg_lay_time:1m
GroupProperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityEggLayTime.java#L11

Nameis_sneaking
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_sneaking> (Property) Whether an entity is sneaking. (...)
Description(Property) Whether an entity is sneaking.
For most entities this just makes the name tag less visible, and doesn't actually update the pose.
Note that Command:sneak is also available.
Generated Example
- adjust <player> is_sneaking:true
GroupProperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntitySneaking.java#L12

Nameleft_handed
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.left_handed> (Property) Whether a mob is left-handed. Mobs have a rare chance of spawning left-handed.
Description(Property) Whether a mob is left-handed. Mobs have a rare chance of spawning left-handed.
Generated Example
- adjust <player> left_handed:true
GroupProperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityLeftHanded.java#L11

Nameshould_burn
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.should_burn> (Property) If the entity is a Zombie, Skeleton, or Phantom, controls whether it should burn in daylight.
Description(Property) If the entity is a Zombie, Skeleton, or Phantom, controls whether it should burn in daylight.
Generated Example
- adjust <player> should_burn:true
GroupProperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityShouldBurn.java#L13



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#L123



Category: ImageTag Mechanisms


Namescale
ObjectImageTag
InputMapTag
Related Tags<ImageTag.width> Returns the image's width (in pixels).
<ImageTag.height> Returns the image's height (in pixels).
DescriptionRescales an image.
The input is a ObjectType:MapTag with "width" and "height" keys.
Both are optional, and default to the image's current respective value.
Example
Rescales an image to be 50x50
- adjust def:image scale:[width=50;height=50]
Example
Makes an image taller, keeping its existing width.
- adjust def:short_image scale:[height=100]
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ImageTag.java#L245



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:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2487

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:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2504

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#L185

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#L2445

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:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2466

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#L2397

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#L2521

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#L2421

Namesize
ObjectInventoryTag
InputElementTag(Number)
Related Tags<InventoryTag.size> (Property) Returns the size of the inventory. (...)
Description(Property) Sets the size of the inventory.
Note that the mechanism can only be set for "generic" chest inventories.
Generated Example
- adjust <player.inventory> size:4
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventorySize.java#L12

Nametitle
ObjectInventoryTag
InputElementTag
Related Tags<InventoryTag.title> (Property) Returns the title of the inventory. (...)
Description(Property) Sets the title of the inventory.
Note that the mechanism can only be set for "generic" inventories.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryTitle.java#L14

Nametrades
ObjectInventoryTag
InputListTag(TradeTag)
Related Tags<InventoryTag.trades> (Property) Returns the trade recipe list for a merchant inventory.
Description(Property) Sets the trade recipe list for a merchant inventory.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryTrades.java#L15



Category: ItemTag Mechanisms


Nameadd_attribute_modifiers
ObjectItemTag
InputMapTag
Related Tags<ItemTag.attribute_modifiers> (Property) Returns the attribute modifiers of an 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#L120

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:<player.item_in_hand>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemChargedProjectile.java#L130

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:stick
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#L207

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#L169

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#L150

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#L188

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

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:3
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#L111

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:3
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#L194

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:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFirework.java#L174

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
# Use to render sections slowly (to reduce server impact):
- repeat 16 as:x:
    - adjust <item[filled_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#L122

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#L94

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:<player.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:false
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:2
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:<npc.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemMap.java#L231

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#L211

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:iron_sword
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L739

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:
"base_type" - from 🔗https://minecraft.wiki/w/Potion#Item_data

For example: [base_type=strong_swiftness]
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=[base_type=regeneration]
A (relatively) short full potion item would be: potion[potion_effects=<list[[base_type=regeneration]|[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#L233

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:2
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#L371

Nameremove_attribute_modifiers
ObjectItemTag
InputListTag
Related Tags<ItemTag.attribute_modifiers> (Property) Returns the attribute modifiers of an 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#L141

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:4
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:1
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:4
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:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerRange.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_pose
ObjectItemTag
InputMapTag
Related Tags<ItemTag.armor_pose> (Property) Returns the pose of this armor stand item. (...)
Description(Property) Sets the pose of this armor stand item.
Allowed keys: head, body, left_arm, right_arm, left_leg, right_leg
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemArmorPose.java#L19

Nameattribute_modifiers
ObjectItemTag
InputMapTag
Related Tags<ItemTag.attribute_modifiers> (Property) Returns the attribute modifiers of an item, with key as the attribute name and value as a list of modifiers, (...)
Description(Property) Sets the attribute modifiers of an item, with key as the attribute name and value as a list of modifiers,
where each modifier is a MapTag containing keys 'name', 'amount', 'slot', 'operation', and 'id'.
For use as a mechanism, this is a SET operation, meaning pre-existing modifiers are removed.
For format details, refer to Language:attribute modifiers.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemAttributeModifiers.java#L28

Namebase_color
ObjectItemTag
InputElementTag
Related Tags<ItemTag.base_color> (Property) Returns the base color of a shield. (...)
Description(Property) Sets 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).
Tag returns null if there is no base color or patterns.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBaseColor.java#L19

Namecolor
ObjectItemTag
InputColorTag
Related Tags<ItemTag.color> (Property) The color of a leather armor, potion, filled map, or tipped arrow item. (...)
Description(Property) The color of a leather armor, potion, filled map, or tipped arrow item.
For the tag: will return a white ObjectType:ColorTag if the given potion item doesn't have a color.
For the tag: will return null if the given map item doesn't have a color.
Generated Example
- adjust <player.item_in_hand> color:green
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemColor.java#L15

Nameinstrument
ObjectItemTag
InputElementTag
Related Tags<ItemTag.instrument> (Property) A goat horn's instrument, if any. (...)
Description(Property) A goat horn's instrument, if any.
Goat horns will default to playing "ponder_goat_horn" when the instrument is unset, although this is effectively random and shouldn't be relied on.
Valid instruments are: admire_goat_horn, call_goat_horn, dream_goat_horn, feel_goat_horn, ponder_goat_horn, seek_goat_horn, sing_goat_horn, yearn_goat_horn.
For the mechanism: provide no input to unset the instrument.
Example
# This can narrate: "This horn has the ponder_goat_horn instrument!"
- narrate "This horn has the <player.item_in_hand.instrument> instrument!"
Example
# Forces the player's held item to play seek_goat_horn instead of whatever it played before.
# Would break if the player isn't holding a goat horn.
- inventory adjust slot:hand instrument:seek_goat_horn
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemInstrument.java#L12

Nameinventory_contents
ObjectItemTag
InputListTag(ItemTag)
Related Tags<ItemTag.inventory_contents> (Property) A container item's inventory contents.
Description(Property) A container item's inventory contents.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemInventoryContents.java#L28

Namespawner_type
ObjectItemTag
InputEntityTag
Related Tags<ItemTag.spawner_type> (Property) The entity type a spawner item will spawn, if any. (...)
Description(Property) The entity type a spawner item will spawn, if any.
For the mechanism: provide no input to unset the type.
Note that the type can only be unset on 1.20 and above.
Generated Example
- adjust <player.item_in_hand> spawner_type:<npc>
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerType.java#L14

Nametrim
ObjectItemTag
InputMapTag
Related Tags<ItemTag.trim> (Property) An armor item's trim. (...)
Description(Property) An armor item's trim.
Allowed keys: material, pattern.
Valid material values can be found here: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/trim/TrimMaterial.html
Valid pattern values can be found here: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/trim/TrimPattern.html
Valid values also include ones added by datapacks, plugins, etc. as a namespaced key.
For the mechanism, if an item already has a trim, you can omit either material or pattern to keep the original data while also changing the other option.
For example, if you only want to change the pattern and not the material, you can omit the material, and it will use the already existing material.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemTrim.java#L16

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

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
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/ItemArmorStand.java#L85



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#L5141

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#L4867

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:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5292

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#L5364

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#L5111

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#L5126

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#L4618

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:<player.location>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4583

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:stone
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4604

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:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4956

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:1s
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4939

Nameburied_item
ObjectLocationTag
InputItemTag
Related Tags<LocationTag.buried_item> Returns the item buried in a brushable block (also referred to as "suspicious blocks"). Returns air if there is no item buried.
DescriptionSets the buried item in a brushable block (also referred to as "suspicious blocks"). Set to air to have no item buried.
Generated Example
- adjust <player.location> buried_item:<player.item_in_hand>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4426

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#L5376

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#L5184

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#L4900

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#L4883

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#L4917

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#L5332

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:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4973

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:12h
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4998

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:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5023

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#L5094

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:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5079

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:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4836

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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5312

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#L5261

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#L5234

Namelast_interacted_slot
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.last_interacted_slot> Returns the last interacted slot of a Chiseled Bookshelf inventory.
DescriptionSets the last interacted slot of a Chiseled Bookshelf inventory.
Generated Example
- adjust <player.location> last_interacted_slot:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4527

Namelectern_page
ObjectLocationTag
InputElementTag(Number)
Related Tags<LocationTag.lectern_page> Deprecated in favor of Tag:LocationTag.page.
DescriptionDeprecated in favor of Tag:LocationTag.page.
Generated Example
- adjust <player.location> lectern_page:4
DeprecatedUse LocationTag.page
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5162

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#L4743

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#L5204

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

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#L5048

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#L4851

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#L5417

Namesherds
ObjectLocationTag
InputMapTag
Related Tags<LocationTag.sherds> Returns a decorated pot's sherds as a map of sides to ObjectType:MaterialTags of the sherds. (...)
DescriptionSets a decorated pot's sherds, input is a map of sides to ObjectType:MaterialTags of the sherds.
You only need to specify the sides you want to set, and the default value (for removing a side's sherd) is a brick.
Valid sides are: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/DecoratedPot.Side.html.
Valid materials are either a brick or any pottery sherd.
Example
# Sets a decorated pot's left side to a random sherd.
- adjust <[potLocation]> sherds:[left=<server.vanilla_tagged_materials[decorated_pot_sherds].random>]
Example
# Removes a decorated pot's sherds.
- adjust <[potLocation]> sherds:[left=brick;right=brick;front=brick;back=brick]
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4373

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#L4762

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#L5456

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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L5434

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#L4789

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:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4728

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#L4631

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#L4650

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:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4683

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#L4698

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:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4713

Namespawner_type
ObjectLocationTag
InputEntityTag
Related Tags<LocationTag.spawner_type> Returns the type of entity spawned by a mob spawner, if any.
DescriptionSets the entity that a mob spawner will spawn.
Provide no input to unset (only on 1.20 and above).
Generated Example
- adjust <player.location> spawner_type:<npc>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4502

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.wiki/w/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#L5481

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#L5353

Namewaxed
ObjectLocationTag
InputElementTag(Boolean)
Related Tags<LocationTag.waxed> If the location is a sign block, returns whether it is waxed (locked to prevent players editing the text).
DescriptionSets whether the sign at the location is waxed (locked to prevent players editing the text).
Generated Example
- adjust <player.location> waxed:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L4460

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


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:0
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L740

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.5
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L755

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:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialCount.java#L183

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:2
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#L327

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:2
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:true
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

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:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L725

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.
For tripwires, input is ARMED or DISARMED.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialMode.java#L218

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:3
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#L563

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:2
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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSnowable.java#L74

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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSwitchable.java#L230

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.wiki/w/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#L691

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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialWaterlogged.java#L74

Nameage
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.age> (Property) Returns an ageable material's current age. This includes plant growth. (...)
Description(Property) Sets an ageable material's current age. This includes plant growth.
See also Tag:MaterialTag.maximum_age.
Generated Example
- adjust <material[stone]> age:4
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAge.java#L18

Nameattached
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.attached> (Property) Returns whether a material is attached. (...)
Description(Property) Sets 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.
For a tripwire, this sets whether a tripwire hook or string forms a complete tripwire circuit and is ready to trigger.
Updating the property on a tripwire hook will change the texture to indicate a connected string, but will not have any effect when used on the tripwire string itself.
It may however still be used to check whether the string forms a circuit.
For hanging signs, this affects signs hanging below a block and changes whether the chains are vertical (false) or diagonal (true).
Generated Example
- adjust <material[stone]> attached:true
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAttached.java#L17

Nameattachment_face
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.attachment_face> (Property) Returns the current attach direction for attachable materials such as switches, grindstones, and bells. (...)
Description(Property) Sets the current attach direction for attachable materials such as switches, grindstones, and bells.
For bell values, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/data/type/Bell.Attachment.html
For all other supported type values, see 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/data/FaceAttachable.AttachedFace.html
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAttachmentFace.java#L13

Namelevel
ObjectMaterialTag
InputElementTag(Number)
Related Tags<MaterialTag.level> (Property) Returns the current level for a Levelled material, cake, beehives, snow, farmland, or brushable blocks. (...)
Description(Property) Sets the current level for a Levelled material, cake, beehives, snow, farmland, or brushable blocks.
"Levelled" materials include: water, lava, cauldrons, composters, light blocks, brushable blocks, and any other future Levelled implementing types.
For light blocks, this is the brightness of the light.
For water/lava this is the height of the liquid block.
For cauldrons, this is the amount of liquid contained.
For cake, this is the number of bites left.
For beehives/bee nests, this is the amount of honey contained.
For snow, this is the number of partial layers, or the height, of a snow block.
For farmland, this is the moisture level.
For composters, this is the amount of compost.
For brushable blocks (also referred to as "suspicious blocks"), this is the level of dusting. 1.20+ only.
See also Tag:MaterialTag.maximum_level and Tag:MaterialTag.minimum_level.
Generated Example
- adjust <material[stone]> level:2
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLevel.java#L19

Nametype
ObjectMaterialTag
InputElementTag
Related Tags<MaterialTag.type> (Property) Returns the current type of the block. (...)
Description(Property) Sets 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.
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialBlockType.java#L13



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#L1495

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

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:-1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1778

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#L1710

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#L1532

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#L1992

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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1859

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#L1903

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#L1979

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.
DeprecatedThis was removed from Citizens.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1548

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:-1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1564

Namehologram_lines
ObjectNPCTag
InputListTag
Related Tags<NPCTag.hologram_lines> Returns the list of hologram lines attached to an NPC.
DescriptionSets the NPC's hologram lines.
Each item in the list can be either:
- An ElementTag for a permanent hologram line
- A map with "text" (ElementTag) and "duration" (DurationTag) keys for a temporary hologram line that will disappear after the specified duration
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1343

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

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:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1846

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#L1617

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#L1966

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#L1945

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#L1630

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#L1917

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:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1764

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#L1508

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#L1591

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#L1480

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#L1604

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#L1578

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:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1833

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#L1811

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#L1683

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#L1648

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#L1792

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#L1872

Nameteleport_on_stuck
ObjectNPCTag
InputElementTag(Boolean)
Related Tags<NPCTag