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