mojira.dev
MC-102278

Non-fire resistant hostile or neutral mobs pathfinding do not avoid the magma blocks

Non-fire resistant hostile or neutral mobs pathfinding do not avoid the magma blocks.

21w05b:

[media]

[media]

Linked issues

Attachments

Comments 12

Reopened.

Still in the 16w21a.
Mod please reopened.

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.

Mob still standing on the magma blocks do not flee.
Mod please reopened.

@unknown I updated MC-54702 to include magma blocks for random movement and fleeing.
Pathfinding was actually fixed.

2 more comments

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.

Confirmed for 1.12.
Mod please reopen.

@@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.

I am unable to reproduce this issue in 21w05b.

Can this still be reproduced in the latest version of Minecraft?

[Mod]Les3awe

(Unassigned)

Confirmed

Mob behaviour

AI, avoid, magma_block, mob, pathfinding, suicide

Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, ..., 1.16.4, 20w45a, 1.16.5, 21w05b, 21w08a

Minecraft 1.10 Pre-Release 1

Retrieved