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 644 mechanisms...
Nameanger_at
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.anger_at[<entity>]> Returns a warden's anger level at a specific entity.
DescriptionSets a warden's anger towards a specific entity.
The input map needs to have the following keys:
- "entity", the entity to set anger for.
- "anger", the amount of anger.
See Mechanism:EntityTag.clear_anger for clearing anger.
See Mechanism:EntityTag.increase_anger for increasing it.
Example
# Use to set a warden's anger at a specific entity to 20.
- adjust <[warden]> anger_at:[entity=<[entity]>;anger=20]
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L3040