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 568 mechanisms...
Namehas_ai
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.has_ai> Returns whether the entity uses the default Minecraft AI to roam and look around. (...)
DescriptionSets whether this entity will use the default Minecraft AI to roam and look around.
This tends to have implications for other vanilla functionality, including gravity.
Generated Example
- adjust <player> has_ai:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityAI.java#L67