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...
Namehealth_scale
ObjectPlayerTag
InputElementTag(Decimal)
Related Tags<PlayerTag.health_scale> Returns the current scale for the player's health bar.
DescriptionSets the 'health scale' on the Player. Each heart equals '2'. The standard health scale is
20, so for example, indicating a value of 40 will display double the amount of hearts
standard.
Player relogging will reset this mechanism.
Generated Example
- adjust <player> health_scale:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2981