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 635 mechanisms...
Nameoxygen
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.oxygen> Returns the duration of oxygen the entity has left. (...)
<EntityTag.max_oxygen> Returns the maximum duration of oxygen the entity can have. (...)
DescriptionSets how much air the entity has remaining before it drowns.
The entity must be living.
Generated Example
- adjust <player> oxygen:1m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3598