Name | max_health |
Object | EntityTag |
Input | ElementTag(Decimal) |
Related Tags | <EntityTag.health> Returns the current health of the entity.
<EntityTag.health_max> Returns the maximum health of the entity.
|
Description | Sets the maximum health the entity may have.
The entity must be living. Note to change the current health at the same time as max_health (might be needed when setting max health higher rather than lower), use EntityTag.health_data. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityHealth.java#L176 |