Ageable age
Gives the ageable's age, a whole number. Paper: the age of this mob.
A Minecraft element (a value) in Entities & mobs. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks an entity → Answer age: {node.v.value} → Done
Also called
ageable, age, mob, entity
Works as a data pack?
Yes. A vanilla data pack does this exactly as the plugin does.
What you give it
- Entity
What it gives back
- Age