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...
Nameexhaustion
ObjectPlayerTag
InputElementTag(Decimal)
Related Tags<PlayerTag.exhaustion> Returns the player's exhaustion value. Exhaustion is increased in vanilla when a player sprints or jumps, and is used to reduce food saturation over time. (...)
DescriptionSets the exhaustion level of a player.
Works with offline players.
Generated Example
- adjust <player> exhaustion:-1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L3302