Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-56926

Foxes don't take lava damage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.10.26 Beta, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.50 Beta, 1.16.220, 1.16.0.51 Beta, 1.15.0.55 Beta, 1.14.0.50 Beta, 1.13.0, 1.14.0, 1.16.0, 1.16.200, 1.16.201 Hotfix, 1.16.221 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.18.2 Hotfix, 1.19.50, 1.20.40.22 Preview, 1.20.30
    • None
    • Confirmed
    • Multiple
    • 289745

      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

            tryashtar [Mod] tryashtar
            Votes:
            14 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: