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...
Namemax_no_damage_duration
ObjectEntityTag
InputDurationTag
Related Tags<EntityTag.last_damage.duration> Returns the duration of the last damage taken by the entity.
<EntityTag.last_damage.max_duration> Returns the maximum duration of the last damage taken by the entity.
DescriptionSets the maximum duration in which the entity will take no damage.
Generated Example
- adjust <player> max_no_damage_duration:5m
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3605