Skip to main content

Exhaust (Entity Action Type)

Adds exhaustion to the player, which drains saturation and then hunger.

Type ID: apoli:exhaust

note

This action only works on players.

Fields

FieldTypeDefaultDescription
amountFloat or ExpressionrequiredHow much exhaustion to add.

Examples

"entity_action": {
    "type": "apoli:exhaust",
    "amount": 0.4
}

This adds 0.4 exhaustion, about the same as jumping 8 times without sprinting.