minecraft:drying_out_timer

Dynamic value

Properties

This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.

Example from the game files

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

{
  "minecraft:drying_out_timer": {
    "total_time": 300,
    "water_bottle_refill_time": 90,
    "dried_out_event": {
      "event": "dried_out"
    },
    "stopped_drying_out_event": {
      "event": "stop_drying_out"
    },
    "recover_after_dried_out_event": {
      "event": "recover_after_dried_out"
    }
  }
}

Used by 2

Vanilla entities with minecraft:drying_out_timer in their definition:

Related components