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...
Nameimmune
ObjectEntityTag
InputElementTag(Boolean)
Related Tags<EntityTag.immune> Returns whether this piglin or hoglin entity is immune to zombification.
DescriptionSets whether this piglin or hoglin entity is immune to zombification.
Generated Example
- adjust <player> immune:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityImmune.java#L98