Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing all 1947 tags...

Categories:

EntityTag | PlayerTag | WorldTag | paper | BiomeTag | ChunkTag | ColorTag | CuboidTag | EllipsoidTag | InventoryTag | ItemTag | LocationTag | MaterialTag | NPCTag | PluginTag | PolygonTag | ElementTag | ListTag | QueueTag | ScriptTag | TradeTag | schematic | Base | server | FlaggableObject | DurationTag | MapTag | TimeTag | PropertyHolderObject | yaml | ObjectTag | proc | queue | tern | util | skyblock | crackshot | essentials | factions | griefprevention | luckperms | mobarena | mythicmobs | pvparena | placeholder | playerpoints | quests | towny | bungee | AreaShopTag | BigDoorsDoorTag | FactionTag | NationTag | GriefPreventionClaimTag | JobsJobTag | LibsDisguiseTag | LuckPermsTrackTag | PartyTag | MobArenaArenaTag | MythicMobsMobTag | MythicSpawnerTag | PlotSquaredPlotTag | PVPArenaArenaTag | ResidenceTag | ShopKeeperTag | SkillAPIClassTag | TownTag | WorldGuardRegionTag | DiscordBotTag | DiscordChannelTag | DiscordEmbedTag | DiscordGroupTag | DiscordMessageTag | DiscordReactionTag | DiscordRoleTag | DiscordUserTag


Category: EntityTag


Name<EntityTag.can_tick>
ReturnsElementTag(Boolean)
MechanismEntityTag.can_tick
DescriptionIf the entity is an armor stand, returns whether the armor stand can tick.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityCanTick.java#L47

Name<EntityTag.xp_spawn_reason>
ReturnsElementTag
DescriptionIf the entity is an experience orb, returns its spawn reason.
Valid spawn reasons can be found at URL:https://papermc.io/javadocs/paper/org/bukkit/entity/ExperienceOrb.SpawnReason.html
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityExperienceOrb.java#L45

Name<EntityTag.xp_trigger>
ReturnsEntityTag
DescriptionIf the entity is an experience orb, returns the entity that triggered it spawning (if any).
For example, if a player killed an entity this would return the player.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityExperienceOrb.java#L58

Name<EntityTag.xp_source>
ReturnsEntityTag
DescriptionIf the entity is an experience orb, returns the entity that it was created from (if any).
For example, if the xp orb was spawned from breeding this would return the baby.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityExperienceOrb.java#L79

Name<EntityTag.from_spawner>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity was spawned from a spawner.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityFromSpawner.java#L40

Name<EntityTag.spawn_location>
ReturnsLocationTag
DescriptionReturns the initial spawn location of this entity.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntitySpawnLocation.java#L42

Name<EntityTag.entity_type>
ReturnsElementTag
DescriptionReturns the type of the entity.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1147

Name<EntityTag.translated_name>
ReturnsElementTag
DescriptionReturns the localized name of the entity.
Note that this is a magic Denizen tool - refer to Language:Denizen Text Formatting.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1158

Name<EntityTag.is_spawned>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is spawned.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1170

Name<EntityTag.eid>
ReturnsElementTag(Number)
DescriptionReturns the entity's temporary server entity ID.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1181

Name<EntityTag.uuid>
ReturnsElementTag
DescriptionReturns the permanent unique ID of the entity.
Works with offline players.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1192

Name<EntityTag.script>
ReturnsScriptTag
DescriptionReturns the entity script that spawned this entity, if any.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1204

Name<EntityTag.name>
ReturnsElementTag
DescriptionReturns the name of the entity.
This can be a player name, an NPC name, a custom_name, or the entity type.
Works with offline players.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1244

Name<EntityTag.saddle>
ReturnsItemTag
DescriptionIf the entity is a horse or pig, returns the saddle as a ItemTag, or air if none.
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1261

Name<EntityTag.horse_armor>
ReturnsItemTag
DescriptionIf the entity is a horse, returns the item equipped as the horses armor, or air if none.
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1278

Name<EntityTag.has_saddle>
ReturnsElementTag(Boolean)
DescriptionIf the entity is a pig or horse, returns whether it has a saddle equipped.
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1292

Name<EntityTag.is_trading>
ReturnsElementTag(Boolean)
DescriptionReturns whether the villager entity is trading.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1309

Name<EntityTag.trading_with>
ReturnsPlayerTag
DescriptionReturns the player who is trading with the villager entity, or null if it is not trading.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1322

Name<EntityTag.map_trace>
ReturnsLocationTag
DescriptionReturns a 2D location indicating where on the map the entity's looking at.
Each coordinate is in the range of 0 to 128.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1340

Name<EntityTag.can_see[<entity>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity can see the specified other entity (has an uninterrupted line-of-sight).
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1374

Name<EntityTag.eye_location>
ReturnsLocationTag
DescriptionReturns the location of the entity's eyes.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1391

Name<EntityTag.eye_height>
ReturnsElementTag(Number)
DescriptionReturns the height of the entity's eyes above its location.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1402

Name<EntityTag.cursor_on_solid[(<range>)]>
ReturnsLocationTag
DescriptionReturns the location of the solid block the entity is looking at.
Optionally, specify a maximum range to find the location from (defaults to 200).
This uses logic equivalent to Tag:LocationTag.precise_cursor_on_block[(range)].
Note that this will return null if there is no solid block in range.
This only uses solid blocks, ie it ignores passable blocks like tall-grass. Use Tag:EntityTag.cursor_on to include passable blocks.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1416

Name<EntityTag.cursor_on[(<range>)]>
ReturnsLocationTag
DescriptionReturns the location of the block the entity is looking at.
Optionally, specify a maximum range to find the location from (defaults to 200).
This uses logic equivalent to Tag:LocationTag.precise_cursor_on_block[(range)].
Note that this will return null if there is no block in range.
This uses all blocks, ie it includes passable blocks like tall-grass and water. Use Tag:EntityTag.cursor_on to include passable blocks.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1439

Name<EntityTag.location>
ReturnsLocationTag
DescriptionReturns the location of the entity.
For living entities, this is at the center of their feet.
For eye location, use Tag:EntityTag.eye_location
Works with offline players.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1462

Name<EntityTag.standing_on>
ReturnsLocationTag
DescriptionReturns the location of the block the entity is standing on top of (if on the ground, returns null if in the air).
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1501

Name<EntityTag.body_yaw>
ReturnsElementTag(Decimal)
DescriptionReturns the entity's body yaw (separate from head yaw).
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1516

Name<EntityTag.velocity>
ReturnsLocationTag
MechanismEntityTag.velocity
DescriptionReturns the movement velocity of the entity.
Note: Does not accurately calculate player clientside movement velocity.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1527

Name<EntityTag.world>
ReturnsWorldTag
DescriptionReturns the world the entity is in. Works with offline players.
Grouplocation
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1540

Name<EntityTag.can_pickup_items>
ReturnsElementTag(Boolean)
MechanismEntityTag.can_pickup_items
DescriptionReturns whether the entity can pick up items.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1555

Name<EntityTag.fallingblock_material>
ReturnsMaterialTag
MechanismEntityTag.fallingblock_type
DescriptionReturns the material of a fallingblock-type entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1570

Name<EntityTag.fall_distance>
ReturnsElementTag(Decimal)
MechanismEntityTag.fall_distance
DescriptionReturns how far the entity has fallen.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1585

Name<EntityTag.fire_time>
ReturnsDurationTag
MechanismEntityTag.fire_time
DescriptionReturns the duration for which the entity will remain on fire
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1597

Name<EntityTag.on_fire>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is currently ablaze or not.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1609

Name<EntityTag.leash_holder>
ReturnsEntityTag
MechanismEntityTag.leash_holder
DescriptionReturns the leash holder of entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1620

Name<EntityTag.passengers>
ReturnsListTag(EntityTag)
MechanismEntityTag.passengers
DescriptionReturns a list of the entity's passengers, if any.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1635

Name<EntityTag.passenger>
ReturnsEntityTag
MechanismEntityTag.passenger
DescriptionReturns the entity's passenger, if any.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1651

Name<EntityTag.shooter>
ReturnsEntityTag
MechanismEntityTag.shooter
DescriptionReturns the entity's shooter, if any.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1666

Name<EntityTag.left_shoulder>
ReturnsEntityTag
MechanismEntityTag.left_shoulder
DescriptionReturns the entity on the entity's left shoulder.
Only applies to player-typed entities.
NOTE: The returned entity will not be spawned within the world,
so most operations are invalid unless the entity is first spawned in.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1682

Name<EntityTag.right_shoulder>
ReturnsEntityTag
MechanismEntityTag.right_shoulder
DescriptionReturns the entity on the entity's right shoulder.
Only applies to player-typed entities.
NOTE: The returned entity will not be spawned within the world,
so most operations are invalid unless the entity is first spawned in.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1699

Name<EntityTag.vehicle>
ReturnsEntityTag
DescriptionIf the entity is in a vehicle, returns the vehicle as a EntityTag.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1716

Name<EntityTag.can_breed>
ReturnsElementTag(Boolean)
MechanismEntityTag.can_breed
DescriptionReturns whether the animal entity is capable of mating with another of its kind.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1730

Name<EntityTag.breeding>
ReturnsElementTag(Boolean)
MechanismEntityTag.breed
DescriptionReturns whether the animal entity is trying to with another of its kind.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1745

Name<EntityTag.has_passenger>
ReturnsElementTag(Boolean)
MechanismEntityTag.passenger
DescriptionReturns whether the entity has a passenger.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1760

Name<EntityTag.is_empty>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity does not have a passenger.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1772

Name<EntityTag.is_inside_vehicle>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is inside a vehicle.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1783

Name<EntityTag.is_leashed>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is leashed.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1794

Name<EntityTag.is_sheared>
ReturnsElementTag(Boolean)
DescriptionReturns whether a sheep is sheared.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1805

Name<EntityTag.is_on_ground>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is supported by a block.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1819

Name<EntityTag.is_persistent>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity will not be removed completely when far away from players.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1830

Name<EntityTag.is_collidable>
ReturnsElementTag(Boolean)
MechanismEntityTag.collidable
DescriptionReturns whether the entity is collidable.
Returns the persistent collidable value for NPCs.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1841

Name<EntityTag.is_sleeping>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player, NPC, or villager is currently sleeping.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1857

Name<EntityTag.killer>
ReturnsPlayerTag
DescriptionReturns the player that last killed the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1873

Name<EntityTag.last_damage.amount>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of the last damage taken by the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1885

Name<EntityTag.last_damage.cause>
ReturnsElementTag
DescriptionReturns the cause of the last damage taken by the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1896

Name<EntityTag.last_damage.duration>
ReturnsDurationTag
MechanismEntityTag.no_damage_duration
DescriptionReturns the duration of the last damage taken by the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1910

Name<EntityTag.last_damage.max_duration>
ReturnsDurationTag
MechanismEntityTag.max_no_damage_duration
DescriptionReturns the maximum duration of the last damage taken by the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1922

Name<EntityTag.absorption_health>
ReturnsElementTag(Decimal)
MechanismEntityTag.absorption_health
DescriptionReturns the living entity's absorption health.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1937

Name<EntityTag.max_oxygen>
ReturnsDurationTag
DescriptionReturns the maximum duration of oxygen the entity can have.
Works with offline players.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1948

Name<EntityTag.oxygen>
ReturnsDurationTag
MechanismEntityTag.oxygen
DescriptionReturns the duration of oxygen the entity has left.
Works with offline players.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1960

Name<EntityTag.persistent>
ReturnsElementTag(Boolean)
MechanismEntityTag.persistent
DescriptionReturns whether the entity should be be saved to file when chunks unload (otherwise, the entity is gone entirely if despawned for any reason).
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1978

Name<EntityTag.target>
ReturnsEntityTag
DescriptionReturns the target entity of the creature or shulker_bullet, if any.
This is the entity that a hostile mob is currently trying to attack.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1994

Name<EntityTag.precise_target[(<range>)]>
ReturnsEntityTag
DescriptionReturns the entity this entity is looking at, using precise ray trace logic.
Optionally, specify a maximum range to find the entity from (defaults to 200).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2018

Name<EntityTag.precise_target[(<range>)].type[<entity_type>|...]>
ReturnsEntityTag
DescriptionReturns the entity this entity is looking at, using precise ray trace logic.
Optionally, specify a maximum range to find the entity from (defaults to 200).
Accepts a list of types to trace against (types not listed will be ignored).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2031

Name<EntityTag.precise_target_position[(<range>)]>
ReturnsLocationTag
DescriptionReturns the location this entity is looking at, using precise ray trace (against entities) logic.
Optionally, specify a maximum range to find the target from (defaults to 200).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2056

Name<EntityTag.precise_target_position[(<range>)].type[<entity_type>|...]>
ReturnsLocationTag
DescriptionReturns the location this entity is looking at, using precise ray trace (against entities) logic.
Optionally, specify a maximum range to find the target from (defaults to 200).
Accepts a list of types to trace against (types not listed will be ignored).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2069

Name<EntityTag.time_lived>
ReturnsDurationTag
MechanismEntityTag.time_lived
DescriptionReturns how long the entity has lived.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2094

Name<EntityTag.pickup_delay>
ReturnsDurationTag
MechanismEntityTag.pickup_delay
DescriptionReturns how long before the item-type entity can be picked up by a player.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2106

Name<EntityTag.is_in_block>
ReturnsElementTag(Boolean)
DescriptionReturns whether or not the arrow/trident entity is in a block.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2121

Name<EntityTag.attached_block>
ReturnsLocationTag
DescriptionReturns the location of the block that the arrow/trident or hanging entity is attached to.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2135

Name<EntityTag.gliding>
ReturnsElementTag(Boolean)
MechanismEntityTag.gliding
DescriptionReturns whether this entity is gliding.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2156

Name<EntityTag.swimming>
ReturnsElementTag(Boolean)
MechanismEntityTag.swimming
DescriptionReturns whether this entity is swimming.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2168

Name<EntityTag.glowing>
ReturnsElementTag(Boolean)
MechanismEntityTag.glowing
DescriptionReturns whether this entity is glowing.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2181

Name<EntityTag.is_living>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity type is a living-type entity (eg a cow or a player or anything else that lives, as specifically opposed to non-living entities like paintings, etc).
Not to be confused with the idea of being alive - see Tag:EntityTag.is_spawned.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2197

Name<EntityTag.is_monster>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity type is a hostile monster.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2212

Name<EntityTag.is_mob>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity type is a mob (Not a player or NPC).
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2226

Name<EntityTag.is_npc>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is a Citizens NPC.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2241

Name<EntityTag.is_player>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is a player.
Works with offline players.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2252

Name<EntityTag.is_projectile>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity type is a projectile.
Groupdata
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2264

Name<EntityTag.tameable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is tameable.
If this returns true, it will enable access to:
Mechanism:EntityTag.tame, Mechanism:EntityTag.owner,
Tag:EntityTag.is_tamed, and Tag:EntityTag.owner
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2282

Name<EntityTag.ageable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is ageable.
If this returns true, it will enable access to:
Mechanism:EntityTag.age, Mechanism:EntityTag.age_lock,
Tag:EntityTag.is_baby, Tag:EntityTag.age,
and Tag:EntityTag.is_age_locked
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2296

Name<EntityTag.colorable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity can be colored.
If this returns true, it will enable access to:
Mechanism:EntityTag.color and Tag:EntityTag.color
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2311

Name<EntityTag.experience>
ReturnsElementTag(Number)
MechanismEntityTag.experience
DescriptionReturns the experience value of this experience orb entity.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2324

Name<EntityTag.fuse_ticks>
ReturnsElementTag(Number)
MechanismEntityTag.fuse_ticks
DescriptionReturns the number of ticks until the explosion of the primed TNT.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2339

Name<EntityTag.dragon_phase>
ReturnsElementTag
MechanismEntityTag.dragon_phase
DescriptionReturns the phase an EnderDragon is currently in.
Valid phases: URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EnderDragon.Phase.html
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2354

Name<EntityTag.weapon_damage[(<entity>)]>
ReturnsElementTag(Number)
DescriptionReturns the amount of damage the entity will do based on its held item.
Optionally, specify a target entity to test how much damage will be done to that specific target
(modified based on enchantments and that entity's armor/status/etc).
Note that the result will not always be completely exact, as it doesn't take into account some specific factors
(eg sweeping vs single-hit, etc).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2370

Name<EntityTag.skin_layers>
ReturnsListTag
MechanismEntityTag.skin_layers
DescriptionReturns the skin layers currently visible on a player-type entity.
Output is a list of values from the set of:
CAPE, HAT, JACKET, LEFT_PANTS, LEFT_SLEEVE, RIGHT_PANTS, or RIGHT_SLEEVE.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2389

Name<EntityTag.is_disguised[(<player>)]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is currently disguised, either globally (if no context input given), or to the specified player.
Relates to Command:disguise.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2409

Name<EntityTag.disguised_type[(<player>)]>
ReturnsEntityTag
DescriptionReturns the entity type the entity is disguised as, either globally (if no context input given), or to the specified player.
Relates to Command:disguise.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2435

Name<EntityTag.disguise_to_others[(<player>)]>
ReturnsEntityTag
DescriptionReturns the fake entity used to disguise the entity in other's views, either globally (if no context input given), or to the specified player.
Relates to Command:disguise.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2469

Name<EntityTag.describe>
ReturnsEntityTag
DescriptionReturns the entity's full description, including all properties.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2506

Name<EntityTag.advanced_matches[<matcher>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity matches some matcher text, using the system behind Language:Advanced Script Event Matching.
Groupelement checking
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2517

Name<EntityTag.has_equipped[<item-matcher>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity has any armor equipment item that matches the given item matcher, using the system behind Language:Advanced Script Event Matching.
For example, has_equipped[diamond_*] will return true if the entity is wearing at least one piece of diamond armor.
Groupelement checking
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2531

Name<EntityTag.has_ai>
ReturnsElementTag(Boolean)
MechanismEntityTag.has_ai
DescriptionReturns whether the entity uses 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.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAI.java#L57

Name<EntityTag.age>
ReturnsElementTag(Number)
MechanismEntityTag.age
DescriptionIf the entity is ageable, returns the entity's age number (-24000 to 0)
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAge.java#L131

Name<EntityTag.is_age_locked>
ReturnsElementTag(Boolean)
MechanismEntityTag.age_lock
DescriptionIf the entity is ageable, returns whether the entity is age locked.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAge.java#L144

Name<EntityTag.is_baby>
ReturnsElementTag(Boolean)
MechanismEntityTag.age
DescriptionIf the entity is ageable, returns whether the entity is a baby.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAge.java#L157

Name<EntityTag.anger>
ReturnsDurationTag
MechanismEntityTag.anger
DescriptionReturns the remaining anger time of a PigZombie or Bee.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAnger.java#L75

Name<EntityTag.angry>
ReturnsElementTag(Boolean)
MechanismEntityTag.angry
DescriptionIf the entity is a wolf or PigZombie, returns whether the entity is angry.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAngry.java#L75

Name<EntityTag.base_potion>
ReturnsElementTag
MechanismEntityTag.base_potion
DescriptionReturns the Area Effect Cloud's base potion data.
In the format Type,Upgraded,Extended
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L72

Name<EntityTag.base_potion.type>
ReturnsElementTag
DescriptionReturns the Area Effect Cloud's base potion type.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L84

Name<EntityTag.base_potion.is_upgraded>
ReturnsElementTag(Boolean)
DescriptionReturns whether the Area Effect Cloud's base potion is upgraded.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L96

Name<EntityTag.base_potion.is_extended>
ReturnsElementTag(Boolean)
DescriptionReturns whether the Area Effect Cloud's base potion is extended.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L108

Name<EntityTag.particle>
ReturnsElementTag
MechanismEntityTag.particle
DescriptionReturns the Area Effect Cloud's particle.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L123

Name<EntityTag.particle.color>
ReturnsColorTag
DescriptionReturns the Area Effect Cloud's particle color.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L134

Name<EntityTag.duration>
ReturnsDurationTag
MechanismEntityTag.duration
DescriptionReturns the Area Effect Cloud's duration.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L149

Name<EntityTag.duration.on_use>
ReturnsDurationTag
DescriptionReturns the duration the Area Effect Cloud
will increase by when it applies an effect to an entity.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L160

Name<EntityTag.radius>
ReturnsElementTag(Decimal)
MechanismEntityTag.radius
DescriptionReturns the Area Effect Cloud's radius.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L176

Name<EntityTag.radius.on_use>
ReturnsElementTag(Decimal)
DescriptionReturns the amount the Area Effect Cloud's radius
will increase by when it applies an effect to an entity.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L187

Name<EntityTag.radius.per_tick>
ReturnsElementTag(Decimal)
DescriptionReturns the amount the Area Effect Cloud's radius
will increase by every tick.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L200

Name<EntityTag.reapplication_delay>
ReturnsDurationTag
MechanismEntityTag.reapplication_delay
DescriptionReturns the duration an entity will be immune
from the Area Effect Cloud's subsequent exposure.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L216

Name<EntityTag.wait_time>
ReturnsDurationTag
MechanismEntityTag.wait_time
DescriptionReturns the duration an entity must be exposed to
the Area Effect Cloud before its effect is applied.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L230

Name<EntityTag.has_custom_effect[(<effect>)]>
ReturnsElementTag(Boolean)
MechanismEntityTag.custom_effects
DescriptionReturns whether the Area Effect Cloud has a specified effect.
If no effect is specified, returns whether it has any custom effect.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L244

Name<EntityTag.source>
ReturnsEntityTag
MechanismEntityTag.source
DescriptionReturns the source of the Area Effect Cloud.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L267

Name<EntityTag.custom_effects>
ReturnsListTag
MechanismEntityTag.custom_effects
DescriptionReturns a ListTag of the Area Effect Cloud's custom effects
In the form Type,Amplifier,Duration,Ambient,Particles|...
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L283

Name<EntityTag.custom_effects[<#>].type>
ReturnsElementTag
DescriptionReturns the specified Area Effect Cloud potion effect type.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L312

Name<EntityTag.custom_effects[<#>].amplifier>
ReturnsElementTag(Number)
DescriptionReturns the specified Area Effect Cloud potion effect amplifier.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L324

Name<EntityTag.custom_effects[<#>].duration>
ReturnsDurationTag
DescriptionReturns the specified Area Effect Cloud potion effect duration.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L336

Name<EntityTag.custom_effects[<#>].has_particles>
ReturnsElementTag(Boolean)
DescriptionReturns whether the specified Area Effect Cloud potion effect has particles.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L348

Name<EntityTag.custom_effects[<#>].is_ambient>
ReturnsElementTag(Boolean)
DescriptionReturns whether the specified Area Effect Cloud potion effect is ambient.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAreaEffectCloud.java#L360

Name<EntityTag.armor_bonus>
ReturnsElementTag(Decimal)
MechanismEntityTag.armor_bonus
DescriptionReturns the entity's base armor bonus.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArmorBonus.java#L64

Name<EntityTag.armor_pose_list>
ReturnsListTag
MechanismEntityTag.armor_pose
DescriptionReturns a list of all poses and angles for the armor stand in the
format: PART|ANGLE|...
For example, head|4.5,3,4.5|body|5.4,3.2,1
Angles are in radians!
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArmorPose.java#L74

Name<EntityTag.armor_pose[<part>]>
ReturnsLocationTag
MechanismEntityTag.armor_pose
DescriptionReturns the current angle pose for the specified part.
Valid parts: HEAD, BODY, LEFT_ARM, RIGHT_ARM, LEFT_LEG, RIGHT_LEG
Angles are in radians!
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArmorPose.java#L89

Name<EntityTag.arms>
ReturnsElementTag(Boolean)
MechanismEntityTag.arms
DescriptionIf the entity is an armor stand, returns whether the armor stand has arms.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArms.java#L63

Name<EntityTag.damage>
ReturnsElementTag(Decimal)
MechanismEntityTag.damage
DescriptionReturns the damage that the arrow/trident will inflict.
NOTE: The actual damage dealt by the arrow/trident may be different depending on the projectile's flight speed.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityArrowDamage.java#L56

Name<EntityTag.has_attribute[<attribute>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity has the named attribute.
Valid attribute names are listed at URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeBaseValues.java#L78

Name<EntityTag.attribute_value[<attribute>]>
ReturnsElementTag(Decimal)
MechanismEntityTag.attribute_base_values
DescriptionReturns the final calculated value of the named attribute for the entity.
See also Tag:EntityTag.has_attribute.
Valid attribute names are listed at URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeBaseValues.java#L92

Name<EntityTag.attribute_base_value[<attribute>]>
ReturnsElementTag(Decimal)
MechanismEntityTag.attribute_base_values
DescriptionReturns the base value of the named attribute for the entity.
See also Tag:EntityTag.has_attribute.
Valid attribute names are listed at URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeBaseValues.java#L112

Name<EntityTag.attribute_default_value[<attribute>]>
ReturnsElementTag(Decimal)
MechanismEntityTag.attribute_base_values
DescriptionReturns the default value of the named attribute for the entity.
See also Tag:EntityTag.has_attribute.
Valid attribute names are listed at URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeBaseValues.java#L132

Name<EntityTag.attribute_modifiers>
ReturnsMapTag
MechanismEntityTag.attribute_modifiers
DescriptionReturns a map of all attribute modifiers on the entity, 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'.
This is formatted in a way that can be sent back into the 'attribute_modifiers' mechanism.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAttributeModifiers.java#L175

Name<EntityTag.is_aware>
ReturnsElementTag(Boolean)
MechanismEntityTag.is_aware
DescriptionReturns 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 Tag:EntityTag.has_ai, except allows the entity to be moved by gravity, being pushed or attacked, etc.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAware.java#L46

Name<EntityTag.base_plate>
ReturnsElementTag(Boolean)
MechanismEntityTag.base_plate
DescriptionIf the entity is an armor stand, returns whether the armor stand has a base plate.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBasePlate.java#L63

Name<EntityTag.beam_target>
ReturnsLocationTag
MechanismEntityTag.beam_target
DescriptionReturns the target location of the ender crystal's beam, if any.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBeamTarget.java#L59

Name<EntityTag.boat_type>
ReturnsElementTag
MechanismEntityTag.boat_type
DescriptionReturns the wood type of the boat.
Valid wood types: GENERIC, REDWOOD, BIRCH, JUNGLE, ACACIA, DARK_OAK.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBoatType.java#L58

Name<EntityTag.body_arrows>
ReturnsElementTag(Number)
MechanismEntityTag.body_arrows
DescriptionReturns the number of arrows stuck in the entity's body.
Note: Body arrows will only be visible for players or player-type npcs.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBodyArrows.java#L65

Name<EntityTag.bounding_box>
ReturnsListTag(LocationTag)
MechanismEntityTag.bounding_box
DescriptionReturns the collision bounding box of the entity in the format "<low>|<high>", essentially a cuboid with decimals.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityBoundingBox.java#L83

Name<EntityTag.cannot_enter_hive>
ReturnsDurationTag
MechanismEntityTag.cannot_enter_hive
DescriptionReturns the minimum duration until a Bee entity is allowed to enter a hive.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCannotEnterHive.java#L66

Name<EntityTag.carries_chest>
ReturnsElementTag(Boolean)
MechanismEntityTag.carries_chest
DescriptionIf the entity is a horse, returns whether it is carrying a chest.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityChestCarrier.java#L58

Name<EntityTag.allowed_colors>
ReturnsElementTag
MechanismEntityTag.color
DescriptionIf the entity can have a color, returns the list of allowed colors.
See also Language:Entity Color Types.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityColor.java#L232

Name<EntityTag.color>
ReturnsElementTag
MechanismEntityTag.color
DescriptionIf the entity can have a color, returns 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#L250

Name<EntityTag.critical>
ReturnsElementTag(Boolean)
MechanismEntityTag.critical
DescriptionIf the entity is an arrow or trident, returns whether the arrow/trident is critical.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCritical.java#L62

Name<EntityTag.custom_name>
ReturnsElementTag
MechanismEntityTag.custom_name
DescriptionReturns the entity's custom name (as set by plugin or name tag item), if any.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCustomName.java#L56

Name<EntityTag.custom_name_visible>
ReturnsElementTag(Boolean)
MechanismEntityTag.custom_name_visible
DescriptionReturns true if the entity's custom name is visible.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityCustomNameVisible.java#L54

Name<EntityTag.direction>
ReturnsLocationTag
MechanismEntityTag.direction
DescriptionReturns the movement/acceleration direction of a fireball entity, as a LocationTag vector.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDirection.java#L57

Name<EntityTag.disabled_slots.raw>
ReturnsElementTag(Number)
MechanismEntityTag.disabled_slots_raw
DescriptionIf the entity is an armor stand, returns its raw disabled slots value.
See URL:https://minecraft.gamepedia.com/Armor_Stand/ED
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisabledSlots.java#L89

Name<EntityTag.disabled_slots>
ReturnsListTag
MechanismEntityTag.disabled_slots
DescriptionIf the entity is an armor stand, returns a list of its disabled slots in the form slot/action|...
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisabledSlots.java#L103

Name<EntityTag.equipment>
ReturnsListTag(ItemTag)
MechanismEntityTag.equipment
DescriptionReturns a ListTag containing the entity's equipment.
Output list is boots|leggings|chestplate|helmet
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityEquipment.java#L115

Name<EntityTag.equipment_map>
ReturnsMapTag
MechanismEntityTag.equipment
DescriptionReturns a MapTag containing the entity's equipment.
Output keys are boots, leggings, chestplate, helmet.
Air items will be left out of the map.
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityEquipment.java#L128

Name<EntityTag.explosion_fire>
ReturnsElementTag(Boolean)
MechanismEntityTag.explosion_fire
DescriptionIf this entity is explosive, returns whether its explosion creates fire.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityExplosionFire.java#L57

Name<EntityTag.explosion_radius>
ReturnsElementTag(Decimal)
MechanismEntityTag.explosion_radius
DescriptionIf this entity can explode, returns its explosion radius.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityExplosionRadius.java#L62

Name<EntityTag.firework_item>
ReturnsItemTag
MechanismEntityTag.firework_item
DescriptionIf the entity is a firework, returns the firework item used to launch it.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFirework.java#L63

Name<EntityTag.fixed>
ReturnsElementTag(Boolean)
MechanismEntityTag.fixed
DescriptionReturns whether the item frame is fixed. (Meaning, it can't be altered by players).
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFixed.java#L57

Name<EntityTag.flower>
ReturnsLocationTag
MechanismEntityTag.flower
DescriptionReturns the location of a bee's flower (if any).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFlower.java#L69

Name<EntityTag.framed_item_rotation>
ReturnsElementTag
MechanismEntityTag.framed
DescriptionIf the entity is an item frame, returns the rotation of the item currently framed.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFramed.java#L88

Name<EntityTag.framed_item>
ReturnsItemTag
MechanismEntityTag.framed
DescriptionIf the entity is an item frame, returns the item currently framed.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFramed.java#L101

Name<EntityTag.has_framed_item>
ReturnsElementTag(Boolean)
MechanismEntityTag.framed
DescriptionIf the entity is an item frame, returns whether the frame has an item in it.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityFramed.java#L114

Name<EntityTag.gravity>
ReturnsElementTag(Boolean)
MechanismEntityTag.gravity
DescriptionReturns whether the entity has gravity.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityGravity.java#L62

Name<EntityTag.has_nectar>
ReturnsElementTag(Boolean)
MechanismEntityTag.has_nectar
DescriptionReturns whether a bee entity has nectar on it.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHasNectar.java#L66

Name<EntityTag.has_stung>
ReturnsElementTag(Boolean)
MechanismEntityTag.has_stung
DescriptionReturns whether a bee entity has already used its stinger.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHasStung.java#L66

Name<EntityTag.formatted_health>
ReturnsElementTag
MechanismEntityTag.health_data
DescriptionReturns a formatted value of the player's current health level.
May be 'dying', 'seriously wounded', 'injured', 'scraped', or 'healthy'.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L83

Name<EntityTag.health_max>
ReturnsElementTag(Decimal)
MechanismEntityTag.max_health
DescriptionReturns the maximum health of the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L100

Name<EntityTag.health_percentage>
ReturnsElementTag(Decimal)
MechanismEntityTag.health
DescriptionReturns the entity's current health as a percentage.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L118

Name<EntityTag.health_data>
ReturnsElementTag)
MechanismEntityTag.health
DescriptionReturns the current health data of the entity, in the format of current/max.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L144

Name<EntityTag.health>
ReturnsElementTag(Decimal)
MechanismEntityTag.health
DescriptionReturns the current health of the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L157

Name<EntityTag.hive>
ReturnsLocationTag
MechanismEntityTag.hive
DescriptionReturns the location of a bee's hive (if any).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHive.java#L69

Name<EntityTag.immune>
ReturnsElementTag(Boolean)
MechanismEntityTag.immune
DescriptionReturns whether this piglin or hoglin entity is immune to zombification.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityImmune.java#L79

Name<EntityTag.inventory>
ReturnsInventoryTag
DescriptionReturns the entity's inventory, if it has one.
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInventory.java#L61

Name<EntityTag.invulnerable>
ReturnsElementTag(Boolean)
MechanismEntityTag.invulnerable
DescriptionReturns whether the entity is invulnerable (cannot be damaged).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInvulnerable.java#L61

Name<EntityTag.is_showing_bottom>
ReturnsElementTag(Boolean)
MechanismEntityTag.is_showing_bottom
DescriptionIf the entity is an ender crystal, returns whether the ender crystal has its bottom showing.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityIsShowingBottom.java#L63

Name<EntityTag.item>
ReturnsItemTag
MechanismEntityTag.item
DescriptionIf the entity is a dropped item, returns the item represented by the entity.
If the entity is an enderman, returns the item that the enderman is holding.
If the entity is a trident, returns the trident item represented by the entity.
If the item is a throwable projectile, returns the item that was thrown.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItem.java#L103

Name<EntityTag.item_in_hand>
ReturnsItemTag
MechanismEntityTag.item_in_hand
DescriptionReturns the item the entity is holding, or air if none.
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItemInHand.java#L69

Name<EntityTag.item_in_offhand>
ReturnsItemTag
MechanismEntityTag.item_in_offhand
DescriptionReturns the item the entity is holding in their off hand, or air if none.
Groupinventory
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItemInOffHand.java#L69

Name<EntityTag.jump_strength>
ReturnsElementTag(Number)
MechanismEntityTag.jump_strength
DescriptionReturns the power of a horse's jump.
Also applies to horse-like mobs, such as donkeys and mules.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityJumpStrength.java#L58

Name<EntityTag.knockback>
ReturnsElementTag(Number)
MechanismEntityTag.knockback
DescriptionIf the entity is an arrow or trident, returns the knockback strength of the arrow/trident.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityKnockback.java#L57

Name<EntityTag.marker>
ReturnsElementTag(Boolean)
MechanismEntityTag.marker
DescriptionIf the entity is an armor stand, returns whether the armor stand is a marker.
Marker armor stands have a tiny hitbox.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMarker.java#L63

Name<EntityTag.max_fuse_ticks>
ReturnsElementTag(Number)
MechanismEntityTag.max_fuse_ticks
DescriptionReturns the default number of ticks until the creeper explodes when primed (NOT the time remaining if already primed).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMaxFuseTicks.java#L58

Name<EntityTag.painting_width>
ReturnsElementTag(Number)
MechanismEntityTag.painting
DescriptionIf the entity is a painting, returns its width.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPainting.java#L59

Name<EntityTag.painting_height>
ReturnsElementTag(Number)
MechanismEntityTag.painting
DescriptionIf the entity is a painting, returns its height.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPainting.java#L72

Name<EntityTag.painting>
ReturnsElementTag
MechanismEntityTag.painting
DescriptionIf the entity is a painting, returns what art it shows.
See also Tag:server.art_types.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPainting.java#L85

Name<EntityTag.pickup_status>
ReturnsElementTag
MechanismEntityTag.pickup_status
DescriptionIf the entity is an arrow or trident, returns the pickup status of the arrow/trident.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPickupStatus.java#L56

Name<EntityTag.player_created>
ReturnsElementTag(Boolean)
MechanismEntityTag.player_created
DescriptionReturns whether this Iron_Golem was created by a player.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPlayerCreated.java#L62

Name<EntityTag.potion>
ReturnsItemTag
MechanismEntityTag.potion
DescriptionIf the entity is a Tipped Arrow, returns an ItemTag of a potion with the base potion data of the arrow.
If the entity is a Splash Potion, returns an ItemTag of the splash potion's full potion data.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotion.java#L86

Name<EntityTag.list_effects>
ReturnsListTag
MechanismEntityTag.potion_effects
DescriptionReturns the list of active potion effects on the entity, in the format: TYPE,AMPLIFIER,DURATION,IS_AMBIENT,HAS_PARTICLES,HAS_ICON|...
Note that AMPLIFIER is a number representing the level, and DURATION is a number representing the time, in ticks, it will last for.
IS_AMBIENT, HAS_PARTICLES, and HAS_ICON are booleans.
The effect type will be from URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html.
Groupattribute
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotionEffects.java#L83

Name<EntityTag.has_effect[<effect>]>
ReturnsElementTag(Boolean)
MechanismEntityTag.potion_effects
DescriptionReturns whether the entity has a specified effect.
If no effect is specified, returns whether the entity has any effect.
The effect type must be from URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotionEffects.java#L102

Name<EntityTag.powered>
ReturnsElementTag(Boolean)
MechanismEntityTag.powered
DescriptionIf the entity is a creeper, returns whether the creeper is powered.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPowered.java#L75

Name<EntityTag.profession>
ReturnsElementTag
MechanismEntityTag.profession
DescriptionIf the entity can have professions, returns the entity's profession.
Currently, only Villager-type and infected zombie entities can have professions.
For the list of possible professions, refer to URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Villager.Profession.html
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityProfession.java#L80

Name<EntityTag.has_pumpkin_head>
ReturnsElementTag(Boolean)
MechanismEntityTag.has_pumpkin_head
DescriptionIf the entity is a snowman, returns whether the snowman has a pumpkin on its head.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPumpkinHead.java#L58

Name<EntityTag.is_using_riptide>
ReturnsElementTag(Boolean)
MechanismEntityTag.is_using_riptide
DescriptionReturns whether this entity is using the Riptide enchantment.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityRiptide.java#L56

Name<EntityTag.rotation_vector>
ReturnsLocationTag
MechanismEntityTag.rotation
DescriptionIf the entity can have a rotation, returns the entity's rotation as a direction vector.
Currently, only Hanging-type entities can have rotations.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityRotation.java#L73

Name<EntityTag.rotation>
ReturnsElementTag
MechanismEntityTag.rotation
DescriptionIf the entity can have a rotation, returns the entity's rotation.
Currently, only Hanging-type entities can have rotations.
Value is from URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/BlockFace.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityRotation.java#L87

Name<EntityTag.scoreboard_tags>
ReturnsListTag
MechanismEntityTag.scoreboard_tags
DescriptionReturns a list of the scoreboard tags on the entity.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityScoreboardTags.java#L64

Name<EntityTag.shulker_peek>
ReturnsElementTag(Number)
MechanismEntityTag.shulker_peek
DescriptionReturns the peek value of a shulker box (where 0 is fully closed, 100 is fully open).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityShulkerPeek.java#L59

Name<EntityTag.silent>
ReturnsElementTag(Boolean)
MechanismEntityTag.silent
DescriptionReturns whether the entity is silent. (Plays no sounds)
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySilent.java#L56

Name<EntityTag.sitting>
ReturnsElementTag(Boolean)
MechanismEntityTag.sitting
DescriptionIf the entity is a wolf, cat, or parrot, returns whether the animal is sitting.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySitting.java#L61

Name<EntityTag.size>
ReturnsElementTag(Number)
MechanismEntityTag.size
DescriptionReturns the size of a slime-type entity or a Phantom (1-120).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySize.java#L63

Name<EntityTag.is_small>
ReturnsElementTag(Boolean)
MechanismEntityTag.is_small
DescriptionReturns whether the armor stand is small.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySmall.java#L61

Name<EntityTag.speed>
ReturnsElementTag(Decimal)
MechanismEntityTag.speed
DescriptionReturns how fast the entity can move.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntitySpeed.java#L81

Name<EntityTag.spell>
ReturnsElementTag
MechanismEntityTag.spell
DescriptionReturns the spell the entity is currently casting.
Can be: URL: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#L57

Name<EntityTag.is_tamed>
ReturnsElementTag(Boolean)
MechanismEntityTag.tame
DescriptionReturns whether the entity has been tamed.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTame.java#L72

Name<EntityTag.owner>
ReturnsPlayerTag
MechanismEntityTag.owner
DescriptionReturns the owner of a tamed entity.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTame.java#L85

Name<EntityTag.trades>
ReturnsListTag(TradeTag)
MechanismEntityTag.trades
DescriptionReturns a list of the Villager's trade recipes.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTrades.java#L64

Name<EntityTag.villager_experience>
ReturnsElementTag(Number)
MechanismEntityTag.villager_experience
DescriptionReturns the experience amount of a villager.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVillagerExperience.java#L58

Name<EntityTag.villager_level>
ReturnsElementTag(Number)
MechanismEntityTag.villager_level
DescriptionReturns the level of a villager.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVillagerLevel.java#L58

Name<EntityTag.visible>
ReturnsElementTag(Boolean)
MechanismEntityTag.visible
DescriptionReturns whether the armor stand or item frame is visible.
Groupattributes
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityVisible.java#L78

Name<EntityTag.crackshot_weapon>
ReturnsElementTag
DescriptionReturns the CrackShot weapon name that the projectile was shot from.
RequiresDepenizen, CrackShot
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/crackshot/CrackShotEntityProperties.java#L58

Name<EntityTag.libsdisguise_is_disguised>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is in a disguise.
RequiresDepenizen, LibsDisguises
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/libsdisguise/LibsDisguiseEntityProperties.java#L60

Name<EntityTag.libsdisguise_disguise>
ReturnsLibsDisguiseTag
DescriptionReturns the disguise of the entity.
RequiresDepenizen, LibsDisguises
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/libsdisguise/LibsDisguiseEntityProperties.java#L71

Name<EntityTag.mcmmo.is_spawned_mob>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is tracked by McMMO as a 'spawned' mob (one from a spawner block or spawn egg).
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOEntityProperties.java#L62

Name<EntityTag.is_mythicmob>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is a MythicMob.
RequiresDepenizen, MythicMobs
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mythicmobs/MythicMobsEntityProperties.java#L53

Name<EntityTag.mythicmob>
ReturnsMythicMobsMobTag
DescriptionReturns the MythicMob for this entity.
RequiresDepenizen, MythicMobs
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mythicmobs/MythicMobsEntityProperties.java#L64

Name<EntityTag.is_shopkeeper>
ReturnsElementTag(Boolean)
DescriptionReturns whether the entity is a Shopkeeper.
RequiresDepenizen, ShopKeepers
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/shopkeepers/ShopKeepersEntityProperties.java#L62

Name<EntityTag.shopkeeper>
ReturnsShopKeeperTag
DescriptionReturns the ShopKeeper for this entity.
RequiresDepenizen, ShopKeepers
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/shopkeepers/ShopKeepersEntityProperties.java#L74



Category: PlayerTag


Name<PlayerTag.affects_monster_spawning>
ReturnsElementTag(Boolean)
MechanismPlayerTag.affects_monster_spawning
DescriptionReturns whether the player affects monster spawning. When false, no monsters will spawn naturally because of this player.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PlayerAffectsMonsterSpawning.java#L45

Name<PlayerTag.chat_history_list>
ReturnsListTag
DescriptionReturns a list of the last 10 things the player has said, less if the player hasn't said all that much.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L638

Name<PlayerTag.chat_history[<#>]>
ReturnsElementTag
DescriptionReturns the last thing the player said.
If a number is specified, returns an earlier thing the player said.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L649

Name<PlayerTag.formatted_money>
ReturnsElementTag
DescriptionReturns the formatted form of the player's money balance in the registered Economy system.
RequiresVault
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L677

Name<PlayerTag.money>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of money the player has with the registered Economy system.
May work offline depending on economy provider.
RequiresVault
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L694

Name<PlayerTag.target[(<entity>|...)]>
ReturnsEntityTag
DescriptionReturns the entity that the player is looking at, within a maximum range of 50 blocks,
or null if the player is not looking at an entity.
Optionally, specify a list of entities, entity types, or 'npc' to only count those targets.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L736

Name<PlayerTag.target[(<entity>|...)].within[(<#.#>)]>
ReturnsEntityTag
DescriptionReturns the living entity that the player is looking at within the specified range limit,
or null if the player is not looking at an entity.
Optionally, specify a list of entities, entity types, or 'npc' to only count those targets.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L748

Name<PlayerTag.bed_spawn>
ReturnsLocationTag
MechanismPlayerTag.bed_spawn_location
DescriptionReturns the location of the player's bed spawn location, null if
it doesn't exist.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L797

Name<PlayerTag.item_cooldown[<material>]>
ReturnsDurationTag
DescriptionReturns the cooldown duration remaining on player's material.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L834

Name<PlayerTag.first_played_time>
ReturnsTimeTag
DescriptionReturns the time of when the player first logged on to this server.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L848

Name<PlayerTag.has_played_before>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has played before.
Works with offline players.
Note: This will just always return true.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L863

Name<PlayerTag.exhaustion>
ReturnsElementTag(Decimal)
MechanismPlayerTag.exhaustion
DescriptionReturns how fast the food level drops (exhaustion).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L875

Name<PlayerTag.health_is_scaled>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player's health bar is currently being scaled.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L900

Name<PlayerTag.health_scale>
ReturnsElementTag(Decimal)
MechanismPlayerTag.health_scale
DescriptionReturns the current scale for the player's health bar
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L910

Name<PlayerTag.is_banned>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is banned.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L974

Name<PlayerTag.is_online>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is currently online.
Works with offline players (returns false in that case).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L991

Name<PlayerTag.is_op>
ReturnsElementTag(Boolean)
MechanismPlayerTag.is_op
DescriptionReturns whether the player is a full server operator.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1002

Name<PlayerTag.is_whitelisted>
ReturnsElementTag(Boolean)
MechanismPlayerTag.is_whitelisted
DescriptionReturns whether the player is whitelisted.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1014

Name<PlayerTag.last_played_time>
ReturnsTimeTag
DescriptionReturns the time of when the player was last seen.
Works with offline players.
Not very useful for online players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1026

Name<PlayerTag.groups[(<world>)]>
ReturnsListTag
DescriptionReturns a list of all groups the player is in.
May work with offline players, depending on permission plugin.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1048

Name<PlayerTag.ban_expiration_time>
ReturnsTimeTag
DescriptionReturns the expiration of the player's ban, if they are banned.
Potentially can be null.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1079

Name<PlayerTag.ban_reason>
ReturnsElementTag
DescriptionReturns the reason for the player's ban, if they are banned.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1102

Name<PlayerTag.ban_created_time>
ReturnsTimeTag
DescriptionReturns when the player's ban was created, if they are banned.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1116

Name<PlayerTag.ban_source>
ReturnsElementTag
DescriptionReturns the source of the player's ban, if they are banned.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1138

Name<PlayerTag.in_group[<group_name>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is in the specified group.
(May work with offline players, depending on your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1182

Name<PlayerTag.in_group[<group_name>].global>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the group with no regard to the
player's current world.
(Works with offline players)
(Note: This may or may not be functional with your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1199

Name<PlayerTag.in_group[<group_name>].world[<world>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the group in regards to a specific world.
(Works with offline players)
(Note: This may or may not be functional with your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1215

Name<PlayerTag.has_permission[permission.node]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the specified node.
(May work with offline players, depending on your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1248

Name<PlayerTag.has_permission[permission.node].global>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the specified node, regardless of world.
(Works with offline players)
(Note: this may or may not be functional with your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1258

Name<PlayerTag.has_permission[permission.node].world[<world>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the specified node in regards to the
specified world.
(Works with offline players)
(Note: This may or may not be functional with your permissions system.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1280

Name<PlayerTag.statistic[<statistic>]>
ReturnsElementTag(Number)
DescriptionReturns the player's current value for the specified statistic.
Valid statistics: URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1316

Name<PlayerTag.statistic[<statistic>].qualifier[<material>/<entity>]>
ReturnsElementTag(Number)
DescriptionReturns the player's current value for the specified statistic, with the
specified qualifier, which can be either an entity or material.
Valid statistics: URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html
To check a statistic type dynamically, refer to Tag:server.statistic_type.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1337

Name<PlayerTag.uuid>
ReturnsElementTag
DescriptionReturns the UUID of the player.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1374

Name<PlayerTag.list_name>
ReturnsElementTag
MechanismPlayerTag.player_list_name
DescriptionReturns the name of the player as shown in the player list.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1385

Name<PlayerTag.display_name>
ReturnsElementTag
MechanismPlayerTag.display_name
DescriptionReturns the display name of the player, which may contain prefixes and suffixes, colors, etc.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1396

Name<PlayerTag.client_brand>
ReturnsElementTag
DescriptionReturns the brand of the client, as sent via the "minecraft:brand" packet.
On normal clients, will say "vanilla". On broken clients, will say "unknown". Modded clients will identify themselves (though not guaranteed!).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1422

Name<PlayerTag.locale>
ReturnsElementTag
DescriptionReturns the current locale of the player.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1433

Name<PlayerTag.inventory>
ReturnsInventoryTag
DescriptionReturns a InventoryTag of the player's current inventory.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1447

Name<PlayerTag.enderchest>
ReturnsInventoryTag
DescriptionGets the player's enderchest inventory.
Works with offline players.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1458

Name<PlayerTag.open_inventory>
ReturnsInventoryTag
DescriptionGets the inventory the player currently has open. If the player has no open
inventory, this returns the player's inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1473

Name<PlayerTag.discovered_recipes>
ReturnsListTag
DescriptionReturns a list of the recipes the player has discovered, in the Namespace:Key format, for example "minecraft:gold_nugget".
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1484

Name<PlayerTag.selected_trade_index>
ReturnsElementTag(Number)
DescriptionReturns the index of the trade the player is currently viewing, if any.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1494

Name<PlayerTag.item_on_cursor>
ReturnsItemTag
MechanismPlayerTag.item_on_cursor
DescriptionReturns the item on the player's cursor, if any. This includes
chest interfaces, inventories, and hotbars, etc.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1523

Name<PlayerTag.held_item_slot>
ReturnsElementTag(Number)
DescriptionReturns the slot location of the player's selected item.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1535

Name<PlayerTag.sidebar_lines>
ReturnsListTag
DescriptionReturns the current lines set on the player's Sidebar via Command:sidebar.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1554

Name<PlayerTag.sidebar_title>
ReturnsElementTag
DescriptionReturns the current title set on the player's Sidebar via Command:sidebar.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1568

Name<PlayerTag.sidebar_scores>
ReturnsListTag
DescriptionReturns the current scores set on the player's Sidebar via Command:sidebar,
in the same order as Tag:PlayerTag.sidebar_lines.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1582

Name<PlayerTag.skin_blob>
ReturnsElementTag
MechanismPlayerTag.skin_blob
DescriptionReturns the player's current skin blob.
In the format: "texture;signature" (two values separated by a semicolon).
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1634

Name<PlayerTag.skull_skin>
ReturnsElementTag
DescriptionReturns the player's current skin blob, formatted for input to a Player Skull item.
In the format: "UUID|Texture|Name" (three values separated by pipes).
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1647

Name<PlayerTag.skull_item>
ReturnsItemTag
DescriptionReturns a Player_Head item with the skin of the player.
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1664

Name<PlayerTag.attack_cooldown_duration>
ReturnsDurationTag
MechanismPlayerTag.attack_cooldown
DescriptionReturns the amount of time that passed since the start of the attack cooldown.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1677

Name<PlayerTag.attack_cooldown_max_duration>
ReturnsDurationTag
MechanismPlayerTag.attack_cooldown
DescriptionReturns the maximum amount of time that can pass before the player's main hand has returned
to its original place after the cooldown has ended.
NOTE: This is slightly inaccurate and may not necessarily match with the actual attack
cooldown progress.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1688

Name<PlayerTag.attack_cooldown_percent>
ReturnsElementTag(Decimal)
MechanismPlayerTag.attack_cooldown_percent
DescriptionReturns the progress of the attack cooldown. 0 means that the attack cooldown has just
started, while 100 means that the attack cooldown has finished.
NOTE: This may not match exactly with the clientside attack cooldown indicator.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1702

Name<PlayerTag.selected_npc>
ReturnsNPCTag
MechanismPlayerTag.selected_npc
DescriptionReturns the NPCTag that the player currently has selected with '/npc select', null if no NPC selected.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1743

Name<PlayerTag.entity>
ReturnsEntityTag
DescriptionReturns the EntityTag object of the player.
(Note: This should never actually be needed. PlayerTags are considered valid EntityTags.)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1761

Name<PlayerTag.ip_address>
ReturnsElementTag
DescriptionReturns the player's IP address, without port or hostname.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1776

Name<PlayerTag.ip>
ReturnsElementTag
DescriptionReturns the player's IP address host name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1786

Name<PlayerTag.ip.address_only>
ReturnsElementTag
DescriptionReturns the player's IP address with port (without triggering an rdns lookup).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1793

Name<PlayerTag.ip.address>
ReturnsElementTag
DescriptionReturns the player's IP address with port (usually including an rdns host path).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1805

Name<PlayerTag.nameplate>
ReturnsElementTag
DescriptionReturns the displayed text in the nameplate of the player.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1818

Name<PlayerTag.compass_target>
ReturnsLocationTag
DescriptionReturns the location of the player's compass target.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1832

Name<PlayerTag.chunk_loaded[<chunk>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the chunk loaded on their client.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1846

Name<PlayerTag.can_fly>
ReturnsElementTag(Boolean)
MechanismPlayerTag.can_fly
DescriptionReturns whether the player is allowed to fly.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1867

Name<PlayerTag.fly_speed>
ReturnsElementTag(Decimal)
MechanismPlayerTag.fly_speed
DescriptionReturns the speed the player can fly at.
Default value is '0.2'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1878

Name<PlayerTag.walk_speed>
ReturnsElementTag(Decimal)
MechanismPlayerTag.walk_speed
DescriptionReturns the speed the player can walk at.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1890

Name<PlayerTag.saturation>
ReturnsElementTag(Decimal)
MechanismPlayerTag.saturation
DescriptionReturns the current food saturation of the player.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1901

Name<PlayerTag.formatted_food_level[(<max>)]>
ReturnsElementTag
MechanismPlayerTag.food_level
DescriptionReturns a 'formatted' value of the player's current food level.
May be 'starving', 'famished', 'parched, 'hungry', or 'healthy'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1912

Name<PlayerTag.food_level>
ReturnsElementTag(Number)
MechanismPlayerTag.food_level
DescriptionReturns the current food level (aka hunger) of the player.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1944

Name<PlayerTag.gamemode>
ReturnsElementTag
MechanismPlayerTag.gamemode
DescriptionReturns the name of the gamemode the player is currently set to.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1979

Name<PlayerTag.is_blocking>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is currently blocking.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L1990

Name<PlayerTag.ping>
ReturnsElementTag(Number)
DescriptionReturns the player's current ping.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2000

Name<PlayerTag.is_flying>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is currently flying.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2010

Name<PlayerTag.is_sneaking>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is currently sneaking.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2020

Name<PlayerTag.is_sprinting>
ReturnsElementTag(Boolean)
MechanismPlayerTag.sprinting
DescriptionReturns whether the player is currently sprinting.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2030

Name<PlayerTag.has_advancement[<advancement>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has completed the specified advancement.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2041

Name<PlayerTag.advancements>
ReturnsListTag
DescriptionReturns a list of the names of all advancements the player has completed.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2062

Name<PlayerTag.time_asleep>
ReturnsDurationTag
DescriptionReturns the time the player has been asleep.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2078

Name<PlayerTag.time>
ReturnsElementTag(Number)
DescriptionReturns the time the player is currently experiencing. This time could differ from
the time that the rest of the world is currently experiencing if a 'time' or 'freeze_time'
mechanism is being used on the player.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2088

Name<PlayerTag.weather>
ReturnsElementTag
DescriptionReturns the type of weather the player is experiencing. This will be different
from the weather currently in the world that the player is residing in if
the weather is currently being forced onto the player.
Returns null if the player does not currently have any forced weather.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2100

Name<PlayerTag.xp_level>
ReturnsElementTag(Number)
DescriptionReturns the number of XP levels the player has.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2118

Name<PlayerTag.xp_to_next_level>
ReturnsElementTag(Number)
DescriptionReturns the amount of XP the player needs to get to the next level.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2127

Name<PlayerTag.xp_total>
ReturnsElementTag(Number)
DescriptionReturns the total amount of experience points the player has.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2137

Name<PlayerTag.xp>
ReturnsElementTag(Decimal)
DescriptionReturns the percentage of experience points to the next level.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2147

Name<PlayerTag.chat_prefix>
ReturnsElementTag
MechanismPlayerTag.chat_prefix
DescriptionReturns the player's chat prefix.
NOTE: May work with offline players.
Requires a Vault-compatible chat plugin.
RequiresVault
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2172

Name<PlayerTag.chat_suffix>
ReturnsElementTag
MechanismPlayerTag.chat_suffix
DescriptionReturns the player's chat suffix.
NOTE: May work with offline players.
Requires a Vault-compatible chat plugin.
RequiresVault
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2196

Name<PlayerTag.fake_block_locations>
ReturnsListTag(LocationTag)
DescriptionReturns a list of locations that the player will see a fake block at, as set by Command:showfake or connected commands.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2220

Name<PlayerTag.fake_block[<location>]>
ReturnsMaterialTag
DescriptionReturns the fake material that the player will see at the input location, as set by Command:showfake or connected commands.
Works best alongside Tag:PlayerTag.fake_block_locations.
Returns null if the player doesn't have a fake block at the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2237

Name<PlayerTag.fake_entities>
ReturnsListTag(EntityTag)
DescriptionReturns a list of fake entities the player can see, as set by Command:fakespawn.
Note that these entities are not being tracked by the server, so many operations may not be possible on them.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2260

Name<PlayerTag.disguise_to_self[(<player>)]>
ReturnsEntityTag
DescriptionReturns the fake entity used to disguise the entity in the player's self-view (only relevant to players), either globally (if no context input given), or to the specified player.
Relates to Command:disguise.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2278

Name<PlayerTag.spectator_target>
ReturnsEntityTag
MechanismPlayerTag.spectator_target
DescriptionReturns the entity that a spectator-mode player is currently spectating, if any.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2315

Name<PlayerTag.packets_sent>
ReturnsElementTag(Number)
DescriptionReturns a total count of how many network packets have been sent to this player while they have been online.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2333

Name<PlayerTag.packets_received>
ReturnsElementTag(Number)
DescriptionReturns a total count of how many network packets have been received from this player while they have been online.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2343

Name<PlayerTag.beton_quest[<package>].variable[<variable>]>
ReturnsElementTag
DescriptionReturns a variable from a BetonQuest package, for the player.
RequiresDepenizen, BetonQuest
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/BetonQuestBridge.java#L13

Name<PlayerTag.areashop.owned>
ReturnsListTag(AreaShopTag)
DescriptionReturns a list of AreaShops the player owns.
RequiresDepenizen, AreaShop
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/areashop/AreaShopPlayerProperties.java#L67

Name<PlayerTag.skyblock.has_skyblock>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has a skyblock.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockPlayerProperties.java#L71

Name<PlayerTag.skyblock.center>
ReturnsLocationTag
DescriptionReturns the centre of the player's skyblock.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockPlayerProperties.java#L84

Name<PlayerTag.skyblock.spawn_point>
ReturnsLocationTag
DescriptionReturns the spawnpoint of the player's skyblock.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockPlayerProperties.java#L95

Name<PlayerTag.skyblock.members>
ReturnsListTag(PlayerTag)
DescriptionReturns a list of members of the player's skyblock.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockPlayerProperties.java#L106

Name<PlayerTag.skyblock.level>
ReturnsElementTag(Number)
DescriptionReturns the level of the player's skyblock.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockPlayerProperties.java#L121

Name<PlayerTag.bigdoors>
ReturnsListTag(BigDoorsDoorTag)
DescriptionReturns a list of Big Doors the player is an owner of.
RequiresDepenizen, Big Doors
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/bigdoors/BigDoorsPlayerProperties.java#L51

Name<PlayerTag.god_mode>
ReturnsElementTag(Boolean)
MechanismPlayerTag.god_mode
DescriptionReturns whether the player is currently in god mode.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L64

Name<PlayerTag.has_home>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has set at least one home.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L76

Name<PlayerTag.is_afk>
ReturnsElementTag(Boolean)
MechanismPlayerTag.is_afk
DescriptionReturns whether the player is AFK.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L87

Name<PlayerTag.is_muted>
ReturnsElementTag(Boolean)
MechanismPlayerTag.is_muted
DescriptionReturns whether the player is muted.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L99

Name<PlayerTag.is_vanished>
ReturnsElementTag(Boolean)
MechanismPlayerTag.vanish
DescriptionReturns whether the player is vanished.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L111

Name<PlayerTag.list_homes>
ReturnsListTag
DescriptionReturns a list of the homes of the player, in the format "HomeName/[email protected],y,z,world".
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L123

Name<PlayerTag.list_home_locations>
ReturnsListTag(LocationTag)
DescriptionReturns a list of the locations of homes of the player.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L145

Name<PlayerTag.list_home_names>
ReturnsListTag
DescriptionReturns a list of the names of homes of the player.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L167

Name<PlayerTag.ignored_players>
ReturnsListTag(PlayerTag)
DescriptionReturns a list of the ignored players of the player.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L178

Name<PlayerTag.list_mails>
ReturnsListTag
DescriptionReturns a list of mail the player currently has.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L201

Name<PlayerTag.mute_timeout>
ReturnsDurationTag
DescriptionReturns how much time is left until the player is unmuted.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L212

Name<PlayerTag.socialspy>
ReturnsElementTag(Boolean)
MechanismPlayerTag.socialspy
DescriptionReturns whether the player has SocialSpy enabled.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsPlayerProperties.java#L224

Name<PlayerTag.factions.power>
ReturnsElementTag(Decimal)
DescriptionReturns the player's power level.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsPlayerProperties.java#L67

Name<PlayerTag.factions.role>
ReturnsElementTag
DescriptionReturns the player's role in their faction.
Note: In modern Factions these are called ranks instead of roles.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsPlayerProperties.java#L80

Name<PlayerTag.factions.title>
ReturnsElementTag
DescriptionReturns the player's title.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsPlayerProperties.java#L94

Name<PlayerTag.faction>
ReturnsFactionTag
DescriptionReturns the player's faction.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsPlayerProperties.java#L110

Name<PlayerTag.griefprevention.list_claims>
ReturnsListTag(GriefPreventionClaimTag)
DescriptionReturns a list of all claims the player has.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionPlayerProperties.java#L70

Name<PlayerTag.griefprevention.claims>
ReturnsElementTag(Number)
DescriptionReturns the number of claims the player has in GriefPrevention.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionPlayerProperties.java#L85

Name<PlayerTag.griefprevention.blocks.remaining>
ReturnsElementTag(Number)
DescriptionReturns the number of claim blocks the player has left.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionPlayerProperties.java#L99

Name<PlayerTag.griefprevention.blocks.bonus>
ReturnsElementTag(Number)
MechanismPlayerTag.bonus_blocks
DescriptionReturns the number of bonus claim blocks the player has.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionPlayerProperties.java#L110

Name<PlayerTag.griefprevention.blocks.total>
ReturnsElementTag(Number)
DescriptionReturns the total number of claim blocks the player has.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionPlayerProperties.java#L122

Name<PlayerTag.griefprevention.blocks>
ReturnsElementTag(Number)
MechanismPlayerTag.normal_blocks
DescriptionReturns the number of normal claim blocks the player has.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionPlayerProperties.java#L134

Name<PlayerTag.current_jobs>
ReturnsListTag(JobsJobTag)
DescriptionReturns a list of all jobs that the player is in.
RequiresDepenizen, Jobs
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/jobs/JobsPlayerProperties.java#L61

Name<PlayerTag.job[<job>]>
ReturnsJobsJobTag
DescriptionReturns the job specified with the player's information attached.
RequiresDepenizen, Jobs
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/jobs/JobsPlayerProperties.java#L78

Name<PlayerTag.luckperms_tracks>
ReturnsListTag(LuckPermsTrackTag)
DescriptionReturns a list of tracks the player is in.
RequiresDepenizen, LuckPerms
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/luckperms/LuckPermsPlayerProperties.java#L58

Name<PlayerTag.magicspells.mana>
ReturnsElementTag(Number)
DescriptionReturns the mana of the player.
RequiresDepenizen, MagicSpells
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/magicspells/MagicSpellsPlayerProperties.java#L65

Name<PlayerTag.magicspells.max_mana>
ReturnsElementTag(Number)
DescriptionReturns the maximum mana of the player.
RequiresDepenizen, MagicSpells
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/magicspells/MagicSpellsPlayerProperties.java#L81

Name<PlayerTag.magicspells.known_spells>
ReturnsListTag
DescriptionReturns a list of spells the player knows, by internal name.
RequiresDepenizen, MagicSpells
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/magicspells/MagicSpellsPlayerProperties.java#L97

Name<PlayerTag.mcmmo.level[(<skill>)]>
ReturnsElementTag(Number)
DescriptionReturns the player's level in a skill.
If no skill is specified, this returns the player's overall level.
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOPlayerProperties.java#L64

Name<PlayerTag.mcmmo.party>
ReturnsElementTag
DescriptionReturns the name of the player's party.
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOPlayerProperties.java#L95

Name<PlayerTag.mcmmo.xp[<skill>].to_next_level>
ReturnsElementTag(Number)
DescriptionReturns the amount of experience a player needs to level up in a skill.
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOPlayerProperties.java#L114

Name<PlayerTag.mcmmo.xp[<skill>].level>
ReturnsElementTag(Number)
DescriptionReturns the player's experience level in a skill.
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOPlayerProperties.java#L132

Name<PlayerTag.mcmmo.xp[<skill>]>
ReturnsElementTag(Number)
DescriptionReturns the player's amount of experience in a skill.
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOPlayerProperties.java#L150

Name<PlayerTag.mcmmo.rank[(<skill>)]>
ReturnsElementTag(Number)
DescriptionReturns the player's current rank in a skill.
If no skill is specified, this returns the player's overall rank.
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOPlayerProperties.java#L168

Name<PlayerTag.mobarena.in_arena>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is in an arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L71

Name<PlayerTag.mobarena.current_arena>
ReturnsMobArenaArenaTag
DescriptionReturns the arena the player is in.
NOTE: requires the player to be in an arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L85

Name<PlayerTag.mobarena.class>
ReturnsElementTag
DescriptionReturns the name of the class the player is using.
NOTE: requires the player to be in an arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L97

Name<PlayerTag.mobarena.stats[<mobarena>].kills>
ReturnsElementTag(Number)
DescriptionReturns the number of kills the player has in the arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L127

Name<PlayerTag.mobarena.stats[<mobarena>].damage_done>
ReturnsElementTag(Number)
DescriptionReturns the amount of damage the player has dealt in the arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L138

Name<PlayerTag.mobarena.stats[<mobarena>].damage_taken>
ReturnsElementTag(Number)
DescriptionReturns the amount of damage the player has taken in the arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L149

Name<PlayerTag.mobarena.stats[<mobarena>].last_wave>
ReturnsElementTag(Number)
DescriptionReturns the wave the player reached in their last match in the arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L160

Name<PlayerTag.mobarena.stats[<mobarena>].times_swung>
ReturnsElementTag(Number)
DescriptionReturns the number of times the player has swung their weapon in the arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L171

Name<PlayerTag.mobarena.stats[<mobarena>].times_hit>
ReturnsElementTag(Number)
DescriptionReturns the number of times the player has hit an enemy in the arena.
RequiresDepenizen, MobArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mobarena/MobArenaPlayerProperties.java#L182

Name<PlayerTag.ncp.infractions>
ReturnsElementTag(Number)
DescriptionReturns the number of infractions this player has with NoCheatPlus
NOTE: Cannot guarantee the accuracy of this tag, due to lack of API in NoCheatPlus.
RequiresDepenizen, NoCheatPlus
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/nocheatplus/NoCheatPlusPlayerProperties.java#L58

Name<PlayerTag.nbs_is_playing>
ReturnsElementTag(Boolean)
DescriptionReturns true if the player is currently listening to a note block song.
RequiresDepenizen, NoteBlockAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/noteblockapi/NoteBlockAPIPlayerProperties.java#L52

Name<PlayerTag.playerpoints_points>
ReturnsElementTag(Number)
DescriptionReturns the amount of points the player has. Only works on online players.
RequiresDepenizen, PlayerPoints
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/playerpoints/PlayerPointsPlayerProperties.java#L53

Name<PlayerTag.plotsquared_plots[<WorldTag>]>
ReturnsListTag(PlotSquaredPlotTag)
DescriptionReturns a list of plots a player has in a world. Exclude the context to get plots in all worlds.
RequiresDepenizen, PlotSquared
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/plotsquared/PlotSquaredPlayerProperties.java#L55

Name<PlayerTag.pvparena.in_arena[<pvparena>]>
ReturnsElementTag(Boolean)
DescriptionReturns true if the player is in the specified arena. If no arena is specified,
this returns true if the player is in any arena.
RequiresDepenizen, PvP Arena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvparena/PVPArenaPlayerProperties.java#L63

Name<PlayerTag.pvparena.class>
ReturnsElementTag
DescriptionReturns the player's class if they're in an arena. Otherwise, returns null.
RequiresDepenizen, PvP Arena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvparena/PVPArenaPlayerProperties.java#L90

Name<PlayerTag.pvparena.is_ready>
ReturnsElementTag(Boolean)
DescriptionReturns true if the player is ready.
RequiresDepenizen, PvP Arena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvparena/PVPArenaPlayerProperties.java#L101

Name<PlayerTag.pvparena.team.player_count>
ReturnsElementTag(Number)
DescriptionReturns the number of players in the team.
RequiresDepenizen, PvP Arena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvparena/PVPArenaPlayerProperties.java#L117

Name<PlayerTag.pvparena.team.name>
ReturnsElementTag
DescriptionReturns the player's team name if they're in an arena. Otherwise, returns null.
RequiresDepenizen, PvP Arena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvparena/PVPArenaPlayerProperties.java#L129

Name<PlayerTag.pvpstats.deaths>
ReturnsElementTag(Number)
DescriptionReturns the number of times the player has died.
RequiresDepenizen, PvP Stats
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvpstats/PVPStatsPlayerProperties.java#L59

Name<PlayerTag.pvpstats.elo>
ReturnsElementTag(Number)
DescriptionReturns the Elo rating of the player.
RequiresDepenizen, PvP Stats
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvpstats/PVPStatsPlayerProperties.java#L70

Name<PlayerTag.pvpstats.kills>
ReturnsElementTag(Number)
DescriptionReturns the number of players the player has killed.
RequiresDepenizen, PvP Stats
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvpstats/PVPStatsPlayerProperties.java#L81

Name<PlayerTag.pvpstats.streak>
ReturnsElementTag(Number)
DescriptionReturns the current kill streak of the player.
RequiresDepenizen, PvP Stats
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvpstats/PVPStatsPlayerProperties.java#L92

Name<PlayerTag.pvpstats.max_streak>
ReturnsElementTag(Number)
DescriptionReturns the highest kill streak of the player.
RequiresDepenizen, PvP Stats
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/pvpstats/PVPStatsPlayerProperties.java#L103

Name<PlayerTag.quests.points>
ReturnsElementTag(Number)
DescriptionReturns the number of quest points the player has.
RequiresDepenizen, Quests
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/quests/QuestsPlayerProperties.java#L66

Name<PlayerTag.quests.completed_names>
ReturnsListTag
DescriptionReturns the names of quests the player has completed.
RequiresDepenizen, Quests
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/quests/QuestsPlayerProperties.java#L80

Name<PlayerTag.quests.active_names>
ReturnsListTag
DescriptionReturns the names of quests the player has active.
RequiresDepenizen, Quests
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/quests/QuestsPlayerProperties.java#L92

Name<PlayerTag.quests.completed>
ReturnsElementTag(Number)
DescriptionReturns the number of quests the player has completed.
RequiresDepenizen, Quests
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/quests/QuestsPlayerProperties.java#L107

Name<PlayerTag.quests.active>
ReturnsElementTag(Number)
DescriptionReturns the number of quests the player has active.
RequiresDepenizen, Quests
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/quests/QuestsPlayerProperties.java#L118

Name<PlayerTag.has_main_residence>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has a main Residence.
RequiresDepenizen, Residence
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/residence/ResidencePlayerProperties.java#L61

Name<PlayerTag.main_residence>
ReturnsResidenceTag
DescriptionReturns the player's current main Residence if they have one.
RequiresDepenizen, Residence
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/residence/ResidencePlayerProperties.java#L73

Name<PlayerTag.residences>
ReturnsListTag(ResidenceTag)
DescriptionReturns the player's current list of Residences.
RequiresDepenizen, Residence
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/residence/ResidencePlayerProperties.java#L87

Name<PlayerTag.skillapi.main_class>
ReturnsSkillAPIClassTag
DescriptionReturns the player's main SkillAPI class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L69

Name<PlayerTag.skillapi.in_class[<class>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player professes in the specified class. If none is specified, returns
whether the player professes in any class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L83

Name<PlayerTag.skillapi.has_skill[<skill>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has the specified skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L102

Name<PlayerTag.skillapi.mana>
ReturnsElementTag(Decimal)
DescriptionReturns the player's current amount of mana.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L113

Name<PlayerTag.skillapi.max_mana>
ReturnsElementTag(Decimal)
DescriptionReturns the player's maximum amount of mana.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L124

Name<PlayerTag.skillapi.class_exp[<class>]>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of experience the player has toward the next level in the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L152

Name<PlayerTag.skillapi.class_required_exp[<class>]>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of experience the player must receive to get to the next level
in the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L163

Name<PlayerTag.skillapi.class_total_exp[<class>]>
ReturnsElementTag(Decimal)
DescriptionReturns the total amount of experience the player has in the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L175

Name<PlayerTag.skillapi.class_level[<class>]>
ReturnsElementTag(Number)
DescriptionReturns the level the player is in the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L186

Name<PlayerTag.skillapi.class_points[<class>]>
ReturnsElementTag(Number)
DescriptionReturns the number of skill points the player has in the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L197

Name<PlayerTag.skillapi.class_maxed[<class>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has hit maximum level in the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L208

Name<PlayerTag.skillapi.class_health[<class>]>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of health the player gets from the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L219

Name<PlayerTag.skillapi.class_mana[<class>]>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of mana the player gets from the specified class.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L230

Name<PlayerTag.skillapi.skill_indicator[<skill>]>
ReturnsItemTag
DescriptionReturns the indicator item for the skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L249

Name<PlayerTag.skillapi.skill_bind[<skill>]>
ReturnsMaterialTag
DescriptionReturns the material this skill is currently bound to.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L260

Name<PlayerTag.skillapi.skill_level_requirement[<skill>]>
ReturnsElementTag(Number)
DescriptionReturns the level the player must be to level up the specified skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L271

Name<PlayerTag.skillapi.skill_level[<skill>]>
ReturnsElementTag(Number)
DescriptionReturns the level the player is in the specified skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L282

Name<PlayerTag.skillapi.skill_points[<skill>]>
ReturnsElementTag(Number)
DescriptionReturns how many skill points the player has invested in the specified skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L293

Name<PlayerTag.skillapi.skill_cost[<skill>]>
ReturnsElementTag(Number)
DescriptionReturns the cost the for the player to level up the specified skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L304

Name<PlayerTag.skillapi.skill_on_cooldown[<skill>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the specified skill is currently on cooldown for the player.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L315

Name<PlayerTag.skillapi.skill_cooldown[<skill>]>
ReturnsDurationTag
DescriptionReturns the remaining cooldown the player has in the specified skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L326

Name<PlayerTag.skillapi.skill_maxed[<skill>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has reached max level in the specified skill.
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L337

Name<PlayerTag.skillapi.skill_status[<skill>]>
ReturnsElementTag
DescriptionReturns the player's current status for the specified skill.
Can be: ON_COOLDOWN, MISSING_MANA, or READY
RequiresDepenizen, SkillAPI
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/skillapi/SkillAPIPlayerProperties.java#L348

Name<PlayerTag.townychat.channels>
ReturnsListTag
DescriptionReturns a list of all channels the player is in.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyChatPlayerProperties.java#L68

Name<PlayerTag.townychat.muted_in[<channel_name>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is muted in the specified channel.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyChatPlayerProperties.java#L83

Name<PlayerTag.townychat.has_permission[<channel_name>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player has permissions to join the specified channel.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyChatPlayerProperties.java#L98

Name<PlayerTag.has_nation>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is part of a nation.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyPlayerProperties.java#L67

Name<PlayerTag.has_town>
ReturnsElementTag(Boolean)
DescriptionReturns whether the player is part of a town.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyPlayerProperties.java#L78

Name<PlayerTag.mode_list>
ReturnsListTag
DescriptionReturns the player's towny modes as a list.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyPlayerProperties.java#L89

Name<PlayerTag.nation_ranks>
ReturnsListTag
DescriptionReturns the player's nation ranks.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyPlayerProperties.java#L104

Name<PlayerTag.nation>
ReturnsNationTag
DescriptionReturns the player's nation.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyPlayerProperties.java#L119

Name<PlayerTag.town_ranks>
ReturnsListTag
DescriptionReturns the player's town ranks.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyPlayerProperties.java#L142

Name<PlayerTag.town>
ReturnsTownTag
DescriptionReturns the player's town.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyPlayerProperties.java#L157

Name<PlayerTag.is_vampire>
ReturnsElementTag(Boolean)
DescriptionReturns true if the player is a vampire.
RequiresDepenizen, Vampire
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/vampire/VampirePlayerProperties.java#L60

Name<PlayerTag.is_infected>
ReturnsElementTag(Boolean)
DescriptionReturns true if the player is infected.
RequiresDepenizen, Vampire
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/vampire/VampirePlayerProperties.java#L71

Name<PlayerTag.combat_infect>
ReturnsElementTag(Decimal)
DescriptionReturns the value of the combat infection risk.
RequiresDepenizen, Vampire
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/vampire/VampirePlayerProperties.java#L82

Name<PlayerTag.combat_damage>
ReturnsElementTag(Decimal)
DescriptionReturns the value of the combat damage factor.
RequiresDepenizen, Vampire
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/vampire/VampirePlayerProperties.java#L93

Name<PlayerTag.viaversion>
ReturnsElementTag(Number)
DescriptionReturns the protocol version number of the player's client.
See URL:https://wiki.vg/Protocol_version_numbers as a reference list.
RequiresDepenizen, ViaVersion
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/viaversion/ViaVersionPlayerProperties.java#L56

Name<PlayerTag.we_brush_info[(<item>)]>
ReturnsListTag
DescriptionReturns information about a player's current brush for an item.
If no item is specified, will be based on their held item.
Output is in format: type|size|range|material
Note that some values may be listed as "unknown" or strange values due to WorldEdit having a messy API (no way to automatically stringify brush data).
RequiresDepenizen, WorldEdit
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldedit/WorldEditPlayerProperties.java#L84

Name<PlayerTag.we_selection>
ReturnsObjectTag
MechanismPlayerTag.we_selection
DescriptionReturns the player's current block area selection, as a CuboidTag, EllipsoidTag, or PolygonTag.
RequiresDepenizen, WorldEdit
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldedit/WorldEditPlayerProperties.java#L127

Name<PlayerTag.worldguard.can_build[<location>]>
ReturnsElementTag(Boolean)
DescriptionWhether WorldGuard allows to build at a location.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardPlayerProperties.java#L77

Name<PlayerTag.worldguard.test_flag[<name>]>
ReturnsElementTag(Boolean)
DescriptionReturns the state of a flag for that player at their location.
For example: .test_flag[pvp] returns 'true' when the player can be attacked.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardPlayerProperties.java#L94

Name<PlayerTag.worldguard.test_flag[<name>].at[<location>]>
ReturnsElementTag(Boolean)
DescriptionReturns the state of a flag for that player at the specified location.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardPlayerProperties.java#L117



Category: WorldTag


Name<WorldTag.view_distance>
ReturnsElementTag(Number)
MechanismWorldTag.view_distance
DescriptionReturns the view distance of this world. Chunks are tracked inside this radius.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/WorldViewDistance.java#L46

Name<WorldTag.no_tick_view_distance>
ReturnsElementTag(Number)
MechanismWorldTag.no_tick_view_distance
DescriptionReturns the non-ticking view distance of this world. Chunks will not be tracked between the world's view distance and its non-ticking view distance.
This allows your world to have a higher visual view distance without impacting performance.
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/WorldViewDistance.java#L59

Name<WorldTag.entities[(<entity>|...)]>
ReturnsListTag(EntityTag)
DescriptionReturns a list of entities in this world.
Optionally specify entity types to filter down to.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L220

Name<WorldTag.living_entities>
ReturnsListTag(EntityTag)
DescriptionReturns a list of living entities in this world.
This includes Players, mobs, NPCs, etc., but excludes dropped items, experience orbs, etc.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L247

Name<WorldTag.players>
ReturnsListTag(PlayerTag)
DescriptionReturns a list of online players in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L262

Name<WorldTag.spawned_npcs>
ReturnsListTag(NPCTag)
DescriptionReturns a list of spawned NPCs in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L278

Name<WorldTag.npcs>
ReturnsListTag(NPCTag)
DescriptionReturns a list of all NPCs in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L295

Name<WorldTag.can_generate_structures>
ReturnsElementTag(Boolean)
DescriptionReturns whether the world will generate structures.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L320

Name<WorldTag.loaded_chunks>
ReturnsListTag(ChunkTag)
DescriptionReturns a list of all the currently loaded chunks.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L330

Name<WorldTag.sea_level>
ReturnsElementTag(Number)
DescriptionReturns the level of the sea.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L351

Name<WorldTag.spawn_location>
ReturnsLocationTag
MechanismWorldTag.spawn_location
DescriptionReturns the spawn location of the world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L361

Name<WorldTag.world_type>
ReturnsElementTag
DescriptionReturns the world type of the world.
Can return any enum from: URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/WorldType.html
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L372

Name<WorldTag.name>
ReturnsElementTag
DescriptionReturns the name of the world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L387

Name<WorldTag.seed>
ReturnsElementTag
DescriptionReturns the world seed.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L397

Name<WorldTag.allows_animals>
ReturnsElementTag(Boolean)
DescriptionReturns whether animals can spawn in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L411

Name<WorldTag.allows_monsters>
ReturnsElementTag(Boolean)
DescriptionReturns whether monsters can spawn in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L421

Name<WorldTag.allows_pvp>
ReturnsElementTag(Boolean)
DescriptionReturns whether player versus player combat is allowed in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L431

Name<WorldTag.auto_save>
ReturnsElementTag(Boolean)
MechanismWorldTag.auto_save
DescriptionReturns whether the world automatically saves.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L441

Name<WorldTag.ambient_spawn_limit>
ReturnsElementTag(Number)
MechanismWorldTag.ambient_spawn_limit
DescriptionReturns the number of ambient mobs that can spawn in a chunk in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L452

Name<WorldTag.animal_spawn_limit>
ReturnsElementTag(Number)
MechanismWorldTag.animal_spawn_limit
DescriptionReturns the number of animals that can spawn in a chunk in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L463

Name<WorldTag.monster_spawn_limit>
ReturnsElementTag(Number)
MechanismWorldTag.monster_spawn_limit
DescriptionReturns the number of monsters that can spawn in a chunk in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L474

Name<WorldTag.water_animal_spawn_limit>
ReturnsElementTag(Number)
MechanismWorldTag.water_animal_spawn_limit
DescriptionReturns the number of water animals that can spawn in a chunk in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L485

Name<WorldTag.difficulty>
ReturnsElementTag
MechanismWorldTag.difficulty
DescriptionReturns the name of the difficulty level.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L496

Name<WorldTag.keep_spawn>
ReturnsElementTag(Boolean)
MechanismWorldTag.keep_spawn
DescriptionReturns whether the world's spawn area should be kept loaded into memory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L507

Name<WorldTag.max_height>
ReturnsElementTag(Number)
DescriptionReturns the maximum height of this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L518

Name<WorldTag.ticks_per_animal_spawn>
ReturnsDurationTag
MechanismWorldTag.ticks_per_animal_spawns
DescriptionReturns the world's ticks per animal spawn value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L528

Name<WorldTag.ticks_per_monster_spawn>
ReturnsDurationTag
MechanismWorldTag.ticks_per_monster_spawns
DescriptionReturns the world's ticks per monster spawn value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L539

Name<WorldTag.time>
ReturnsElementTag(Number)
MechanismWorldTag.time
DescriptionReturns the relative in-game time of this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L554

Name<WorldTag.time.duration>
ReturnsDurationTag
DescriptionReturns the relative in-game time of this world as a duration.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L562

Name<WorldTag.time.full>
ReturnsDurationTag
DescriptionReturns the in-game time of this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L573

Name<WorldTag.time.period>
ReturnsElementTag
DescriptionReturns the time as 'day', 'night', 'dawn', or 'dusk'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L584

Name<WorldTag.moon_phase>
ReturnsElementTag(Number)
DescriptionReturns the current phase of the moon, as a number from 1 to 8.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L616

Name<WorldTag.has_storm>
ReturnsElementTag(Boolean)
DescriptionReturns whether there is currently a storm in this world.
ie, whether it is raining. To check for thunder, use Tag:WorldTag.thundering.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L630

Name<WorldTag.thunder_duration>
ReturnsDurationTag
MechanismWorldTag.thunder_duration
DescriptionReturns the duration of thunder.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L641

Name<WorldTag.thundering>
ReturnsElementTag(Boolean)
MechanismWorldTag.thundering
DescriptionReturns whether it is currently thundering in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L652

Name<WorldTag.weather_duration>
ReturnsDurationTag
MechanismWorldTag.weather_duration
DescriptionReturns the duration of storms.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L663

Name<WorldTag.environment>
ReturnsElementTag
DescriptionReturns the environment of the world: NORMAL, NETHER, or THE_END.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L674

Name<WorldTag.border_size>
ReturnsElementTag(Decimal)
DescriptionReturns the size of the world border in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L688

Name<WorldTag.border_center>
ReturnsLocationTag
DescriptionReturns the center of the world border in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L698

Name<WorldTag.border_damage>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of damage caused by crossing the world border in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L708

Name<WorldTag.border_damage_buffer>
ReturnsElementTag(Decimal)
DescriptionReturns the damage buffer of the world border in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L718

Name<WorldTag.border_warning_distance>
ReturnsElementTag(Number)
DescriptionReturns the warning distance of the world border in this world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L728

Name<WorldTag.border_warning_time>
ReturnsDurationTag
DescriptionReturns warning time of the world border in this world as a duration.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L738

Name<WorldTag.gamerule[<gamerule>]>
ReturnsElementTag
DescriptionReturns the current value of the specified gamerule in the world.
Note that the name is case-sensitive... so "doFireTick" is correct, but "dofiretick" is not.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L748

Name<WorldTag.gamerule_map>
ReturnsMapTag
DescriptionReturns a map of all the current values of all gamerules in the world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L765

Name<WorldTag.advanced_matches[<matcher>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the world matches some matcher text, using the system behind Language:Advanced Script Event Matching.
Groupelement checking
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/WorldTag.java#L782

Name<WorldTag.is_skyblock_world>
ReturnsElementTag(Boolean)
DescriptionReturns whether the world is used by A SkyBlock.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockWorldProperties.java#L61

Name<WorldTag.bigdoors>
ReturnsListTag(BigDoorsDoorTag)
DescriptionReturns a list of Big Doors doors in the world.
RequiresDepenizen, Big Doors
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/bigdoors/BigDoorsWorldProperties.java#L48

Name<WorldTag.list_regions>
ReturnsListTag(WorldGuardRegionTag)
DescriptionReturns a list of WorldGuard regions in this world.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardWorldProperties.java#L60

Name<WorldTag.has_region[<name>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether a region exists in this world for the given name.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardWorldProperties.java#L75



Category: paper


Name<paper.tick_times>
ReturnsListTag(DurationTag)
DescriptionReturns a sample of the server's last 5s of tick times as a list of durations.
On average, a tick should take 50ms or less for a stable 20tps.
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/tags/PaperTagBase.java#L29



Category: BiomeTag


Name<BiomeTag.downfall_type>
ReturnsElementTag
DescriptionReturns this biome's downfall type for when a world has weather.
This can be RAIN, SNOW, or NONE.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L169

Name<BiomeTag.name>
ReturnsElementTag
DescriptionReturns this biome's name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L180

Name<BiomeTag.humidity>
ReturnsElementTag(Decimal)
MechanismBiomeTag.humidity
DescriptionReturns the humidity of this biome.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L190

Name<BiomeTag.temperature>
ReturnsElementTag(Decimal)
MechanismBiomeTag.temperature
DescriptionReturns the temperature of this biome.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L200

Name<BiomeTag.spawnable_entities[(<type>)]>
ReturnsListTag(EntityTag)
DescriptionReturns all entities that spawn naturally in this biome.
Optionally specify a type as: AMBIENT, CREATURES, MONSTERS, WATER, or ALL.
(By default, will be "ALL").
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L210



Category: ChunkTag


Name<ChunkTag.add[<#>,<#>]>
ReturnsChunkTag
DescriptionReturns the chunk with the specified coordinates added to it.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L276

Name<ChunkTag.sub[<#>,<#>]>
ReturnsChunkTag
DescriptionReturns the chunk with the specified coordinates subtracted from it.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L303

Name<ChunkTag.is_generated>
ReturnsElementTag(Boolean)
DescriptionReturns true if the chunk has already been generated.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L330

Name<ChunkTag.is_loaded>
ReturnsElementTag(Boolean)
DescriptionReturns true if the chunk is currently loaded into memory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L340

Name<ChunkTag.force_loaded>
ReturnsElementTag(Boolean)
DescriptionReturns whether the chunk is forced to stay loaded at all times.
This is related to the Command:chunkload command.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L350

Name<ChunkTag.x>
ReturnsElementTag(Number)
DescriptionReturns the x coordinate of the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L362

Name<ChunkTag.z>
ReturnsElementTag(Number)
DescriptionReturns the z coordinate of the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L372

Name<ChunkTag.world>
ReturnsWorldTag
DescriptionReturns the world associated with the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L382

Name<ChunkTag.cuboid>
ReturnsCuboidTag
DescriptionReturns a cuboid of this chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L392

Name<ChunkTag.tile_entities>
ReturnsListTag(LocationTag)
DescriptionReturns a list of tile entity locations in the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L403

Name<ChunkTag.entities[(<entity>|...)]>
ReturnsListTag(EntityTag)
DescriptionReturns a list of entities in the chunk.
Optionally specify entity types to filter down to.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L427

Name<ChunkTag.living_entities>
ReturnsListTag(EntityTag)
DescriptionReturns a list of living entities in the chunk.
This includes Players, mobs, NPCs, etc., but excludes dropped items, experience orbs, etc.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L464

Name<ChunkTag.players>
ReturnsListTag(PlayerTag)
DescriptionReturns a list of players in the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L491

Name<ChunkTag.height_map>
ReturnsListTag
DescriptionReturns a list of the height of each block in the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L511

Name<ChunkTag.average_height>
ReturnsElementTag(Decimal)
DescriptionReturns the average height of the blocks in the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L530

Name<ChunkTag.is_flat[(<#>)]>
ReturnsElementTag(Boolean)
DescriptionScans the heights of the blocks to check variance between them.
If no number is supplied, is_flat will return true if all the blocks are less than 2 blocks apart in height.
Specifying a number will modify the number criteria for determining if it is flat.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L549

Name<ChunkTag.surface_blocks>
ReturnsListTag(LocationTag)
DescriptionReturns a list of the highest non-air surface blocks in the chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L577

Name<ChunkTag.blocks_flagged[<flag_name>]>
ReturnsListTag(LocationTag)
DescriptionGets a list of all block locations with a specified flag within the CuboidTag.
Searches the internal flag lists, rather than through all possible blocks.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L598

Name<ChunkTag.spawn_slimes>
ReturnsElementTag(Boolean)
DescriptionReturns whether the chunk is a specially located 'slime spawner' chunk.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L622

Name<ChunkTag.inhabited_time>
ReturnsDurationTag
MechanismChunkTag.inhabited_time
DescriptionReturns the total time the chunk has been inhabited for.
This is a primary deciding factor in the "local difficulty" setting.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L636



Category: ColorTag


Name<ColorTag.hex>
ReturnsElementTag)
DescriptionReturns a hex code formatting of this color, like '#ff00ff'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L198

Name<ColorTag.red>
ReturnsElementTag(Number)
DescriptionReturns the red value of this color (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L208

Name<ColorTag.green>
ReturnsElementTag(Number)
DescriptionReturns the green value of this color (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L218

Name<ColorTag.blue>
ReturnsElementTag(Number)
DescriptionReturns the blue value of this color (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L228

Name<ColorTag.rgb>
ReturnsElementTag
DescriptionReturns the RGB value of this color.
EG, 255,0,255
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L238

Name<ColorTag.hue>
ReturnsElementTag(Number)
DescriptionReturns the hue value of this color (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L250

Name<ColorTag.saturation>
ReturnsElementTag(Number)
DescriptionReturns the saturation value of this color (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L260

Name<ColorTag.brightness>
ReturnsElementTag(Number)
DescriptionReturns the brightness value of this color (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L270

Name<ColorTag.hsv>
ReturnsElementTag
DescriptionReturns the HSV value of this color.
EG, 100,100,255
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L280

Name<ColorTag.with_red[<red>]>
ReturnsColorTag
DescriptionReturns a copy of this color object with a different red value (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L292

Name<ColorTag.with_green[<green>]>
ReturnsColorTag
DescriptionReturns a copy of this color object with a different green value (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L302

Name<ColorTag.with_blue[<blue>]>
ReturnsColorTag
DescriptionReturns a copy of this color object with a different blue value (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L312

Name<ColorTag.with_hue[<hue>]>
ReturnsColorTag
DescriptionReturns a copy of this color object with a different hue value (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L322

Name<ColorTag.with_saturation[<saturation>]>
ReturnsColorTag
DescriptionReturns a copy of this color object with a different saturation value (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L334

Name<ColorTag.with_brightness[<brightness>]>
ReturnsColorTag
DescriptionReturns a copy of this color object with a different brightness value (0 to 255).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L346

Name<ColorTag.name>
ReturnsElementTag
DescriptionReturns the name of this color (or red,green,blue if none).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L358

Name<ColorTag.mix[<color>]>
ReturnsColorTag
DescriptionReturns the color that results if you mix this color with another.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L368

Name<ColorTag.to_particle_offset>
ReturnsLocationTag
DescriptionReturns the color as a particle offset, for use with Command:playeffect.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L389



Category: CuboidTag


Name<CuboidTag.random>
ReturnsLocationTag
DescriptionReturns a random block location within the cuboid.
(Note: random selection will not be fairly weighted for multi-member cuboids).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L765

Name<CuboidTag.blocks[(<material>|...)]>
ReturnsListTag(LocationTag)
DescriptionReturns each block location within the CuboidTag.
Optionally, specify a list of materials to only return locations with that block type.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L783

Name<CuboidTag.blocks_flagged[<flag_name>]>
ReturnsListTag(LocationTag)
DescriptionGets a list of all block locations with a specified flag within the CuboidTag.
Searches the internal flag lists, rather than through all possible blocks.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L799

Name<CuboidTag.members_size>
ReturnsElementTag(Number)
DescriptionReturns the number of cuboids defined in the CuboidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L835

Name<CuboidTag.spawnable_blocks[(<material>|...)]>
ReturnsListTag(LocationTag)
DescriptionReturns each LocationTag within the CuboidTag that is safe for players or similar entities to spawn in.
Optionally, specify a list of materials to only return locations with that block type.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L845

Name<CuboidTag.shell>
ReturnsListTag(LocationTag)
DescriptionReturns each block location on the shell of the CuboidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L861

Name<CuboidTag.outline>
ReturnsListTag(LocationTag)
DescriptionReturns each block location on the outline of the CuboidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L871

Name<CuboidTag.outline_2d[<#.#>]>
ReturnsListTag(LocationTag)
DescriptionReturns a list of block locations along the 2D outline of this CuboidTag, at the specified Y level.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L881

Name<CuboidTag.intersects[<cuboid>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether this cuboid and another intersect.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L896

Name<CuboidTag.contains_location[<location>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether this cuboid contains a location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L932

Name<CuboidTag.is_within[<cuboid>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether this cuboid is fully inside another cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L947

Name<CuboidTag.list_members>
ReturnsListTag(CuboidTag)
DescriptionReturns a list of all sub-cuboids in this CuboidTag (for cuboids that contain multiple sub-cuboids).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L990

Name<CuboidTag.get[<index>]>
ReturnsCuboidTag
DescriptionReturns a cuboid representing the one component of this cuboid (for cuboids that contain multiple sub-cuboids).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1005

Name<CuboidTag.set[<cuboid>].at[<index>]>
ReturnsCuboidTag
MechanismCuboidTag.set_member
DescriptionReturns a modified copy of this cuboid, with the specific sub-cuboid index changed to hold the input cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1029

Name<CuboidTag.add_member[<cuboid>|...]>
ReturnsCuboidTag
MechanismCuboidTag.add_member
DescriptionReturns a modified copy of this cuboid, with the input cuboid(s) added at the end.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1066

Name<CuboidTag.add_member[<cuboid>|...].at[<index>]>
ReturnsCuboidTag
MechanismCuboidTag.add_member
DescriptionReturns a modified copy of this cuboid, with the input cuboid(s) added at the specified index.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1081

Name<CuboidTag.remove_member[<#>]>
ReturnsCuboidTag
MechanismCuboidTag.remove_member
DescriptionReturns a modified copy of this cuboid, with member at the input index removed.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1117

Name<CuboidTag.center>
ReturnsLocationTag
DescriptionReturns the location of the exact center of the cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1141

Name<CuboidTag.volume>
ReturnsElementTag(Number)
DescriptionReturns the volume of the cuboid.
Effectively equivalent to: (size.x * size.y * size.z).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1169

Name<CuboidTag.size>
ReturnsLocationTag
DescriptionReturns the size of the cuboid.
Effectively equivalent to: (max - min) + (1,1,1)
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1182

Name<CuboidTag.max>
ReturnsLocationTag
DescriptionReturns the highest-numbered (maximum) corner location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1208

Name<CuboidTag.world>
ReturnsWorldTag
DescriptionReturns the cuboid's world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1230

Name<CuboidTag.min>
ReturnsLocationTag
DescriptionReturns the lowest-numbered (minimum) corner location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1240

Name<CuboidTag.shift[<vector>]>
ReturnsCuboidTag
DescriptionReturns a copy of this cuboid, with the first member shifted by the given vector LocationTag.
For example, a cuboid from 5,5,5 to 10,10,10, shifted 100,0,100, would return a cuboid from 105,5,105 to 110,10,110.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1262

Name<CuboidTag.include[<location>/<cuboid>]>
ReturnsCuboidTag
DescriptionExpands the first member of the CuboidTag to contain the given location (or entire cuboid), and returns the expanded cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1281

Name<CuboidTag.include_x[<number>]>
ReturnsCuboidTag
DescriptionExpands the first member of the CuboidTag to contain the given X value, and returns the expanded cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1303

Name<CuboidTag.include_y[<number>]>
ReturnsCuboidTag
DescriptionExpands the first member of the CuboidTag to contain the given Y value, and returns the expanded cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1325

Name<CuboidTag.include_z[<number>]>
ReturnsCuboidTag
DescriptionExpands the first member of the CuboidTag to contain the given Z value, and returns the expanded cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1347

Name<CuboidTag.with_world[<world>]>
ReturnsCuboidTag
DescriptionChanges the CuboidTag to have the given world, and returns the changed cuboid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1369

Name<CuboidTag.with_min[<location>]>
ReturnsCuboidTag
DescriptionChanges the first member of the CuboidTag to have the given minimum location, and returns the changed cuboid.
If values in the new min are higher than the existing max, the output max will contain the new min values,
and the output min will contain the old max values.
Note that this is equivalent to constructing a cuboid with the input value and the original cuboids max value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1393

Name<CuboidTag.with_max[<location>]>
ReturnsCuboidTag
DescriptionChanges the first member of the CuboidTag to have the given maximum location, and returns the changed cuboid.
If values in the new max are lower than the existing min, the output min will contain the new max values,
and the output max will contain the old min values.
Note that this is equivalent to constructing a cuboid with the input value and the original cuboids min value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1411

Name<CuboidTag.expand[<location>]>
ReturnsCuboidTag
DescriptionChanges the first member of the CuboidTag to be expanded by the given amount, and returns the changed cuboid.
This will decrease the min coordinates by the given vector location, and increase the max coordinates by it.
Supplying a negative input will therefore contract the cuboid.
Note that you can also specify a single number to expand all coordinates by the same amount (equivalent to specifying a location that is that value on X, Y, and Z).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1429

Name<CuboidTag.players>
ReturnsListTag(PlayerTag)
DescriptionGets a list of all players currently within the CuboidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1455

Name<CuboidTag.npcs>
ReturnsListTag(NPCTag)
DescriptionGets a list of all NPCs currently within the CuboidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1471

Name<CuboidTag.entities[(<matcher>)]>
ReturnsListTag(EntityTag)
DescriptionGets a list of all entities currently within the CuboidTag, with an optional search parameter for the entity.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1490

Name<CuboidTag.living_entities>
ReturnsListTag(EntityTag)
DescriptionGets a list of all living entities currently within the CuboidTag.
This includes Players, mobs, NPCs, etc., but excludes dropped items, experience orbs, etc.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1510

Name<CuboidTag.chunks>
ReturnsListTag(ChunkTag)
DescriptionGets a list of all chunks entirely within the CuboidTag (ignoring the Y axis).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1527

Name<CuboidTag.partial_chunks>
ReturnsListTag(ChunkTag)
DescriptionGets a list of all chunks partially or entirely within the CuboidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1560

Name<CuboidTag.note_name>
ReturnsElementTag
DescriptionGets the name of a noted CuboidTag. If the cuboid isn't noted, this is null.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1580

Name<CuboidTag.has_town>
ReturnsElementTag(Boolean)
DescriptionReturns whether the cuboid contains any town at all.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyCuboidProperties.java#L64

Name<CuboidTag.list_towns>
ReturnsListTag(TownTag)
DescriptionReturns all the towns within the cuboid.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyCuboidProperties.java#L80

Name<CuboidTag.has_region>
ReturnsElementTag(Boolean)
DescriptionReturns whether the cuboid contains any region.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardCuboidProperties.java#L90

Name<CuboidTag.regions>
ReturnsListTag(WorldGuardRegionTag)
DescriptionReturns a list of regions that are in this cuboid.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardCuboidProperties.java#L101



Category: EllipsoidTag


Name<EllipsoidTag.random>
ReturnsLocationTag
DescriptionReturns a random decimal location within the ellipsoid.
Note that distribution of results will not be completely even.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L408

Name<EllipsoidTag.blocks[<material>|...]>
ReturnsListTag(LocationTag)
DescriptionReturns each block location within the EllipsoidTag.
Optionally, specify a list of materials to only return locations with that block type.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L431

Name<EllipsoidTag.blocks_flagged[<flag_name>]>
ReturnsListTag(LocationTag)
DescriptionGets a list of all block locations with a specified flag within the ellipsoid.
Searches the internal flag lists, rather than through all possible blocks.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L447

Name<EllipsoidTag.shell>
ReturnsListTag(LocationTag)
DescriptionReturns a 3D outline (shell) of this ellipsoid, as a list of block locations.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L487

Name<EllipsoidTag.location>
ReturnsLocationTag
DescriptionReturns the location of the ellipsoid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L497

Name<EllipsoidTag.size>
ReturnsLocationTag
DescriptionReturns the size of the ellipsoid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L507

Name<EllipsoidTag.add[<location>]>
ReturnsEllipsoidTag
DescriptionReturns a copy of this ellipsoid, shifted by the input location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L517

Name<EllipsoidTag.contains[<location>]>
ReturnsElementTag(Boolean)
DescriptionReturns a boolean indicating whether the specified location is inside this ellipsoid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L531

Name<EllipsoidTag.include[<location>]>
ReturnsEllipsoidTag
DescriptionReturns a copy of this ellipsoid, with the size value adapted to include the specified world location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L545

Name<EllipsoidTag.with_location[<location>]>
ReturnsEllipsoidTag
DescriptionReturns a copy of this ellipsoid, set to the specified location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L595

Name<EllipsoidTag.with_size[<location>]>
ReturnsEllipsoidTag
DescriptionReturns a copy of this ellipsoid, set to the specified size.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L609

Name<EllipsoidTag.with_world[<world>]>
ReturnsEllipsoidTag
DescriptionReturns a copy of this ellipsoid, set to the specified world.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L623

Name<EllipsoidTag.players>
ReturnsListTag(PlayerTag)
DescriptionGets a list of all players currently within the EllipsoidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L639

Name<EllipsoidTag.npcs>
ReturnsListTag(NPCTag)
DescriptionGets a list of all NPCs currently within the EllipsoidTag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L655

Name<EllipsoidTag.entities[(<matcher>)]>
ReturnsListTag(EntityTag)
DescriptionGets a list of all entities currently within the EllipsoidTag, with an optional search parameter for the entity.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L674

Name<EllipsoidTag.chunks>
ReturnsListTag(ChunkTag)
DescriptionReturns a list of all chunks that this ellipsoid touches at all (note that no valid ellipsoid tag can ever totally contain a chunk, due to vertical limits and roundness).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L694

Name<EllipsoidTag.note_name>
ReturnsElementTag
DescriptionGets the name of a noted EllipsoidTag. If the ellipsoid isn't noted, this is null.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L723



Category: InventoryTag


Name<InventoryTag.empty_slots>
ReturnsElementTag(Number)
DescriptionReturns the number of empty slots in an inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1132

Name<InventoryTag.can_fit[<item>|...]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory can fit an item.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1155

Name<InventoryTag.can_fit[<item>].count>
ReturnsElementTag(Number)
DescriptionReturns the total count of how many times an item can fit into an inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1181

Name<InventoryTag.can_fit[<item>].quantity[<#>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory can fit a certain quantity of an item.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1200

Name<InventoryTag.include[<item>|...]>
ReturnsInventoryTag
DescriptionReturns a copy of the InventoryTag with items added.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1227

Name<InventoryTag.include[<item>].quantity[<#>]>
ReturnsInventoryTag
DescriptionReturns the InventoryTag with a certain quantity of an item added.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1249

Name<InventoryTag.exclude[<item>|...]>
ReturnsInventoryTag
DescriptionReturns a copy of the InventoryTag with items excluded.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1271

Name<InventoryTag.exclude[<item>].quantity[<#>]>
ReturnsInventoryTag
DescriptionReturns the InventoryTag with a certain quantity of an item excluded.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1293

Name<InventoryTag.is_empty>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory is empty.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1315

Name<InventoryTag.is_full>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory is completely full.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1332

Name<InventoryTag.contains_item[<matcher>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory contains any item that matches the specified item matcher.
Uses the system behind Language:Advanced Script Event Matching.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1352

Name<InventoryTag.contains_item[<matcher>].quantity[<#>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory contains a certain number of items that match the specified item matcher.
Uses the system behind Language:Advanced Script Event Matching.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1366

Name<InventoryTag.contains.display[(strict:)<element>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory contains an item with the specified display name.
Use 'strict:' in front of the search element to ensure the display name is EXACTLY the search element,
otherwise the searching will only check if the search element is contained in the display name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1392

Name<InventoryTag.contains.display[(strict:)<element>].quantity[<#>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory contains a certain quantity of an item with the specified display name.
Use 'strict:' in front of the search element to ensure the display name is EXACTLY the search element,
otherwise the searching will only check if the search element is contained in the display name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1415

Name<InventoryTag.contains.lore[(strict:)<element>|...]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory contains an item with the specified lore.
Use 'strict:' in front of the search elements to ensure all lore lines are EXACTLY the search elements,
otherwise the searching will only check if the search elements are contained in the lore.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1474

Name<InventoryTag.contains.lore[(strict:)<element>|...].quantity[<#>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory contains a certain quantity of an item with the specified lore.
Use 'strict:' in front of the search elements to ensure all lore lines are EXACTLY the search elements,
otherwise the searching will only check if the search elements are contained in the lore.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1498

Name<InventoryTag.first_empty>
ReturnsElementTag(Number)
DescriptionReturns the location of the first empty slot.
Returns -1 if the inventory is full.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1750

Name<InventoryTag.find_item[<matcher>]>
ReturnsElementTag(Number)
DescriptionReturns the location of the first slot that contains an item that matches the given item matcher.
Returns -1 if there's no match.
Uses the system behind Language:Advanced Script Event Matching.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1762

Name<InventoryTag.id_type>
ReturnsElementTag
DescriptionReturns Denizen's type ID for this inventory (player, location, etc.).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1865

Name<InventoryTag.note_name>
ReturnsElementTag
DescriptionGets the name of a noted InventoryTag. If the inventory isn't noted, this is null.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1875

Name<InventoryTag.location>
ReturnsLocationTag
DescriptionReturns the location of this inventory's holder.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1889

Name<InventoryTag.quantity_item[(<matcher>)]>
ReturnsElementTag(Number)
DescriptionReturns the combined quantity of itemstacks that match an item matcher if one is specified,
or the combined quantity of all itemstacks if one is not.
Uses the system behind Language:Advanced Script Event Matching.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1899

Name<InventoryTag.stacks[(<item>)]>
ReturnsElementTag(Number)
DescriptionReturns the number of itemstacks that match an item if one is specified, or the number of all itemstacks if one is not.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1955

Name<InventoryTag.slot[<#>|...]>
ReturnsItemTag or ListTag(ItemTag)
DescriptionIf one slot is specified, returns the item in the specified slot.
If more than what slot is specified, returns a list of the item in each given slot.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L1970

Name<InventoryTag.inventory_type>
ReturnsElementTag
DescriptionReturns the type of the inventory (e.g. "PLAYER", "CRAFTING", "HORSE").
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2014

Name<InventoryTag.equipment_map>
ReturnsMapTag
DescriptionReturns a MapTag containing the inventory's equipment.
Output keys for players are boots, leggings, chestplate, helmet.
Output keys for horses are saddle, armor.
Air items will be left out of the map.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2024

Name<InventoryTag.equipment>
ReturnsListTag(ItemTag)
DescriptionReturns the equipment of an inventory as a list of items.
For players, the order is boots|leggings|chestplate|helmet.
For horses, the order is saddle|armor.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2037

Name<InventoryTag.matrix>
ReturnsListTag(ItemTag)
MechanismInventoryTag.matrix
DescriptionReturns the items currently in a crafting inventory's matrix.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2049

Name<InventoryTag.recipe>
ReturnsElementTag
DescriptionReturns the recipe ID for the recipe currently formed in a crafting inventory.
Returns a list in the Namespace:Key format, for example "minecraft:stick".
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2072

Name<InventoryTag.craftable_quantity>
ReturnsElementTag(Number)
DescriptionReturns the quantity of items that would be received if this crafting inventory were fully crafted (eg via a shift click).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2093

Name<InventoryTag.result>
ReturnsItemTag
MechanismInventoryTag.result
DescriptionReturns the item currently in the result section of a crafting inventory or furnace inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2113

Name<InventoryTag.anvil_repair_cost>
ReturnsElementTag(Number)
MechanismInventoryTag.anvil_repair_cost
DescriptionReturns the current repair cost on an anvil.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2137

Name<InventoryTag.anvil_max_repair_cost>
ReturnsElementTag(Number)
MechanismInventoryTag.anvil_max_repair_cost
DescriptionReturns the maximum repair cost on an anvil.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2151

Name<InventoryTag.anvil_rename_text>
ReturnsElementTag
DescriptionReturns the current entered renaming text on an anvil.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2165

Name<InventoryTag.fuel>
ReturnsItemTag
MechanismInventoryTag.fuel
DescriptionReturns the item currently in the fuel section of a furnace or brewing stand inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2178

Name<InventoryTag.input>
ReturnsItemTag
MechanismInventoryTag.input
DescriptionReturns the item currently in the smelting slot of a furnace inventory, or the ingredient slot of a brewing stand inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2195

Name<InventoryTag.advanced_matches[<matcher>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory matches some matcher text, using the system behind Language:Advanced Script Event Matching.
Groupelement checking
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/InventoryTag.java#L2213

Name<InventoryTag.map_slots>
ReturnsMapTag
DescriptionReturns a map of inventory slots to the items in those slots (excludes air).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L115

Name<InventoryTag.list_contents>
ReturnsListTag(ItemTag)
MechanismInventoryTag.contents
DescriptionReturns a list of all items in the inventory.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L134

Name<InventoryTag.list_contents.simple>
ReturnsListTag(ItemTag)
MechanismInventoryTag.contents
DescriptionReturns a list of all items in the inventory, without item properties.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L144

Name<InventoryTag.list_contents.with_lore[<element>]>
ReturnsListTag(ItemTag)
MechanismInventoryTag.contents
DescriptionReturns a list of all items in the inventory with the specified
lore. Color codes are ignored.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L157

Name<InventoryTag.list_contents.with_lore[<element>].simple>
ReturnsListTag(ItemTag)
MechanismInventoryTag.contents
DescriptionReturns a list of all items in the inventory with the specified
lore, without item properties. Color codes are ignored.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryContents.java#L175

Name<InventoryTag.id_holder>
ReturnsObjectTag
DescriptionReturns Denizen's holder ID for this inventory. (player object, location object, etc.)
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryHolder.java#L52

Name<InventoryTag.script>
ReturnsScriptTag
DescriptionReturns the script that this inventory came from (if any).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryHolder.java#L63

Name<InventoryTag.size>
ReturnsElementTag(Number)
MechanismInventoryTag.size
DescriptionReturn the number of slots in the inventory.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventorySize.java#L63

Name<InventoryTag.title>
ReturnsElementTag
MechanismInventoryTag.title
DescriptionReturns the title of the inventory.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryTitle.java#L67

Name<InventoryTag.trades>
ReturnsListTag(TradeTag)
MechanismInventoryTag.trades
DescriptionReturn the list of recipes from a merchant inventory.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/inventory/InventoryTrades.java#L61

Name<InventoryTag.is_bossshop>
ReturnsElementTag(Boolean)
DescriptionReturns whether the inventory is a BossShop.
RequiresDepenizen, BossShopPro
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/bossshop/BossShopInventoryProperties.java#L60



Category: ItemTag


Name<ItemTag.repairable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the item can be repaired.
If this returns true, it will enable access to:
Mechanism:ItemTag.durability,
Tag:ItemTag.max_durability, and Tag:ItemTag.durability.
Note that due to odd design choices in Spigot, this is effectively true for all items, even though the durability value of most items is locked at zero.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L530

Name<ItemTag.is_book>
ReturnsElementTag(Boolean)
DescriptionReturns whether the item is considered an editable book.
If this returns true, it will enable access to:
Mechanism:ItemTag.book,
Tag:ItemTag.book_author, Tag:ItemTag.book_title, and Tag:ItemTag.book_pages.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L545

Name<ItemTag.is_colorable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the item can have a custom color.
If this returns true, it will enable access to:
Mechanism:ItemTag.color, and Tag:ItemTag.color.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L559

Name<ItemTag.is_firework>
ReturnsElementTag(Boolean)
DescriptionReturns whether the item is a firework.
If this returns true, it will enable access to:
Mechanism:ItemTag.firework, and Tag:ItemTag.firework.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L576

Name<ItemTag.has_inventory>
ReturnsElementTag(Boolean)
DescriptionReturns whether the item has an inventory.
If this returns true, it will enable access to:
Mechanism:ItemTag.inventory_contents, and Tag:ItemTag.inventory_contents.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L589

Name<ItemTag.is_lockable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the item is lockable.
If this returns true, it will enable access to:
Mechanism:ItemTag.lock, and Tag:ItemTag.lock.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L602

Name<ItemTag.material>
ReturnsMaterialTag
MechanismItemTag.material
DescriptionReturns the MaterialTag that is the basis of the item.
EG, a stone with lore and a display name, etc. will return only "[email protected]".
Groupconversion
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L615

Name<ItemTag.json>
ReturnsElementTag
DescriptionReturns the item converted to a raw JSON object with one layer of escaping for network transmission.
EG, via /tellraw.
Generally, prefer tags like Tag:ElementTag.on_hover.type with type 'show_item'.
Groupconversion
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L639

Name<ItemTag.bukkit_serial>
ReturnsElementTag
DescriptionReturns a YAML text section representing the Bukkit serialization of the item, under subkey "item".
Groupconversion
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L652

Name<ItemTag.simple>
ReturnsElementTag
DescriptionReturns a simple reusable item identification for this item, with minimal extra data.
Groupconversion
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L665

Name<ItemTag.recipe_ids[(<type>)]>
ReturnsListTag
DescriptionIf the item is a scripted item, returns a list of all recipe IDs created by the item script.
Others, returns a list of all recipe IDs that the server lists as capable of crafting the item.
Returns a list in the Namespace:Key format, for example "minecraft:gold_nugget".
Optionally, specify a recipe type (CRAFTING, FURNACE, COOKING, BLASTING, SHAPED, SHAPELESS, SMOKING, STONECUTTING)
to limit to just recipes of that type.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L676

Name<ItemTag.formatted>
ReturnsElementTag
DescriptionReturns the formatted material name of the item to be used in a sentence.
Correctly uses singular and plural forms of item names, among other things.
Groupformatting
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L719

Name<ItemTag.advanced_matches[<matcher>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the item matches some matcher text, using the system behind Language:Advanced Script Event Matching.
Groupelement checking
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L731

Name<ItemTag.attribute_modifiers>
ReturnsMapTag
MechanismItemTag.attribute_modifiers
DescriptionReturns a map of all attribute modifiers on the 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'.
This is formatted in a way that can be sent back into the 'attribute_modifiers' mechanism.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemAttributeModifiers.java#L83

Name<ItemTag.base_color>
ReturnsElementTag
MechanismItemTag.base_color
DescriptionGets the base color of a shield.
For the list of possible colors, see URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBaseColor.java#L85

Name<ItemTag.block_material>
ReturnsMaterialTag
MechanismItemTag.block_material
DescriptionReturns the material for an item with complex-block-data attached.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBlockMaterial.java#L48

Name<ItemTag.book_author>
ReturnsElementTag
MechanismItemTag.book_author
DescriptionReturns the author of the book.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L64

Name<ItemTag.book_title>
ReturnsElementTag
MechanismItemTag.book_title
DescriptionReturns the title of the book.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L77

Name<ItemTag.book_pages>
ReturnsListTag
MechanismItemTag.book_pages
DescriptionReturns the plain-text pages of the book as a ListTag.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L90

Name<ItemTag.book_map>
ReturnsMapTag
MechanismItemTag.book
DescriptionReturns a MapTag of data about the book, with keys "pages" (a ListTag), and when available, "author" and "title".
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBook.java#L106

Name<ItemTag.book_generation>
ReturnsListTag
MechanismItemTag.book_generation
DescriptionReturns the generation of the book (if any), as ORIGINAL, COPY_OF_ORIGINAL, COPY_OF_COPY, or TATTERED.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemBookGeneration.java#L48

Name<ItemTag.can_destroy>
ReturnsListTag(MaterialTag)
MechanismItemTag.can_destroy
DescriptionReturns a list of materials this item can destroy while in adventure mode, if any.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCanDestroy.java#L66

Name<ItemTag.can_place_on>
ReturnsListTag(MaterialTag)
MechanismItemTag.can_place_on
DescriptionReturns a list of materials this item can be placed on while in adventure mode, if any.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCanPlaceOn.java#L66

Name<ItemTag.charged_projectiles>
ReturnsListTag(ItemTag)
MechanismItemTag.charged_projectiles
DescriptionReturns a list of charged projectile items on this crossbow.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemChargedProjectile.java#L50

Name<ItemTag.is_charged>
ReturnsElementTag(Boolean)
MechanismItemTag.charged_projectiles
DescriptionReturns whether this crossbow is charged.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemChargedProjectile.java#L63

Name<ItemTag.color>
ReturnsColorTag
MechanismItemTag.color
DescriptionReturns the color of the leather armor item or potion item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemColor.java#L64

Name<ItemTag.has_custom_model_data>
ReturnsElementTag(Boolean)
MechanismItemTag.custom_model_data
DescriptionReturns whether the item has a custom model data ID number set on it.
Also see Tag:ItemTag.custom_model_data.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCustomModel.java#L47

Name<ItemTag.custom_model_data>
ReturnsElementTag(Number)
MechanismItemTag.custom_model_data
DescriptionReturns the custom model data ID number of the item.
This tag is invalid for items that do not have a custom model data ID.
Also see Tag:ItemTag.has_custom_model_data.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCustomModel.java#L61

Name<ItemTag.display>
ReturnsElementTag
MechanismItemTag.display
DescriptionReturns the display name of the item, as set by plugin or an anvil.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemDisplayname.java#L56

Name<ItemTag.has_display>
ReturnsElementTag(Boolean)
MechanismItemTag.display
DescriptionReturns whether the item has a custom set display name.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemDisplayname.java#L71

Name<ItemTag.durability>
ReturnsElementTag(Number)
MechanismItemTag.durability
DescriptionReturns the current durability (number of uses) on the item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemDurability.java#L48

Name<ItemTag.max_durability>
ReturnsElementTag(Number)
DescriptionReturns the maximum durability (number of uses) of this item.
For use with Tag:ItemTag.durability and Mechanism:ItemTag.durability.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemDurability.java#L61

Name<ItemTag.is_enchanted>
ReturnsElementTag(Boolean)
MechanismItemTag.enchantments
DescriptionReturns whether the item has any enchantments.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemEnchantments.java#L63

Name<ItemTag.enchantments>
ReturnsListTag
MechanismItemTag.enchantments
DescriptionReturns a list of enchantment names on the item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemEnchantments.java#L110

Name<ItemTag.enchantment_map>
ReturnsMapTag
MechanismItemTag.enchantments
DescriptionReturns a map of enchantments on the item.
Map keys are enchantment names (like "sharpness"), and values are the level (as a number).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemEnchantments.java#L127

Name<ItemTag.firework>
ReturnsListTag
MechanismItemTag.firework
DescriptionReturns the firework's property value as a list, matching the format of the mechanism.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFirework.java#L85

Name<ItemTag.with_flag[<flag_set_action>]>
ReturnsItemTag
MechanismItemTag.flag
DescriptionReturns a copy of the item with the specified flag data action applied to it.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFlags.java#L53

Name<ItemTag.with_flag[<flag_set_action>].duration[<expire_duration>]>
ReturnsItemTag
MechanismItemTag.flag
DescriptionReturns a copy of the item with the specified flag data action (and the specified expiration duration) applied to it.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFlags.java#L67

Name<ItemTag.invisible>
ReturnsElementTag(Boolean)
MechanismItemTag.invisible
DescriptionReturns whether an Item_Frame item will be invisible when placed.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFrameInvisible.java#L64

Name<ItemTag.hides>
ReturnsListTag
MechanismItemTag.hides
DescriptionReturns a list of item data types to be hidden from view on this item.
Valid hide types include: ATTRIBUTES, DESTROYS, ENCHANTS, PLACED_ON, ITEM_DATA, UNBREAKABLE, and DYE
ITEM_DATA hides potion effects, banner patterns, etc.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemHidden.java#L76

Name<ItemTag.inventory_contents>
ReturnsListTag(ItemTag)
MechanismItemTag.inventory_contents
DescriptionReturns a list of the contents of the inventory of a container item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemInventory.java#L63

Name<ItemTag.knowledge_book_recipes>
ReturnsListTag
MechanismItemTag.knowledge_book_recipes
DescriptionReturns a recipes unlocked by this knowledge book. Recipes are in the Namespace:Key format, for example "minecraft:gold_nugget".
These keys are not necessarily 1:1 with material names, as seen in the example "minecraft:gold_ingot_from_nuggets".
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemKnowledgeBookRecipes.java#L63

Name<ItemTag.lock>
ReturnsElementTag
MechanismItemTag.lock
DescriptionReturns the lock password of this item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLock.java#L59

Name<ItemTag.is_locked>
ReturnsElementTag(Boolean)
MechanismItemTag.lock
DescriptionReturns whether this item has a lock password.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLock.java#L71

Name<ItemTag.lore>
ReturnsListTag
MechanismItemTag.lore
DescriptionReturns lore as a ListTag.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLore.java#L57

Name<ItemTag.has_lore>
ReturnsElementTag(Boolean)
MechanismItemTag.lore
DescriptionReturns whether the item has lore set on it.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemLore.java#L71

Name<ItemTag.map>
ReturnsElementTag(Number)
MechanismItemTag.map
DescriptionReturns the ID number of the map item's map.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemMap.java#L51

Name<ItemTag.patterns>
ReturnsListTag
MechanismItemTag.patterns
DescriptionLists a banner's patterns in the form "COLOR/PATTERN|COLOR/PATTERN" etc.
For the list of possible colors, see URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html.
For the list of possible patterns, see URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPatterns.java#L109

Name<ItemTag.potion_base_type>
ReturnsElementTag
MechanismItemTag.potion_effects
DescriptionReturns the base potion type name for this potion item.
The type will be from URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L122

Name<ItemTag.potion_base>
ReturnsElementTag
MechanismItemTag.potion_effects
DescriptionReturns the potion type details for this potion item.
In the format Type,Level,Extended,Splash,Color
The type will be from URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L136

Name<ItemTag.potion_effects>
ReturnsListTag
MechanismItemTag.potion_effects
DescriptionReturns the list of potion effects on this item.
The effect type will be from URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L154

Name<ItemTag.has_potion_effect>
ReturnsElementTag(Boolean)
MechanismItemTag.potion_effects
DescriptionReturns whether the potion has a potion effect.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L172

Name<ItemTag.potion_effect[<#>].is_splash>
ReturnsElementTag(Boolean)
MechanismItemTag.potion_effects
DescriptionReturns whether the potion is a splash potion.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L195

Name<ItemTag.potion_effect[<#>].is_extended>
ReturnsElementTag(Boolean)
MechanismItemTag.potion_effects
DescriptionReturns whether the potion effect is extended.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L208

Name<ItemTag.potion_effect[<#>].level>
ReturnsElementTag(Number)
MechanismItemTag.potion_effects
DescriptionReturns the potion effect's level.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L221

Name<ItemTag.potion_effect[<#>].is_ambient>
ReturnsElementTag(Boolean)
MechanismItemTag.potion_effects
DescriptionReturns whether the potion effect is ambient.
"Ambient" effects in vanilla came from a beacon, while non-ambient came from a potion.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L234

Name<ItemTag.potion_effect[<#>].icon>
ReturnsElementTag(Boolean)
MechanismItemTag.potion_effects
DescriptionReturns whether the potion effect shows an icon.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L248

Name<ItemTag.potion_effect[<#>].has_particles>
ReturnsElementTag(Boolean)
MechanismItemTag.potion_effects
DescriptionReturns whether the potion effect has particles.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L260

Name<ItemTag.potion_effect[<#>].duration>
ReturnsElementTag(Number)
MechanismItemTag.potion_effects
DescriptionReturns the duration in ticks of the potion.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L273

Name<ItemTag.potion_effect[<#>].amplifier>
ReturnsElementTag(Number)
MechanismItemTag.potion_effects
DescriptionReturns the amplifier level of the potion effect.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L286

Name<ItemTag.potion_effect[<#>].type>
ReturnsElementTag
MechanismItemTag.potion_effects
DescriptionReturns the type of the potion effect.
The effect type will be from URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L299

Name<ItemTag.potion_effect[<#>]>
ReturnsElementTag
MechanismItemTag.potion_effects
DescriptionReturns the potion effect on this item.
In the format Effect,Level,Extended,Splash
Groupproperties
Warning(s)Don't use this directly, use its sub-tags!
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java#L318

Name<ItemTag.quantity>
ReturnsElementTag(Number)
MechanismItemTag.quantity
DescriptionReturns the number of items in the ItemTag's itemstack.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemQuantity.java#L48

Name<ItemTag.max_stack>
ReturnsElementTag(Number)
DescriptionReturns the max number of this item possible in a single stack of this type.
For use with Tag:ItemTag.quantity and Mechanism:ItemTag.quantity.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemQuantity.java#L66

Name<ItemTag.raw_nbt>
ReturnsMapTag
MechanismItemTag.raw_nbt
DescriptionReturns a map of all non-default raw NBT on this item.
Refer to format details at Language:Raw NBT Encoding.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemRawNBT.java#L285

Name<ItemTag.all_raw_nbt>
ReturnsMapTag
MechanismItemTag.raw_nbt
DescriptionReturns a map of all raw NBT on this item, including default values.
Refer to format details at Language:Raw NBT Encoding.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemRawNBT.java#L298

Name<ItemTag.repair_cost>
ReturnsElementTag(Number)
MechanismItemTag.repair_cost
DescriptionReturns the current repair cost (on an anvil) for this item.
Note that zero indicates no repair cost.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemRepairCost.java#L49

Name<ItemTag.script>
ReturnsScriptTag
DescriptionReturns the script of the item if it was created by an item script.
Groupscripts
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemScript.java#L65

Name<ItemTag.sign_contents>
ReturnsListTag
MechanismItemTag.sign_contents
DescriptionReturns a list of lines on a sign item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSignContents.java#L59

Name<ItemTag.skull_skin>
ReturnsElementTag
MechanismItemTag.skull_skin
DescriptionReturns the UUID of the player whose skin a skull item uses.
Note: Item must be a 'player_head' with a skin.
In format: UUID|Texture|Name.
See also Language:Player Entity Skins (Skin Blobs).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSkullskin.java#L55

Name<ItemTag.skin>
ReturnsElementTag
MechanismItemTag.skull_skin
DescriptionReturns the UUID of the player whose skin a skull item uses.
Note: Item must be a 'player_head' with a skin.
In format: UUID|Texture|Name.
See also Language:Player Entity Skins (Skin Blobs).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSkullskin.java#L74

Name<ItemTag.has_skin>
ReturnsElementTag(Boolean)
MechanismItemTag.skull_skin
DescriptionReturns whether the item has a custom skin set.
(Only for 'player_head's)
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSkullskin.java#L101

Name<ItemTag.spawner_count>
ReturnsElementTag(Number)
MechanismItemTag.spawner_count
DescriptionReturns the spawn count for a spawner block item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerCount.java#L50

Name<ItemTag.spawner_spawn_delay>
ReturnsElementTag(Number)
MechanismItemTag.spawner_delay_data
DescriptionReturns the current spawn delay for a spawner block item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerDelay.java#L51

Name<ItemTag.spawner_minimum_spawn_delay>
ReturnsElementTag(Number)
MechanismItemTag.spawner_delay_data
DescriptionReturns the minimum spawn delay for a spawner block item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerDelay.java#L66

Name<ItemTag.spawner_maximum_spawn_delay>
ReturnsElementTag(Number)
MechanismItemTag.spawner_delay_data
DescriptionReturns the maximum spawn delay for a spawner block item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerDelay.java#L81

Name<ItemTag.spawner_max_nearby_entities>
ReturnsElementTag(Number)
MechanismItemTag.spawner_max_nearby_entities
DescriptionReturns the maximum nearby entities for a spawner block item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerMaxNearbyEntities.java#L50

Name<ItemTag.spawner_player_range>
ReturnsElementTag(Number)
MechanismItemTag.spawner_player_range
DescriptionReturns the maximum player range for a spawner block item (ie how close a player must be for this spawner to be active).
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerPlayerRange.java#L50

Name<ItemTag.spawner_range>
ReturnsElementTag(Number)
MechanismItemTag.spawner_range
DescriptionReturns the spawn range for a spawner block item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerRange.java#L50

Name<ItemTag.spawner_type>
ReturnsEntityTag
MechanismItemTag.spawner_type
DescriptionReturns the spawn type for a spawner block item.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerType.java#L50

Name<ItemTag.unbreakable>
ReturnsElementTag(Boolean)
MechanismItemTag.unbreakable
DescriptionReturns whether an item has the unbreakable flag.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemUnbreakable.java#L44

Name<ItemTag.crackshot_weapon>
ReturnsElementTag
DescriptionReturns the CrackShot weapon name for the item.
RequiresDepenizen, CrackShot
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/crackshot/CrackShotItemProperties.java#L55

Name<ItemTag.worth>
ReturnsElementTag(Decimal)
MechanismItemTag.worth
DescriptionReturns the amount of money one of this item is worth in Essentials.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsItemProperties.java#L60

Name<ItemTag.worth.quantity[<#>]>
ReturnsElementTag(Decimal)
DescriptionReturns the amount of money the quantity specified of this item is worth in Essentials.
RequiresDepenizen, Essentials
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/essentials/EssentialsItemProperties.java#L79



Category: LocationTag


Name<LocationTag.block_facing>
ReturnsLocationTag
MechanismLocationTag.block_facing
DescriptionReturns the relative location vector of where this block is facing.
Only works for block types that have directionality (such as signs, chests, stairs, etc.).
This can return for example "1,0,0" to mean the block is facing towards the positive X axis.
You can use <some_block_location.add[<some_block_location.block_facing>]> to get the block directly in front of this block (based on its facing direction).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L876

Name<LocationTag.with_facing_direction>
ReturnsLocationTag
DescriptionReturns the location with its direction set to the block's facing direction.
Only works for block types that have directionality (such as signs, chests, stairs, etc.).
You can use <some_block_location.with_facing_direction.forward[1]> to get the block directly in front of this block (based on its facing direction).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L899

Name<LocationTag.above[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location above this location. Optionally specify a number of blocks to go up.
This just moves straight along the Y axis, equivalent to Tag:LocationTag.add with input 0,1,0 (or the input value instead of '1').
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L922

Name<LocationTag.below[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location below this location. Optionally specify a number of blocks to go down.
This just moves straight along the Y axis, equivalent to Tag:LocationTag.sub with input 0,1,0 (or the input value instead of '1').
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L933

Name<LocationTag.forward_flat[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location in front of this location based on yaw but not pitch. Optionally specify a number of blocks to go forward.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L944

Name<LocationTag.backward_flat[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location behind this location based on yaw but not pitch. Optionally specify a number of blocks to go backward.
This is equivalent to Tag:LocationTag.forward_flat in the opposite direction.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L957

Name<LocationTag.forward[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location in front of this location based on pitch and yaw. Optionally specify a number of blocks to go forward.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L971

Name<LocationTag.backward[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location behind this location based on pitch and yaw. Optionally specify a number of blocks to go backward.
This is equivalent to Tag:LocationTag.forward in the opposite direction.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L982

Name<LocationTag.left[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location to the left of this location based on pitch and yaw. Optionally specify a number of blocks to go left.
This is equivalent to Tag:LocationTag.forward with a +90 degree rotation to the yaw and the pitch set to 0.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L994

Name<LocationTag.right[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location to the right of this location based on pitch and yaw. Optionally specify a number of blocks to go right.
This is equivalent to Tag:LocationTag.forward with a -90 degree rotation to the yaw and the pitch set to 0.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1008

Name<LocationTag.up[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location above this location based on pitch and yaw. Optionally specify a number of blocks to go up.
This is equivalent to Tag:LocationTag.forward with a +90 degree rotation to the pitch.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1022

Name<LocationTag.down[(<#.#>)]>
ReturnsLocationTag
DescriptionReturns the location below this location based on pitch and yaw. Optionally specify a number of blocks to go down.
This is equivalent to Tag:LocationTag.forward with a -90 degree rotation to the pitch.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1036

Name<LocationTag.relative[<location>]>
ReturnsLocationTag
DescriptionReturns the location relative to this location. Input is a vector location of the form left,up,forward.
For example, input -1,1,1 will return a location 1 block to the right, 1 block up, and 1 block forward.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1050

Name<LocationTag.block>
ReturnsLocationTag
DescriptionReturns the location of the block this location is on,
i.e. returns a location without decimals or direction.
Note that you almost never actually need this tag. This does not "get the block", this just rounds coordinates down.
If you have this in a script, it is more likely to be a mistake than actually needed.
Consider using Tag:LocationTag.round_down instead.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1076

Name<LocationTag.center>
ReturnsLocationTag
DescriptionReturns the location at the center of the block this location is on.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1090

Name<LocationTag.random_offset[<limit>]>
ReturnsLocationTag
DescriptionReturns a copy of this location, with the X/Y/Z offset by a random decimal value up to a given limit.
The limit can either be an X,Y,Z location vector like [3,1,3] or a single value like [3] (which is equivalent to [3,3,3]).
For example, for a location at 0,100,0, ".random_offset[1,2,3]" can return any decimal location within the cuboid from -1,98,-3 to 1,102,3.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1100

Name<LocationTag.highest>
ReturnsLocationTag
DescriptionReturns the location of the highest solid block at the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1133

Name<LocationTag.has_inventory>
ReturnsElementTag(Boolean)
DescriptionReturns whether the block at the location has an inventory.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1147

Name<LocationTag.inventory>
ReturnsInventoryTag
DescriptionReturns the InventoryTag of the block at the location. If the
block is not a container, returns null.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1157

Name<LocationTag.material>
ReturnsMaterialTag
DescriptionReturns the material of the block at the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1171

Name<LocationTag.patterns>
ReturnsListTag
MechanismLocationTag.patterns
DescriptionLists the patterns of the banner at this location in the form "COLOR/PATTERN|COLOR/PATTERN" etc.
For the list of possible colors, see URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html.
For the list of possible patterns, see URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1185

Name<LocationTag.head_rotation>
ReturnsElementTag(Number)
MechanismLocationTag.head_rotation
DescriptionGets the rotation of the head at this location. Can be 1-16.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1203

Name<LocationTag.switched>
ReturnsElementTag(Boolean)
DescriptionReturns whether the block at the location is considered to be switched on.
(For buttons, levers, etc.)
To change this, see Command:Switch
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1214

Name<LocationTag.sign_contents>
ReturnsListTag
MechanismLocationTag.sign_contents
DescriptionReturns a list of lines on a sign.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1226

Name<LocationTag.spawner_type>
ReturnsEntityTag
MechanismLocationTag.spawner_type
DescriptionReturns the type of entity spawned by a mob spawner.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1242

Name<LocationTag.lock>
ReturnsElementTag
MechanismLocationTag.lock
DescriptionReturns the password to a locked container.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1258

Name<LocationTag.is_locked>
ReturnsElementTag(Boolean)
MechanismLocationTag.lock
DescriptionReturns whether the container is locked.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1273

Name<LocationTag.is_lockable>
ReturnsElementTag(Boolean)
MechanismLocationTag.lock
DescriptionReturns whether the container is lockable.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1287

Name<LocationTag.drops[(<item>)]>
ReturnsListTag(ItemTag)
DescriptionReturns what items the block at the location would drop if broken naturally.
Optionally specifier a breaker item.
Not guaranteed to contain exactly correct or contain all possible drops (for things like plants that drop only when grown, ores that drop random amounts, etc).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1298

Name<LocationTag.hive_bee_count>
ReturnsElementTag(Number)
DescriptionReturns the number of bees inside a hive.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1318

Name<LocationTag.hive_max_bees>
ReturnsElementTag(Number)
MechanismLocationTag.hive_max_bees
DescriptionReturns the maximum number of bees allowed inside a hive.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1328

Name<LocationTag.skull_type>
ReturnsElementTag
DescriptionReturns the type of the skull.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1339

Name<LocationTag.skull_name>
ReturnsElementTag
MechanismLocationTag.skull_skin
DescriptionReturns the name of the skin the skull is displaying.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1354

Name<LocationTag.skull_skin>
ReturnsElementTag
MechanismLocationTag.skull_skin
DescriptionReturns the skin the skull is displaying - just the name or UUID as text, not a player object.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1377

Name<LocationTag.skull_skin.full>
ReturnsElementTag|ElementTag
MechanismLocationTag.skull_skin
DescriptionReturns the skin the skull item is displaying - just the name or UUID as text, not a player object,
along with the permanently cached texture property.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1395

Name<LocationTag.round>
ReturnsLocationTag
DescriptionReturns a rounded version of the LocationTag's coordinates.
That is, each component (X, Y, Z, Yaw, Pitch) is rounded
(eg, 0.1 becomes 0.0, 0.5 becomes 1.0, 0.9 becomes 1.0).
This is NOT equivalent to the block coordinates. For that, use Tag:LocationTag.round_down.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1415

Name<LocationTag.round_up>
ReturnsLocationTag
DescriptionReturns a rounded-upward version of the LocationTag's coordinates.
That is, each component (X, Y, Z, Yaw, Pitch) is rounded upward
(eg, 0.1 becomes 1.0, 0.5 becomes 1.0, 0.9 becomes 1.0).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1434

Name<LocationTag.round_down>
ReturnsLocationTag
DescriptionReturns a rounded-downward version of the LocationTag's coordinates.
That is, each component (X, Y, Z, Yaw, Pitch) is rounded downward
(eg, 0.1 becomes 0.0, 0.5 becomes 0.0, 0.9 becomes 0.0).
This is equivalent to the block coordinates of the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1452

Name<LocationTag.round_to[<#>]>
ReturnsLocationTag
DescriptionReturns a rounded-to-precision version of the LocationTag's coordinates.
That is, each component (X, Y, Z, Yaw, Pitch) is rounded to the specified decimal place
(eg, 0.12345 .round_to[3] returns "0.123").
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1471

Name<LocationTag.round_to_precision[<#.#>]>
ReturnsLocationTag
DescriptionReturns a rounded-to-precision version of the LocationTag's coordinates.
That is, each component (X, Y, Z, Yaw, Pitch) is rounded to the specified precision value
(0.12345 .round_to_precision[0.005] returns "0.125").
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1494

Name<LocationTag.simple>
ReturnsElementTag
DescriptionReturns a simple version of the LocationTag's block coordinates.
In the format: x,y,z,world
For example: 1,2,3,world_nether
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1517

Name<LocationTag.simple.formatted>
ReturnsElementTag
DescriptionReturns the formatted simple version of the LocationTag's block coordinates.
In the format: X 'x', Y 'y', Z 'z', in world 'world'
For example, X '1', Y '2', Z '3', in world 'world_nether'
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1526

Name<LocationTag.precise_impact_normal[(<range>)]>
ReturnsLocationTag
DescriptionReturns the exact impact normal at the location this location is pointing at.
In minecraft, the impact normal is generally the side of the block that the location is facing.
Optionally, specify a maximum range to find the location from (defaults to 200).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1554

Name<LocationTag.precise_cursor_on_block[(<range>)]>
ReturnsLocationTag
DescriptionReturns the block location this location is pointing at.
Optionally, specify a maximum range to find the location from (defaults to 200).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1574

Name<LocationTag.precise_cursor_on[(<range>)]>
ReturnsLocationTag
DescriptionReturns the exact location this location is pointing at.
Optionally, specify a maximum range to find the location from (defaults to 200).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1593

Name<LocationTag.precise_target[(<range>)]>
ReturnsEntityTag
DescriptionReturns the entity this location is pointing at, using precise ray trace logic.
Optionally, specify a maximum range to find the entity from (defaults to 100).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1612

Name<LocationTag.precise_target[(<range>)].type[<entity_type>|...]>
ReturnsEntityTag
DescriptionReturns the entity this location is pointing at, using precise ray trace logic.
Optionally, specify a maximum range to find the entity from (defaults to 100).
Accepts a list of types to trace against (types not listed will be ignored).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1625

Name<LocationTag.precise_target_position[(<range>)]>
ReturnsLocationTag
DescriptionReturns the precise location this location is pointing at, when tracing against entities.
Optionally, specify a maximum range to find the entity from (defaults to 100).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1650

Name<LocationTag.precise_target_position[(<range>)].type[<entity_type>|...]>
ReturnsLocationTag
DescriptionReturns the precise location this location is pointing at, when tracing against entities.
Optionally, specify a maximum range to find the entity from (defaults to 100).
Accepts a list of types to trace against (types not listed will be ignored).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1663

Name<LocationTag.points_between[<location>]>
ReturnsListTag(LocationTag)
DescriptionFinds all locations between this location and another, separated by 1 block-width each.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1688

Name<LocationTag.points_between[<location>].distance[<#.#>]>
ReturnsListTag(LocationTag)
DescriptionFinds all locations between this location and another, separated by the specified distance each.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1700

Name<LocationTag.facing_blocks[(<#>)]>
ReturnsListTag(LocationTag)
DescriptionFinds all block locations in the direction this location is facing,
optionally with a custom range (default is 100).
For example a location at 0,0,0 facing straight up
will include 0,1,0 0,2,0 and so on.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1724

Name<LocationTag.line_of_sight[<location>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the specified location is within this location's
line of sight.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1752

Name<LocationTag.direction[(<location>)]>
ReturnsElementTag
DescriptionReturns the compass direction between two locations.
If no second location is specified, returns the direction of the location.
Example returns include "north", "southwest", ...
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1776

Name<LocationTag.direction.vector>
ReturnsLocationTag
DescriptionReturns the location's direction as a one-length vector.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1785

Name<LocationTag.direction[<location>].yaw>
ReturnsElementTag(Decimal)
DescriptionReturns the yaw direction between two locations.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1802

Name<LocationTag.rotate_yaw[<#.#>]>
ReturnsLocationTag
DescriptionReturns the location with the yaw rotated the specified amount (eg 180 to face the location backwards).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1826

Name<LocationTag.rotate_pitch[<#.#>]>
ReturnsLocationTag
DescriptionReturns the location with the pitch rotated the specified amount. Note that this is capped to +/- 90.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1838

Name<LocationTag.face[<location>]>
ReturnsLocationTag
DescriptionReturns a location containing a yaw/pitch that point from the current location
to the target location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1850

Name<LocationTag.facing[<entity>/<location>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location's yaw is facing another entity or location, within a limit of 45 degrees of yaw.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1865

Name<LocationTag.facing[<entity>/<location>].degrees[<#>(,<#>)]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location's yaw is facing another
entity or location, within a specified degree range.
Optionally specify a pitch limit as well.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1890

Name<LocationTag.pitch>
ReturnsElementTag(Decimal)
DescriptionReturns the pitch of the object at the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1918

Name<LocationTag.with_pose[<entity>/<pitch>,<yaw>]>
ReturnsLocationTag
DescriptionReturns the location with pitch and yaw.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1928

Name<LocationTag.yaw>
ReturnsElementTag(Decimal)
DescriptionReturns the normalized yaw of the object at the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1956

Name<LocationTag.yaw.simple>
ReturnsElementTag
DescriptionReturns the yaw as 'North', 'South', 'East', or 'West'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1963

Name<LocationTag.yaw.raw>
ReturnsElementTag(Decimal)
DescriptionReturns the raw yaw of the object at the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1989

Name<LocationTag.rotate_around_x[<#.#>]>
ReturnsLocationTag
DescriptionReturns the location-vector rotated around the x axis by a specified angle in radians.
Generally used in a format like <player.location.add[<location[0,1,0].rotate_around_x[<[some_angle]>]>]>.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2002

Name<LocationTag.rotate_around_y[<#.#>]>
ReturnsLocationTag
DescriptionReturns the location-vector rotated around the y axis by a specified angle in radians.
Generally used in a format like <player.location.add[<location[1,0,0].rotate_around_y[<[some_angle]>]>]>.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2024

Name<LocationTag.rotate_around_z[<#.#>]>
ReturnsLocationTag
DescriptionReturns the location-vector rotated around the z axis by a specified angle in radians.
Generally used in a format like <player.location.add[<location[1,0,0].rotate_around_z[<[some_angle]>]>]>.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2046

Name<LocationTag.flood_fill[<limit>]>
ReturnsListTag(LocationTag)
DescriptionReturns the set of all blocks, starting at the given location,
that can be directly reached in a way that only travels through blocks of the same type as the starting block.
For example, if starting at an air block inside an enclosed building, this will return all air blocks inside the building (but none outside, and no non-air blocks).
As another example, if starting on a block of iron_ore in the ground, this will find all other blocks of iron ore that are part of the same vein.
This will not travel diagonally, only the 6 cardinal directions (N/E/S/W/Up/Down).
As this is potentially infinite should there be any opening however small, a limit must be given.
The limit value can be: a CuboidTag, an EllipsoidTag, or an ElementTag(Decimal) to use as a radius.
Note that the returned list will not be in any particular order.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2072

Name<LocationTag.flood_fill[<limit>].types[<material>|...]>
ReturnsListTag(LocationTag)
DescriptionReturns the set of all blocks, starting at the given location,
that can be directly reached in a way that only travels through blocks of the specified material type(s).
This will not travel diagonally, only the 6 cardinal directions (N/E/S/W/Up/Down).
As this is potentially infinite for some block types (like air, stone, etc.) should there be any opening however small, a limit must be given.
The limit value can be: a CuboidTag, an EllipsoidTag, or an ElementTag(Decimal) to use as a radius.
Note that the returned list will not be in any particular order.
The result will be an empty list if the block at the start location is not one of the input materials.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2113

Name<LocationTag.find_blocks_flagged[<flag_name>].within[<#>]>
ReturnsListTag(LocationTag)
DescriptionReturns a list of blocks that have the specified flag within a radius.
Note: current implementation measures the center of nearby block's distance from the exact given location.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
Searches the internal flag lists, rather than through all possible blocks.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2142

Name<LocationTag.find_entities[(<matcher>)].within[<#.#>]>
ReturnsListTag(EntityTag)
DescriptionReturns a list of entities within a radius, with an optional search parameter for the entity type.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2194

Name<LocationTag.find_blocks[(<matcher>)].within[<#.#>]>
ReturnsListTag(LocationTag)
DescriptionReturns a list of blocks within a radius, with an optional search parameter for the block material.
Note: current implementation measures the center of nearby block's distance from the exact given location.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2221

Name<LocationTag.find.surface_blocks[(<material>|...)].within[<#.#>]>
ReturnsListTag(LocationTag)
DescriptionReturns a list of matching surface blocks within a radius.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2322

Name<LocationTag.find.players.within[<#.#>]>
ReturnsListTag(PlayerTag)
DescriptionReturns a list of players within a radius.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2381

Name<LocationTag.find.npcs.within[<#.#>]>
ReturnsListTag(NPCTag)
DescriptionReturns a list of NPCs within a radius.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2400

Name<LocationTag.find.living_entities.within[<#.#>]>
ReturnsListTag(EntityTag)
DescriptionReturns a list of living entities within a radius.
This includes Players, mobs, NPCs, etc., but excludes dropped items, experience orbs, etc.
Result list is sorted by closeness (1 = closest, 2 = next closest, ... last = farthest).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2444

Name<LocationTag.find.structure[<type>].within[<#.#>]>
ReturnsLocationTag
DescriptionReturns the location of the nearest structure of the given type, within a maximum radius.
To get a list of valid structure types, use Tag:server.structure_types.
Note that structure type names are case sensitive, and likely to be all-lowercase in most cases.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2465

Name<LocationTag.find.unexplored_structure[<type>].within[<#.#>]>
ReturnsLocationTag
DescriptionReturns the location of the nearest unexplored structure of the given type, within a maximum radius.
To get a list of valid structure types, use Tag:server.structure_types.
Note that structure type names are case sensitive, and likely to be all-lowercase in most cases.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2488

Name<LocationTag.find_path[<location>]>
ReturnsListTag(LocationTag)
DescriptionReturns a full list of points along the path from this location to the given location.
Uses a max range of 100 blocks from the start.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2513

Name<LocationTag.formatted>
ReturnsElementTag
DescriptionReturns the formatted version of the LocationTag.
In the format: X 'x.x', Y 'y.y', Z 'z.z', in world 'world'
For example: X '1.0', Y '2.0', Z '3.0', in world 'world_nether'
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2540

Name<LocationTag.formatted.citizens>
ReturnsElementTag
DescriptionReturns the location formatted for a Citizens command.
In the format: x.x:y.y:z.z:world
For example: 1.0:2.0:3.0:world_nether
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2549

Name<LocationTag.chunk>
ReturnsChunkTag
DescriptionReturns the chunk that this location belongs to.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2567

Name<LocationTag.raw>
ReturnsLocationTag
DescriptionReturns the raw representation of this location, without any note name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2577

Name<LocationTag.world>
ReturnsWorldTag
DescriptionReturns the world that the location is in.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2589

Name<LocationTag.x>
ReturnsElementTag(Decimal)
DescriptionReturns the X coordinate of the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2599

Name<LocationTag.y>
ReturnsElementTag(Decimal)
DescriptionReturns the Y coordinate of the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2609

Name<LocationTag.z>
ReturnsElementTag(Decimal)
DescriptionReturns the Z coordinate of the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2619

Name<LocationTag.xyz>
ReturnsElementTag
DescriptionReturns the location in "x,y,z" format.
For example: 1,2,3
World, yaw, and pitch will be excluded from this output.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2629

Name<LocationTag.with_x[<number>]>
ReturnsLocationTag
DescriptionReturns a copy of the location with a changed X value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2641

Name<LocationTag.with_y[<number>]>
ReturnsLocationTag
DescriptionReturns a copy of the location with a changed Y value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2656

Name<LocationTag.with_z[<number>]>
ReturnsLocationTag
DescriptionReturns a copy of the location with a changed Z value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2671

Name<LocationTag.with_yaw[<number>]>
ReturnsLocationTag
DescriptionReturns a copy of the location with a changed yaw value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2686

Name<LocationTag.with_pitch[<number>]>
ReturnsLocationTag
DescriptionReturns a copy of the location with a changed pitch value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2701

Name<LocationTag.with_world[<world>]>
ReturnsLocationTag
DescriptionReturns a copy of the location with a changed world value.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2716

Name<LocationTag.note_name>
ReturnsElementTag
DescriptionGets the name of a noted LocationTag. If the location isn't noted, this is null.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2732

Name<LocationTag.add[<location>]>
ReturnsLocationTag
DescriptionReturns the location with the specified coordinates added to it.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2750

Name<LocationTag.sub[<location>]>
ReturnsLocationTag
DescriptionReturns the location with the specified coordinates subtracted from it.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2776

Name<LocationTag.mul[<length>]>
ReturnsLocationTag
DescriptionReturns the location multiplied by the specified length.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2802

Name<LocationTag.div[<length>]>
ReturnsLocationTag
DescriptionReturns the location divided by the specified length.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2815

Name<LocationTag.normalize>
ReturnsLocationTag
DescriptionReturns a 1-length vector in the same direction as this vector location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2828

Name<LocationTag.vector_length>
ReturnsElementTag(Decimal)
DescriptionReturns the 3D length of the vector/location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2842

Name<LocationTag.vector_to_face>
ReturnsElementTag
DescriptionReturns the name of the BlockFace represented by a normal vector.
Result can be any of the following:
NORTH, EAST, SOUTH, WEST, UP, DOWN, NORTH_EAST, NORTH_WEST, SOUTH_EAST, SOUTH_WEST,
WEST_NORTH_WEST, NORTH_NORTH_WEST, NORTH_NORTH_EAST, EAST_NORTH_EAST, EAST_SOUTH_EAST,
SOUTH_SOUTH_EAST, SOUTH_SOUTH_WEST, WEST_SOUTH_WEST, SELF
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2852

Name<LocationTag.distance_squared[<location>]>
ReturnsElementTag(Decimal)
DescriptionReturns the distance between 2 locations, squared.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2870

Name<LocationTag.distance[<location>]>
ReturnsElementTag(Decimal)
DescriptionReturns the distance between 2 locations.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2893

Name<LocationTag.distance[<location>].horizontal>
ReturnsElementTag(Decimal)
DescriptionReturns the horizontal distance between 2 locations.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2906

Name<LocationTag.distance[<location>].horizontal.multiworld>
ReturnsElementTag(Decimal)
DescriptionReturns the horizontal distance between 2 multiworld locations.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2914

Name<LocationTag.distance[<location>].vertical>
ReturnsElementTag(Decimal)
DescriptionReturns the vertical distance between 2 locations.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2932

Name<LocationTag.distance[<location>].vertical.multiworld>
ReturnsElementTag(Decimal)
DescriptionReturns the vertical distance between 2 multiworld locations.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2940

Name<LocationTag.is_within_border>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location is within the world border.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2969

Name<LocationTag.is_within[<area>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location is within the specified area (cuboid, ellipsoid, polygon, ...).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L2979

Name<LocationTag.to_ellipsoid[<size>]>
ReturnsEllipsoidTag
DescriptionReturns an ellipsoid centered at this location with the specified size.
Size input is a vector of x,y,z size.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3010

Name<LocationTag.to_cuboid[<location>]>
ReturnsCuboidTag
DescriptionReturns a cuboid from this location to the specified location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3025

Name<LocationTag.biome>
ReturnsBiomeTag
MechanismLocationTag.biome
DescriptionReturns the biome at the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3043

Name<LocationTag.cuboids>
ReturnsListTag(CuboidTag)
DescriptionReturns a ListTag of all noted CuboidTags that include this location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3059

Name<LocationTag.ellipsoids>
ReturnsListTag(EllipsoidTag)
DescriptionReturns a ListTag of all noted EllipsoidTags that include this location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3074

Name<LocationTag.polygons>
ReturnsListTag(PolygonTag)
DescriptionReturns a ListTag of all noted PolygonTags that include this location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3089

Name<LocationTag.is_liquid>
ReturnsElementTag(Boolean)
DescriptionReturns whether the block at the location is a liquid.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3104

Name<LocationTag.light>
ReturnsElementTag(Number)
DescriptionReturns the total amount of light on the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3124

Name<LocationTag.light.blocks>
ReturnsElementTag(Number)
DescriptionReturns the amount of light from light blocks that is
on the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3136

Name<LocationTag.light.sky>
ReturnsElementTag(Number)
DescriptionReturns the amount of light from the sky that is
on the location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3148

Name<LocationTag.power>
ReturnsElementTag(Number)
DescriptionReturns the current redstone power level of a block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3168

Name<LocationTag.lectern_page>
ReturnsElementTag(Number)
MechanismLocationTag.lectern_page
DescriptionReturns the current page on display in the book on this Lectern block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3188

Name<LocationTag.has_loot_table>
ReturnsElementTag(Boolean)
MechanismLocationTag.clear_loot_table
DescriptionReturns an element indicating whether the chest at this location has a loot-table set.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3203

Name<LocationTag.tree_distance>
ReturnsElementTag(Number)
DescriptionReturns a number of how many blocks away from a connected tree leaves are.
Defaults to 7 if not connected to a tree.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3218

Name<LocationTag.command_block_name>
ReturnsElementTag
MechanismLocationTag.command_block_name
DescriptionReturns the name a command block is set to.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3234

Name<LocationTag.command_block>
ReturnsElementTag
MechanismLocationTag.command_block
DescriptionReturns the command a command block is set to.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3248

Name<LocationTag.brewing_time>
ReturnsDurationTag
MechanismLocationTag.brewing_time
DescriptionReturns the brewing time a brewing stand has left.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3262

Name<LocationTag.brewing_fuel_level>
ReturnsElementTag(Number)
MechanismLocationTag.brewing_fuel_level
DescriptionReturns the level of fuel a brewing stand has. Each unit of fuel can power one brewing operation.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3273

Name<LocationTag.furnace_burn_duration>
ReturnsDurationTag
MechanismLocationTag.furnace_burn_duration
DescriptionReturns the burn time a furnace has left.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3284

Name<LocationTag.furnace_cook_duration>
ReturnsDurationTag
MechanismLocationTag.furnace_cook_duration
DescriptionReturns the cook time a furnace has been cooking its current item for.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3299

Name<LocationTag.furnace_cook_duration_total>
ReturnsDurationTag
MechanismLocationTag.furnace_cook_duration_total
DescriptionReturns the total cook time a furnace has left.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3314

Name<LocationTag.beacon_tier>
ReturnsElementTag(Number)
DescriptionReturns the tier level of a beacon pyramid (0-4).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3329

Name<LocationTag.beacon_primary_effect>
ReturnsElementTag
MechanismLocationTag.beacon_primary_effect
DescriptionReturns the primary effect of the beacon. The return is simply a potion effect type name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3339

Name<LocationTag.beacon_secondary_effect>
ReturnsElementTag
MechanismLocationTag.beacon_secondary_effect
DescriptionReturns the secondary effect of the beacon. The return is simply a potion effect type name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3354

Name<LocationTag.attached_to>
ReturnsLocationTag
DescriptionReturns the block this block is attached to.
(For buttons, levers, signs, torches, etc).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3369

Name<LocationTag.other_block>
ReturnsLocationTag
DescriptionIf the location is part of a double-block structure (double chests, double plants, doors, beds, etc),
returns the location of the other block in the double-block structure.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3403

Name<LocationTag.custom_name>
ReturnsElementTag
MechanismLocationTag.custom_name
DescriptionReturns the custom name of this block.
Only works for nameable blocks, such as chests and dispensers.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3425

Name<LocationTag.local_difficulty>
ReturnsElementTag(Decimal)
DescriptionReturns the local difficulty (damage scaler) at the location.
This is based internally on multiple factors, including Tag:ChunkTag.inhabited_time and Tag:WorldTag.difficulty.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3440

Name<LocationTag.jukebox_record>
ReturnsItemTag
MechanismLocationTag.jukebox_record
DescriptionReturns the record item currently inside the jukebox.
If there's no record, will return air.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3451

Name<LocationTag.jukebox_is_playing>
ReturnsElementTag
MechanismLocationTag.jukebox_play
DescriptionReturns whether the jukebox is currently playing a song.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3469

Name<LocationTag.age>
ReturnsDurationTag
MechanismLocationTag.age
DescriptionReturns the age of an end gateway.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3486

Name<LocationTag.is_exact_teleport>
ReturnsElementTag(Boolean)
MechanismLocationTag.is_exact_teleport
DescriptionReturns whether an end gateway is 'exact teleport' - if false, the destination will be randomly chosen *near* the destination.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3503

Name<LocationTag.exit_location>
ReturnsLocationTag
MechanismLocationTag.exit_location
DescriptionReturns the exit location of an end gateway block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L3520

Name<LocationTag.skyblock.has_skyblock>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location has a skyblock.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockLocationProperties.java#L64

Name<LocationTag.skyblock.owner>
ReturnsPlayerTag
DescriptionReturns the owner of the skyblock at the location.
RequiresDepenizen, A SkyBlock
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/askyblock/ASkyBlockLocationProperties.java#L75

Name<LocationTag.faction>
ReturnsFactionTag
DescriptionReturns the faction at the location. (Can also be SafeZone, WarZone, or Wilderness)
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsLocationProperties.java#L58

Name<LocationTag.griefprevention.has_claim[(<ignore_height>)]>
ReturnsElementTag(Boolean)
DescriptionReturns whether there is a GriefPreventionClaim at this location.
Optionally specify an ElementTag(Boolean) for whether to ignore Y axis.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionLocationProperties.java#L65

Name<LocationTag.griefprevention.claim>
ReturnsGriefPreventionClaimTag
DescriptionReturns the GriefPreventionClaim at this location.
RequiresDepenizen, GriefPrevention
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/griefprevention/GriefPreventionLocationProperties.java#L84

Name<LocationTag.mcmmo.is_placed>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location is tracked by McMMO as a player-placed block (might only apply to certain block types).
RequiresDepenizen, mcMMO
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/mcmmo/McMMOLocationProperties.java#L61

Name<LocationTag.plotsquared_plot>
ReturnsPlotSquaredPlotTag
DescriptionReturns the plot contained by this location.
RequiresDepenizen, PlotSquared
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/plotsquared/PlotSquaredLocationProperties.java#L57

Name<LocationTag.has_residence>
ReturnsElementTag(Boolean)
DescriptionReturns if the location has a residence.
RequiresDepenizen, Residence
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/residence/ResidenceLocationProperties.java#L53

Name<LocationTag.residence>
ReturnsResidenceTag
DescriptionReturns the residence contained by this location.
RequiresDepenizen, Residence
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/residence/ResidenceLocationProperties.java#L65

Name<LocationTag.tc_biome.name>
ReturnsElementTag
DescriptionReturns the TerrainControl biome name at this location, if any.
RequiresDepenizen, TerrainControl
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/terraincontrol/TCLocationProperties.java#L63

Name<LocationTag.tc_biome.temperature>
ReturnsElementTag
DescriptionReturns the TerrainControl biome temperature at this location, if any.
RequiresDepenizen, TerrainControl
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/terraincontrol/TCLocationProperties.java#L75

Name<LocationTag.towny.resident>
ReturnsPlayerTag
DescriptionReturns the resident of a Towny plot at the location, if any.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyLocationProperties.java#L73

Name<LocationTag.towny_type>
ReturnsElementTag
DescriptionReturns the type of the Towny area this location is in.
Can be RESIDENTIAL, COMMERCIAL, ARENA, EMBASSY, WILDS, SPLEEF, INN, JAIL, FARM, or BANK.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyLocationProperties.java#L95

Name<LocationTag.has_town>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location is within a town.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyLocationProperties.java#L111

Name<LocationTag.town>
ReturnsTownTag
DescriptionReturns the town at the specified location.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyLocationProperties.java#L127

Name<LocationTag.is_wilderness>
ReturnsElementTag(Boolean)
DescriptionReturns whether the location is wilderness.
RequiresDepenizen, Towny
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyLocationProperties.java#L143

Name<LocationTag.in_region[(<name>|...)]>
ReturnsElementTag(Boolean)
DescriptionIf a region name or list of names is specified, returns whether the
location is in one of the listed regions, otherwise returns whether
the location is in any region.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardLocationProperties.java#L89

Name<LocationTag.regions>
ReturnsListTag(WorldGuardRegionTag)
DescriptionReturns a list of regions that the location is in.
RequiresDepenizen, WorldGuard
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardLocationProperties.java#L116



Category: MaterialTag


Name<MaterialTag.has_gravity>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is affected by gravity.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L311

Name<MaterialTag.is_block>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a placeable block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L321

Name<MaterialTag.is_item>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a holdable item.
Note that most blocks are valid items as well.
This only returns "false" for certain non-holdable "special" blocks, like Fire.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L331

Name<MaterialTag.is_burnable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a block that can burn away.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L343

Name<MaterialTag.is_edible>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is edible.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L353

Name<MaterialTag.is_flammable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a block that can catch fire.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L363

Name<MaterialTag.is_fuel>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a block that can be burned in a furnace as fuel.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L373

Name<MaterialTag.fuel_burn_time>
ReturnsDurationTag
DescriptionReturns the duration that a burnable fuel block will burn in a furnace for.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L383

Name<MaterialTag.is_occluding>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a block that completely blocks vision.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L397

Name<MaterialTag.is_record>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a playable music disc.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L407

Name<MaterialTag.is_solid>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a block that is solid (cannot be walked through).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L417

Name<MaterialTag.is_transparent>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material is a block that does not block any light.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L427

Name<MaterialTag.max_durability>
ReturnsElementTag(Number)
DescriptionReturns the maximum durability of this material.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L437

Name<MaterialTag.block_resistance>
ReturnsElementTag(Decimal)
MechanismMaterialTag.block_resistance
DescriptionReturns the explosion resistance for all blocks of this material type.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L447

Name<MaterialTag.hardness>
ReturnsElementTag(Decimal)
DescriptionReturns the value representing how hard a material, used as a basis for calculating the time it takes to break.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L462

Name<MaterialTag.max_stack_size>
ReturnsElementTag(Number)
MechanismMaterialTag.max_stack_size
DescriptionReturns the maximum amount of this material that can be held in a stack.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L476

Name<MaterialTag.translated_name>
ReturnsElementTag
DescriptionReturns the localized name of the material.
Note that this is a magic Denizen tool - refer to Language:Denizen Text Formatting.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L487

Name<MaterialTag.name>
ReturnsElementTag
DescriptionReturns the name of the material.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L501

Name<MaterialTag.item>
ReturnsItemTag
DescriptionReturns an item of the material.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L511

Name<MaterialTag.piston_reaction>
ReturnsElementTag
MechanismMaterialTag.piston_reaction
DescriptionReturns the material's piston reaction. (Only for block materials).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L522

Name<MaterialTag.block_strength>
ReturnsElementTag(Decimal)
MechanismMaterialTag.block_strength
DescriptionReturns the material's strength level. (Only for block materials).
This is a representation of how much time mining is needed to break a block.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L537

Name<MaterialTag.advanced_matches[<matcher>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the material matches some matcher text, using the system behind Language:Advanced Script Event Matching.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L562

Name<MaterialTag.vanilla_tags>
ReturnsListTag
DescriptionReturns a list of vanilla tags that apply to this material. See also URL:https://minecraft.fandom.com/wiki/Tag.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L575

Name<MaterialTag.maximum_age>
ReturnsElementTag(Number)
DescriptionReturns the maximum age for an ageable material. This includes plant growth.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAge.java#L44

Name<MaterialTag.age>
ReturnsElementTag(Number)
MechanismMaterialTag.age
DescriptionReturns the current age for an ageable material. This includes plant growth.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAge.java#L57

Name<MaterialTag.type>
ReturnsElementTag
MechanismMaterialTag.type
DescriptionReturns the current type of the block.
For slabs, output is TOP, BOTTOM, or DOUBLE.
For piston_heads, output is NORMAL or STICKY.
For campfires, output is NORMAL or SIGNAL.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialBlockType.java#L52

Name<MaterialTag.count>
ReturnsElementTag(Number)
MechanismMaterialTag.count
DescriptionReturns the amount of pickles in a Sea Pickle material, eggs in a Turtle Egg material, or charges in a Respawn Anchor material.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialCount.java#L46

Name<MaterialTag.count_max>
ReturnsElementTag(Number)
MechanismMaterialTag.count
DescriptionReturns the maximum amount of pickles allowed in a Sea Pickle material, eggs in a Turtle Egg material, or charges in a Respawn Anchor material.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialCount.java#L58

Name<MaterialTag.count_min>
ReturnsElementTag(Number)
MechanismMaterialTag.count
DescriptionReturns the minimum amount of pickles allowed in a Sea Pickle material, eggs in a Turtle Egg material, or charges in a Respawn Anchor material.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialCount.java#L70

Name<MaterialTag.delay>
ReturnsElementTag(Number)
MechanismMaterialTag.delay
DescriptionReturns the current delay of a redstone repeater material.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDelay.java#L40

Name<MaterialTag.max_delay>
ReturnsElementTag(Number)
MechanismMaterialTag.delay
DescriptionReturns the maximum delay allowed for the redstone repeater material.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDelay.java#L52

Name<MaterialTag.min_delay>
ReturnsElementTag(Number)
MechanismMaterialTag.delay
DescriptionReturns the minimum delay allowed for the redstone repeater material.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDelay.java#L64

Name<MaterialTag.valid_directions>
ReturnsListTag
MechanismMaterialTag.direction
DescriptionReturns a list of directions that are valid for a directional material.
See also Tag:MaterialTag.direction
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDirectional.java#L54

Name<MaterialTag.direction>
ReturnsElementTag
MechanismMaterialTag.direction
DescriptionReturns the current facing direction for a directional material (like a door or a bed).
Output is a direction name like "NORTH", or an axis like "X", or a rail direction like "ASCENDING_NORTH".
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDirectional.java#L86

Name<MaterialTag.valid_faces>
ReturnsListTag
MechanismMaterialTag.faces
DescriptionReturns a list of faces that are valid for a material that has multiple faces.
See also Tag:MaterialTag.faces
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialFaces.java#L41

Name<MaterialTag.faces>
ReturnsListTag
MechanismMaterialTag.faces
DescriptionReturns a list of the current faces for a material that has multiple faces (like a mushroom block).
Output is a direction name like "NORTH".
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialFaces.java#L58

Name<MaterialTag.half>
ReturnsElementTag
MechanismMaterialTag.half
DescriptionReturns the current half for a bisected material (like a door, double-plant, chest, or a bed).
Output for "Bisected" blocks (doors/double plants/...) is "BOTTOM" or "TOP".
Output for beds is "HEAD" or "FOOT".
Output for chests is "LEFT" or "RIGHT".
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialHalf.java#L54

Name<MaterialTag.relative_vector>
ReturnsLocationTag
MechanismMaterialTag.half
DescriptionReturns a vector location of the other block for a bisected material.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialHalf.java#L73

Name<MaterialTag.heights>
ReturnsListTag
MechanismMaterialTag.heights
DescriptionReturns the list of heights for a wall block, in order North|East|South|West|Vertical.
For n/e/s/w, can be "tall", "low", or "none". For vertical, can be "tall" or "none".
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialHeights.java#L51

Name<MaterialTag.hinge>
ReturnsElementTag
MechanismMaterialTag.hinge
DescriptionReturns a door's hinge side.
Output is LEFT or RIGHT.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialHinge.java#L40

Name<MaterialTag.instrument>
ReturnsElementTag
MechanismMaterialTag.instrument
DescriptionReturns the name of the instrument played from this note block,
see list at URL:https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Instrument.html.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialInstrument.java#L41

Name<MaterialTag.leaf_size>
ReturnsElementTag
MechanismMaterialTag.leaf_size
DescriptionReturns the size of the leaves for this bamboo block.
Output is SMALL, LARGE, or NONE.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLeafSize.java#L40

Name<MaterialTag.maximum_level>
ReturnsElementTag(Number)
DescriptionReturns the maximum level for a Levelled material (like water, lava, and cauldrons), cake, beehives, and snow.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLevel.java#L48

Name<MaterialTag.minimum_level>
ReturnsElementTag(Number)
DescriptionReturns the minimum level for a Levelled material (like water, lava, and cauldrons), cake, beehives, and snow.
This will return 0 for all valid materials aside from snow.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLevel.java#L59

Name<MaterialTag.level>
ReturnsElementTag(Number)
MechanismMaterialTag.level
DescriptionReturns the current level for a Levelled material (like water, lava, and cauldrons), cake, beehives, and snow.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLevel.java#L71

Name<MaterialTag.is_locked>
ReturnsElementTag(Boolean)
MechanismMaterialTag.is_locked
DescriptionReturns whether this redstone repeater material is locked.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialLocked.java#L40

Name<MaterialTag.mode>
ReturnsElementTag
MechanismMaterialTag.mode
DescriptionReturns a block's mode.
For comparators, output is COMPARE or SUBTRACT.
For piston_heads, output is NORMAL or SHORT.
For bubble-columns, output is NORMAL or DRAG.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialMode.java#L52

Name<MaterialTag.note_octave>
ReturnsElementTag(Number)
MechanismMaterialTag.note
DescriptionReturns the octave of note played from this note block, as 0, 1, or 2.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialNote.java#L41

Name<MaterialTag.note_tone>
ReturnsElementTag
MechanismMaterialTag.note
DescriptionReturns the tone of note played from this note block, as a letter from A to F, sometimes with a # to indicate sharp.
Like A or A#.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialNote.java#L53

Name<MaterialTag.note>
ReturnsElementTag(Number)
MechanismMaterialTag.note
DescriptionReturns the note played from this note block, as an ID number from 0 to 24.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialNote.java#L67

Name<MaterialTag.persistent>
ReturnsElementTag(Boolean)
MechanismMaterialTag.persistent
DescriptionReturns whether this block will decay from being too far away from a tree.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialPersistent.java#L40

Name<MaterialTag.power>
ReturnsElementTag(Number)
MechanismMaterialTag.power
DescriptionReturns the redstone power level of an analogue-powerable block.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialPower.java#L40

Name<MaterialTag.max_power>
ReturnsElementTag(Number)
MechanismMaterialTag.power
DescriptionReturns the maximum redstone power an analogue-powerable block can have.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialPower.java#L52

Name<MaterialTag.shape>
ReturnsElementTag
MechanismMaterialTag.shape
DescriptionReturns the shape of a block.
For stairs, output is the corner shape as INNER_LEFT, INNER_RIGHT, OUTER_LEFT, OUTER_RIGHT, or STRAIGHT.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialShape.java#L40

Name<MaterialTag.snowy>
ReturnsElementTag(Boolean)
MechanismMaterialTag.snowy
DescriptionReturns whether this material is covered in snow or not.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSnowable.java#L40

Name<MaterialTag.switch_face>
ReturnsElementTag
MechanismMaterialTag.switch_face
DescriptionReturns the current attach direction for a switch or other attachable material.
Output is "CEILING", "FLOOR", or "WALL".
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSwitchFace.java#L47

Name<MaterialTag.switched>
ReturnsElementTag(Boolean)
MechanismMaterialTag.switched
DescriptionReturns whether a Powerable material (like pressure plates) an Openable material (like doors), a dispenser, a daylight sensor, a lightable block, or a piston is switched.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialSwitchable.java#L57

Name<MaterialTag.waterlogged>
ReturnsElementTag(Boolean)
MechanismMaterialTag.waterlogged
DescriptionReturns whether this block is waterlogged or not.
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialWaterlogged.java#L40



Category: NPCTag


Name<NPCTag.previous_location>
ReturnsLocationTag
DescriptionReturns the NPC's previous navigated location.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L444

Name<NPCTag.has_nickname>
ReturnsElementTag(Boolean)
DescriptionReturns true if the NPC has a nickname.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L459

Name<NPCTag.is_sitting>
ReturnsElementTag(Boolean)
DescriptionReturns true if the NPC is sitting. Relates to Command:sit.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L470

Name<NPCTag.is_sleeping>
ReturnsElementTag(Boolean)
DescriptionReturns true if the NPC is sleeping. Relates to Command:sleep.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L481

Name<NPCTag.nickname>
ReturnsElementTag
DescriptionReturns the NPC's display name, as set by the Nickname trait (or the default NPC name).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L492

Name<NPCTag.traits>
ReturnsListTag
DescriptionReturns a list of all of the NPC's traits.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L514

Name<NPCTag.has_trait[<trait>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC has a specified trait.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L528

Name<NPCTag.pushable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is pushable.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L544

Name<NPCTag.has_trigger[<trigger>]>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC has a specified trigger.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L554

Name<NPCTag.has_anchors>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC has anchors assigned.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L571

Name<NPCTag.list_anchors>
ReturnsListTag
DescriptionReturns a list of anchor names currently assigned to the NPC.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L581

Name<NPCTag.anchor[<name>]>
ReturnsLocationTag
DescriptionReturns the location associated with the specified anchor, or null if it doesn't exist.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L595

Name<NPCTag.constant[<constant_name>]>
ReturnsElementTag
DescriptionReturns the specified constant from the NPC.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L628

Name<NPCTag.has_pose[<name>]>
ReturnsElementTag(Boolean)
DescriptionReturns true if the NPC has the specified pose, otherwise returns false.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L648

Name<NPCTag.pose[<name>]>
ReturnsLocationTag
DescriptionReturns the pose as a LocationTag with x, y, and z set to 0, and the world set to the first
possible available world Bukkit knows about.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L663

Name<NPCTag.name_hologram_npc>
ReturnsNPCTag
DescriptionReturns the NPCTag of a hologram attached to this NPC as its nameplate (if any).
Note that this can regenerate at any time.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L680

Name<NPCTag.hologram_npcs>
ReturnsListTag(NPCTag)
DescriptionReturns the list of hologram NPCs attached to an NPC (if any).
Note that these can regenerate at any time.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L699

Name<NPCTag.hologram_lines>
ReturnsListTag
MechanismNPCTag.hologram_lines
DescriptionReturns the list of hologram lines attached to an NPC.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L722

Name<NPCTag.hologram_direction>
ReturnsElementTag
MechanismNPCTag.hologram_direction
DescriptionReturns the direction of an NPC's hologram as "BOTTOM_UP" or "TOP_DOWN".
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L737

Name<NPCTag.hologram_line_height>
ReturnsElementTag(Decimal)
MechanismNPCTag.hologram_line_height
DescriptionReturns the line height for an NPC's hologram. Can be -1, indicating a default value should be used.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L752

Name<NPCTag.is_sneaking>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is currently sneaking. Only works for player-type NPCs.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L767

Name<NPCTag.engaged>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is currently engaged.
See Command:engage
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L780

Name<NPCTag.invulnerable>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is currently invulnerable.
See Command:vulnerable
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L791

Name<NPCTag.id>
ReturnsElementTag(Number)
DescriptionReturns the NPC's ID number.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L802

Name<NPCTag.owner>
ReturnsPlayerTag/ElementTag
MechanismNPCTag.owner
DescriptionReturns the owner of the NPC as a PlayerTag if it's a player, otherwise as just the name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L812

Name<NPCTag.has_skin>
ReturnsElementTag(Boolean)
MechanismNPCTag.skin
DescriptionReturns whether the NPC has a custom skin.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L833

Name<NPCTag.skin_blob>
ReturnsElementTag
MechanismNPCTag.skin_blob
DescriptionReturns the NPC's custom skin blob, if any.
In the format: "texture;signature" (two values separated by a semicolon).
See also Language:Player Entity Skins (Skin Blobs).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L844

Name<NPCTag.skull_skin>
ReturnsElementTag
DescriptionReturns the NPC's current skin blob, formatted for input to a Player Skull item.
In the format: "UUID|Texture" (two values separated by pipes).
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#L866

Name<NPCTag.skin>
ReturnsElementTag
MechanismNPCTag.skin
DescriptionReturns the NPC's custom skin, if any.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L882

Name<NPCTag.auto_update_skin>
ReturnsElementTag(Boolean)
MechanismNPCTag.auto_update_skin
DescriptionReturns whether the NPC is set to automatically update skins from name.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L896

Name<NPCTag.inventory>
ReturnsInventoryTag
DescriptionReturns the InventoryTag of the NPC.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L910

Name<NPCTag.is_spawned>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is spawned.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L920

Name<NPCTag.is_protected>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is protected.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L930

Name<NPCTag.lookclose>
ReturnsElementTag(Boolean)
MechanismNPCTag.lookclose
DescriptionReturns whether the NPC has lookclose enabled.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L940

Name<NPCTag.controllable>
ReturnsElementTag(Boolean)
MechanismNPCTag.controllable
DescriptionReturns whether the NPC has controllable enabled.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L959

Name<NPCTag.targetable>
ReturnsElementTag(Boolean)
MechanismNPCTag.targetable
DescriptionReturns whether the NPC is targetable.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L973

Name<NPCTag.teleport_on_stuck>
ReturnsElementTag(Boolean)
MechanismNPCTag.teleport_on_stuck
DescriptionReturns whether the NPC teleports when it is stuck.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L985

Name<NPCTag.script>
ReturnsScriptTag
DescriptionReturns the NPC's assigned script.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1002

Name<NPCTag.distance_margin>
ReturnsElementTag(Decimal)
MechanismNPCTag.distance_margin
DescriptionReturns the NPC's current pathfinding distance margin. That is, how close it needs to get to its destination (in block-lengths).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1018

Name<NPCTag.path_distance_margin>
ReturnsElementTag(Decimal)
MechanismNPCTag.path_distance_margin
DescriptionReturns the NPC's current pathfinding distance margin. That is, how close it needs to get to individual points along its path.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1029

Name<NPCTag.is_navigating>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is currently navigating.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1040

Name<NPCTag.speed>
ReturnsElementTag(Decimal)
MechanismNPCTag.speed
DescriptionReturns the current speed of the NPC.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1050

Name<NPCTag.range>
ReturnsElementTag(Decimal)
MechanismNPCTag.range
DescriptionReturns the NPC's current maximum pathfinding range.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1061

Name<NPCTag.attack_range>
ReturnsElementTag(Decimal)
MechanismNPCTag.attack_range
DescriptionReturns the NPC's current navigator attack range limit.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1072

Name<NPCTag.attack_strategy>
ReturnsElementTag
DescriptionReturns the NPC's current navigator attack strategy.
Not related to Sentinel combat.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1083

Name<NPCTag.speed_modifier>
ReturnsElementTag(Decimal)
DescriptionReturns the NPC's current movement speed modifier (a multiplier applied over their base speed).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1094

Name<NPCTag.base_speed>
ReturnsElementTag(Decimal)
DescriptionReturns the NPC's base navigation speed.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1104

Name<NPCTag.avoid_water>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC will avoid water.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1114

Name<NPCTag.target_location>
ReturnsLocationTag
DescriptionReturns the location the NPC is currently navigating towards (if any).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1124

Name<NPCTag.is_fighting>
ReturnsElementTag(Boolean)
DescriptionReturns whether the NPC is currently targeting an entity for the Citizens internal punching pathfinder.
Not compatible with Sentinel.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1137

Name<NPCTag.target_type>
ReturnsElementTag
DescriptionReturns the entity type of the NPC's current navigation target (if any).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1148

Name<NPCTag.target_entity>
ReturnsEntityTag
DescriptionReturns the entity being targeted by the NPC's current navigation (if any).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1161

Name<NPCTag.registry_name>
ReturnsElementTag
DescriptionReturns the name of the registry this NPC came from.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1174

Name<NPCTag.factions.power>
ReturnsElementTag(Decimal)
DescriptionReturns the NPC's power level.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsNPCProperties.java#L73

Name<NPCTag.factions.role>
ReturnsElementTag
DescriptionReturns the NPC's role in their faction.
Note: In modern Factions these are called ranks instead of roles.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsNPCProperties.java#L86

Name<NPCTag.factions.title>
ReturnsElementTag
DescriptionReturns the NPC's title.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsNPCProperties.java#L100

Name<NPCTag.faction>
ReturnsFactionTag
DescriptionReturns the NPC's faction.
RequiresDepenizen, Factions
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/factions/FactionsNPCProperties.java#L116

Name<NPCTag.sentinel.chasing>
ReturnsEntityTag
DescriptionReturns the entity currently being chased by this Sentinel NPC (if any).
RequiresDepenizen, Sentinel
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/sentinel/SentinelNPCProperties.java#L88

Name<NPCTag.sentinel.targets>
ReturnsListTag
DescriptionReturns a list of all targets currently targeted by this Sentinel NPC.
RequiresDepenizen, Sentinel
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/sentinel/SentinelNPCProperties.java#L102

Name<NPCTag.sentinel.ignores>
ReturnsListTag
DescriptionReturns a list of all targets currently ignored by this Sentinel NPC.
RequiresDepenizen, Sentinel
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/sentinel/SentinelNPCProperties.java#L113

Name<NPCTag.sentinel.avoids>
ReturnsListTag
DescriptionReturns a list of all targets currently avoided by this Sentinel NPC.
RequiresDepenizen, Sentinel
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/sentinel/SentinelNPCProperties.java#L124

Name<NPCTag.sentinel.avoid_range>
ReturnsElementTag(Decimal)
DescriptionReturns the avoid range of a Sentinel NPC.
RequiresDepenizen, Sentinel
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/sentinel/SentinelNPCProperties.java#L135

</
Name<NPCTag.sentinel.range>
ReturnsElementTag(Decimal)