Beta Protected constructorReadonly currentRead-only. Returns the current value of health for the entity.
This property can throw when used.
Readonly typeIdentifier of this component. Should always be minecraft:health.
Readonly valueValue for health as defined through entity components.
This property can throw when used.
Static Readonly componentIdentifier of this component. Should always be minecraft:health.
Defines the health properties of an entity.