Denizen Script Mechanisms


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


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