Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2471 tags...
Name<EntityTag.temper>
ReturnsElementTag(Number)
MechanismEntityTag.temper
Description(Property) Returns 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
- narrate "the number value is <player.temper>"
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityTemper.java#L10