mojira.dev
MC-196548

Mobs fail to pathfind around blocks with non-full top when under low ceiling

The bug

Mobs cannot pathfind correctly in certain situations.

They would get stuck trying to pass through a <2 block gap.
Note that they can perform the same task correctly when the block is replaced with something with a full top, but still transparent (e.g. top slab).

Further testing suggested that sometimes this still happens even if the block is removed entirely.

To reproduce

  1. Open the attached world

[media]
  1. and watch the behavior of the villager attempting to pathfind to a workstation.

Observed Result

The villager gets stuck attempting to pathfind between the stairs and the low ceiling.

Expected Result

The villager would recognize it as an invalid path and turn around.

Attachments

Comments 5

Can confirm in 1.17.1.

Can confirm in 21w37a.

Villagers show similar behaviour when standing under low hanging leave blocks but wanting to pahtfind up solid blocks.

Can confirm in 21w42a.

This appears to have been fixed in 22w42a. Can anyone still reproduce this issue in said snapshot or 22w43a?

CCheukKa

(Unassigned)

Confirmed

Mob behaviour

pathfind, pathfinding

1.16.1, 1.17.1, 21w37a, 21w42a, 1.18 Release Candidate 1, 1.18.1 Release Candidate 1, 1.18.1, 22w07a, 22w18a, 1.19.2

Retrieved