Entity
paper/entity_set_health
Set Entity Health
Sets, kills, or damages an entity.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
entity |
entity | The entity. | |
health |
number | ✓ | Health value or damage amount. |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after the operation. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
mode |
select | "SET" |
Mode |
health |
number | 20 |
Health / Damage (fallback) |