Entity
paper/entity_health
Get Entity Health
Returns an entity's health, max health, and dead state.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
entity |
entity | The entity. |
Outputs
| Name | Type | Description |
|---|---|---|
health |
number | Current health. |
maxHealth |
number | Max health. |
isDead |
boolean | True if health is 0. |