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 2155 tags...
Name<EntityTag.carrying_egg>
ReturnsElementTag(Boolean)
MechanismEntityTag.carrying_egg
DescriptionIf the entity is a turtle, returns whether it is carrying an egg. A turtle that is carrying an egg isn't visually different, but can't breed and will eventually lay the egg.
Generated Example
- if <player.carrying_egg>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
Groupproperties
RequiresPaper
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/EntityCarryingEgg.java#L39