Skip to content

Exhaust

Applies exhaustion to a player.

Type ID: kaya:exhaust

Format

Field Type Default Description
amount Float Provider The amount of exhaustion to apply.
entity Entity Provider The player to apply the exhaustion to.

Example

{
    "type": "kaya:exhaust",
    "amount": 4.5,
    "entity": "this"
}

This example will apply exhaustion with the amount of $4.5$ to the player provided by the kaya:this_entity context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.