Name | age |
Object | EntityTag |
Input | ElementTag |
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. (...)
|
Description | Sets 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: EntityTag.age_lock |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAge.java#L145 |