-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w46a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w09a, Minecraft 18w10d, Minecraft 18w14b, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre8, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 1.14, 1.14.4, 1.15 Pre-release 7, 1.15.2, 20w11a, 20w19a, 1.16.2, 21w05b, 1.19.2, 23w06a, 1.19.4 Pre-release 4, 1.21.3
-
Confirmed
-
Mob behaviour
-
Normal
-
Gameplay
The bug
Zombified piglins and wither skeleton avoid walking through fire or over magma blocks if there is an alternative (not much longer) path, even though these blocks aren't hazardous to them.
Note: In previous versions these mobs would never walk over these blocks, even if there was no alternative.
Exceptions
It appears under certain circumstances they do walk over these blocks, so make sure to avoid them when trying to reproduce the bug.
- In general mobs apparently walk through fire and over magma blocks if this is the only available path.
- Wither skeletons walk over magma blocks if there is only one, however when two are placed next to each other, they won't walk over them.
- If the alternative path is much longer (or they are already in fire or on magma blocks?) they walk through fire / over magma blocks.
How to reproduce
See also:
- Wither skeleton avoiding magma blocks (1.16.2).mp4
- Zombified piglin avoiding magma blocks (1.16.2).mp4
- Build a "U"-shaped two block wide magma block pattern in the floor
- Switch to survival mode
- Give yourself fire resistance (optional)
- Summon one of the affected mobs
- Run over the magma blocks
→ The mob walk around the magma blocks to reach you
Code analysis
See this comment