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 656 mechanisms...
Nametemper
ObjectEntityTag
InputElementTag(Number)
Related Tags<EntityTag.temper> (Property) Returns the temper of a horse-type entity. (...)
Description(Property) Sets the temper of a horse-type entity.
A value of 0 indicates that no action has been done to try to domesticate this entity.

When a player mounts an entity, a number between 0 and the entity's max temper is generated.
The entity becomes tamed if this value is less than the entity's temper value.
Otherwise, the player gets bucked and increases the entity's temper by 5.
Temper can also be increased by feeding the entity.
- Apples, sugar, and wheat increase temper by 3.
- Golden carrots increase temper by 5.
- Golden apples increase temper by 10.

To control the entity's max temper, see Mechanism:EntityTag.max_temper.
To automatically tame an entity, see Mechanism:EntityTag.tame.
Generated Example
- adjust <player> temper:4
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTemper.java#L10