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 625 mechanisms...
Namegravity
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.gravity> Returns whether the entity has gravity.
DescriptionChanges the gravity state of an entity.
When set false (no gravity), side effects may also occur, eg all movement entirely being blocked.
Generated Example
- adjust <player> gravity:false
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityGravity.java#L86