set Health
Sets the entity's health from 0 to getMaxHealth, where 0 is dead.
Parameters
health
New health represented from 0 to max
Throws
Thrown if the health is < 0 or >getMaxHealth
Sets the entity's health from 0 to getMaxHealth, where 0 is dead.
New health represented from 0 to max
Thrown if the health is < 0 or >getMaxHealth