Exhaust (Entity Action Type)

Applies exhaustion to the entity, reducing saturation and hunger.

Applies exhaustion to the entity, reducing saturation and hunger.

Type ID: apoli:exhaust

This entity action type will only work on players.

Fields

FieldTypeDefaultDescription
amountFloat or ExpressionThe amount of exhaustion to apply to the player.

Examples

"entity_action": {
    "type": "apoli: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).