|Modifier and Type||Method and Description|
Returns the health amount.
Gets the current maximum health.
asImmutable, copy, fill, fill, from, set, set, set, set, transform
The range of the health depends on the object on which this method is defined. For players in Minecraft, the nominal range is between 0 and 20, inclusive, but the range can be adjusted.
Convention dictates that health does not follow below 0 but this convention may be broken.
The maximum health set here may affect the attribute increasing health points. The base health should be minded that it may be lower than the total maximum health of this entity.