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 644 mechanisms...
Namefood_level
ObjectPlayerTag
InputElementTag(Number)
Related Tags<PlayerTag.food_level> Returns the current food level (aka hunger) of the player.
DescriptionSets the current food level of a player. Typically, '20' is full.
Generated Example
- adjust <player> food_level:2
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3087