Exhaustion
origins-powerful-powers:exhaustionentity conditionplayers only
The player's food exhaustion. Actions like sprinting, jumping and fighting raise it. When it passes 4.0, vanilla takes 4 away and removes a point of saturation or food.
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | |
compare_to | Float | required | usually 0.0 to 4.0 |
Example:
{
"type": "origins:action_over_time",
"interval": 10,
"condition": {
"type": "origins-powerful-powers:exhaustion",
"comparison": ">=",
"compare_to": 3.5
},
"entity_action": {
"type": "origins:execute_command",
"command": "title @s actionbar {\"text\":\"You feel tired…\",\"color\":\"gray\"}"
}
}A warning just before you lose food.
Attribute: exhaustion