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 656 mechanisms...
Nameis_sleeping
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.is_sleeping> Returns whether a living entity is currently sleeping. (...)
DescriptionSets whether a fox is sleeping.
The entity may wake up immediately after setting this to true. If this is not desired, disable Mechanism:EntityTag.has_ai.
Generated Example
- adjust <player> is_sleeping:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3161