|Modifier and Type||Method and Description|
asMutable, copy, with, with
ImmutableBoundedValuefor the current health.
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 for any reason.
ImmutableBoundedValuefor the maximum health.
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.