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 634 mechanisms...
Nameinvulnerable
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.invulnerable> Returns whether the entity is invulnerable (cannot be damaged).
DescriptionSets whether the entity is invulnerable (cannot be damaged).
Generated Example
- adjust <player> invulnerable:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityInvulnerable.java#L80