minecraft:exhaustion_values

Defines how much exhaustion each player action should take.

Properties

PropertyTypeDefaultWhat it does
healDecimal6Amount of exhaustion applied when healed through food regeneration.
jumpDecimal0.05Amount of exhaustion applied when jumping.
sprint_jumpDecimal0.2Amount of exhaustion applied when sprint jumping.
mineDecimal0.005Amount of exhaustion applied when mining.
attackDecimal0.1Amount of exhaustion applied when attacking.
damageDecimal0.1Amount of exhaustion applied when taking damage.
walkDecimal0Amount of exhaustion applied when walking.
sprintDecimal0.01Amount of exhaustion applied when sprinting.
swimDecimal0.01Amount of exhaustion applied when swimming.
lungeDecimal4Amount of exhaustion applied when triggering the lunge enchantment, multiplied by the enchantment level.

Example from the game files

This is how vanilla Player uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:exhaustion_values": {
    "sprint": 0.1,
    "jump": 0.05,
    "attack": 0.1,
    "damage": 0.1,
    "heal": 6.0,
    "lunge": 4.0,
    "sprint_jump": 0.2,
    "mine": 0.005,
    "swim": 0.01,
    "walk": 0.0
  }
}

Used by 1

Vanilla entities with minecraft:exhaustion_values in their definition:

Related components