-
Bug
-
Resolution: Unresolved
-
None
-
1.18.2 Pre-release 1, 1.18.2, 22w15a, 22w16b, 1.19 Pre-release 3, 1.19, 1.19.1 Pre-release 4, 1.19.2, 22w42a, 1.20, 23w35a, 1.20.5 Pre-Release 1, 24w33a
-
Confirmed
-
Mob behaviour
-
Low
-
Platform
Closely relates to MC-87093, however a "tracking" animation is not necessarily present; zombies do not show the arm animation problem from that ticket yet still exhibit this other behaviour. I cannot find any other tickets that describe this behaviour after searching.
The bug
When a hostile mob has line of sight to an entity they are targeting but is physically incapable of reaching them, they will repeatedly turn to face the entity and then back to the direction they were originally facing.
How to reproduce
A setup is shown in the attached screenshots featuring the player standing on a block as to be one block higher than the mob, which is trapped in a hole that allows them to see but not escape. Standing on the block should highlight the behaviour.
Expected results
The mob should either act normally as if no player is present, or continuously stare at the player they're interested in.
Actual results
The mobs appear to switch between acting normally and attempting to reach the player, causing them to nod strangely.
- is duplicated by
-
MC-250175 Some mobs such as Zombies look away after each time they hit you
- Resolved
-
MC-265156 Zombies, zombie villagers, the shell can not attack the villagers, always have been shaking his head
- Resolved
- relates to
-
MC-198068 Some entities randomly stop attacking or fleeing during pathfinding
- Reopened
-
MC-205286 Vindicators constantly equip then unequip their axe when unable to reach their target
- Open
-
MC-87093 Skeleton, wither skeleton, stray and bogged arm animation glitch if they can't reach you
- Reopened
-
MC-250238 Frogs attempt to pathfind to entities outside of their reach causing them to spin and twitch constantly
- Resolved