Name | max_temper |
Object | EntityTag |
Input | ElementTag(Number) |
Related Tags | <EntityTag.max_temper> (Property) Returns the upper-bound for a horse-type entity's chance to be tamed. (...)
|
Description | (Property) Sets the upper-bound for a horse-type entity's chance to be tamed.
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. Because an entity must have a level to reach before it can be tamed, value must be 1 or higher. Default value for llamas and trader llamas is 30. Default value for all other entities is 100. To control the entity's current temper, see EntityTag.temper. To automatically tame an entity, see EntityTag.tame. |
Generated Example |
|
Group | Properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMaxTemper.java#L10 |