mojira.dev
MC-54702

Mob AI ignoring damage dealing blocks when randomly walking around/not fleeing when hit by them

The bug

Mob AI ignoring damage dealing blocks when randomly walking around/not fleeing when hit by them.

Affected blocs

  • Cactus

  • Magma block

  • Lava

  • Fire

  • Wither rose

  • Berry bushes

  • Campfire

Example

Here is a great example:

[media]

Linked issues

MC-70158 Villagers are suicidal and run into cactus Resolved MC-105931 Villagers don't care of actions Resolved MC-137504 Pandas cannot avoid fire/lava initiatively Resolved MC-137505 When a mob steps onto a wither rose it doesn't feel like leaving Resolved MC-137843 Mobs don't run from a Wither Rose Resolved

Attachments

Comments 36

Hawk J

Still happening in 1.8. One of my important pre-1.8 villager just died from a cactus.

Roy Sajima

Confirmed for 1.1, and also for magma blocks.

Elemend

This still happens in 18w31a.

Kraif

Confirmed for 1.13.1.

gsquaredxc

Can confirm for cows in 1.13 with lava.

26 more comments
Shugoh

@unknown Do you have any reproduction steps you could supply for this issue, since you just confirmed it? 

Minecraft386882

Place a magma block 3 blocks in front of the player and 4 more blocks (2 extending left and right each), then lure a villager with food.

Observed result: The villager takes damage from the magma block.

Expected results: The villager can path find around the magma blocks to go towards the player.

 

Also speaking about villagers, I want to highlight a few other serious bugs:

MCPE-172251*

MCPE-42912*

MCPE-67222*

MCPE-41432

MC-140452*

MC-140383*

MC-238689

MC-220538*

MC-192711

MC-140619*

MC-153904*

MC-256129*

MC-277889

*Particularly important 

 

Lyoneer

The villagers pathfind around the magma for me, and doesn't take damage. If I close the food in with magma blocks they will just stare at it. Do you have any other reproducing steps?

Shawn82

I can't reproduce this in 1.21.3 and 24w45a either. Attached the image.

Lyoneer

Closing this ticket as cannot reproduce.

Metelkin Ilya

(Unassigned)

Confirmed

Platform

Important

Mob behaviour

ai, behavior, blocks, damage, hit, ignore, mobs

Minecraft 14w18b, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 15w34a, Minecraft 15w34b, ..., 1.20.2, 23w41a, 24w13a, 1.20.6, 24w21b

Retrieved