Non-fire resistant hostile or neutral mobs pathfinding do not avoid the magma blocks.
21w05b:
[media][media]
Linked issues
is duplicated by 6
relates to 3
Attachments
Comments 12
I feel like this bug should have been PARTIALLY fixed. Mobs aren't really intelligent, so they wouldn't really know what the magma blocks would do to them. Perhaps it should be made so once they get damaged by the block they run away from it.
@unknown I updated MC-54702 to include magma blocks for random movement and fleeing.
Pathfinding was actually fixed.
Please reopen for 1.12.
Mobs will still pathfind over magma blocks when boxed in but then lose the ability to pathfind their way back into the box.
To replicate, place magma blocks in the ground around a NoAI villager and spawn some zombies. The Zombie will refuse to cross the blocks to get to the villager. However, reverse it and have the villager on the outside, and zombie(s) inside, the zombie(s) will chase the villager.
OR surround a house for a villager and spawn it inside. It will cross the magma to go outside, but then not be able to get back in the house. This also works for browncoats and a farm, etc. You can also try using food to lure an animal such as cow or sheep. The only 2 mobs I have found to not be affected were the Slime and Magma Cube (using a Villager Golem as bait)
I would not have realized that this was even a thing if it weren't for the magma block border I put up around my survival village. I thought it would help kill the zombies as they pressed forward against the stone fencing, but then they refused to walk up to the fence, stopping short. Villagers will also get stuck on magma blocks still while attempting to interact with another villager through a diagonal set of blocks.
@@unknown, slime and magma cube seems works as intended, they ignore all the rails / lava / magma blocks.
Villagers will get stuck on magma blocks is MC-54702.
Reopened.