Mojira Archive
MCPE-56926

Foxes don't take lava damage

The bug

Unlike all other mobs that aren't immune to fire, foxes don't take lava damage. They only take damage from the fire that lava causes.

This is because foxes are missing the boilerplate component:

"minecraft:hurt_on_condition": {
  "damage_conditions": [
    {
      "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
      "cause": "lava",
      "damage_per_tick": 4
    }
  ]
}

How to reproduce

1. Spawn a fox
2. Put it in lava
3. Watch how long it takes to die
4. Spawn a zombie (same HP as fox (MCPE-48233))
5. Put it in lava
6. Notice how it dies significantly faster

Example video: https://twitter.com/Mega_Spud/status/1193261971015110656