Entity paper/entity_health

Get Entity Health

Returns an entity's health, max health, and dead state.

Inputs

NameTypeOptionalDescription
entity entity The entity.

Outputs

NameTypeDescription
health number Current health.
maxHealth number Max health.
isDead boolean True if health is 0.