mojira.dev
MC-123699

Mobs without natural fire resistance cannot pathfind through lava

The bug

Mobs without natural fire resistance which are swimming in lava cannot pathfind. You can see that they recognize their target, for example vindicators raise their axe, but they don't move at all. This does not apply to zombified piglins, wither skeletons, and blazes.

Reproduction steps

  1. Create a 1 block deep pool of lava

  2. Summon a Wither Skeleton in the lava and switch to Survival
    ✔ The Wither Skeleton slowly moved towards you; as expected

  3. Summon a Vindicator with fire resistance in the lava

    /summon minecraft:vindicator ~ ~ ~ {active_effects:[{duration:-1,amplifier:0b,id:"minecraft:fire_resistance"}]}

    ❌ The Vindicator repeatedly raises its arms for a short time but is unable to move towards you

Linked issues

Comments

[Mod]Les3awe

This issue relates to MC-104631.

Oval

Confirmed for 1.13.1.

gaspoweredpick

Confirmed for vindicators in 19w12b.

gaspoweredpick

Cannot confirm for fire resistant mobs in 20w09a. Fire resistant mobs will pathfind in lava, while non fire resistant mobs won't move.

Avoma

I am unable to reproduce this issue in 20w49a. As stated above, fire resistant mobs will pathfind in lava, while non fire resistant mobs won't move and this is still the case.

marcono1234

What you are describing is the bug this report is about; I have edited the description and added reproduction steps to hopefully make that clearer.

Avoma

Thanks for adding further details about this issue and helping me understand the problem overall. With that being said, I can confirm in 21w05b.

Brain81505

Can confirm in 1.19.4

Jon1337

In 23w44a

marcono1234

(Unassigned)

Confirmed

Mob behaviour

lava, pathfinding

Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w01a, Minecraft 1.13.1, Minecraft 1.13.2, ..., 21w15a, 21w17a, 1.19.4, 1.20.4, 1.21.5

Retrieved