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 1 out of 2425 tags...
Name<EntityTag.trapped>
ReturnsElementTag(Boolean)
MechanismEntityTag.trapped
DescriptionReturns whether the skeleton horse is trapped.
A trapped skeleton horse will trigger the skeleton horse trap when the player is within 10 blocks of it.
Generated Example
- if <player.trapped>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Groupproperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTrapped.java#L44