Exhaust
Applies exhaustion to the entity, reducing saturation and hunger.
Type ID: origins:exhaust
Note
This entity action type will only work on players.
Fields
Field | Type | Default | Description |
---|---|---|---|
amount |
Float | The amount of exhaustion to apply to the player. |
Examples
"entity_action": {
"type": "origins:exhaust",
"amount": 0.4
}
This example will apply 0.4 exhaustion to the player, which is similar in effect to jumping 8 times (without sprinting).