Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-196548

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 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
    • Confirmed
    • Mob behaviour

      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 MC-196548.zip 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.

        1. 2020-07-30_16.09.09.png
          2020-07-30_16.09.09.png
          498 kB
        2. 2020-07-30_16.11.43.png
          2020-07-30_16.11.43.png
          739 kB
        3. 2020-07-30_16.13.25.png
          2020-07-30_16.13.25.png
          911 kB
        4. 2020-07-30_16.15.10.png
          2020-07-30_16.15.10.png
          774 kB
        5. 2020-07-30_16.15.33.png
          2020-07-30_16.15.33.png
          975 kB
        6. 2020-07-30_16.21.43.png
          2020-07-30_16.21.43.png
          914 kB
        7. 2021-09-11 19-05-25.mp4
          4.24 MB
        8. 2021-10-23_07.53.08.png
          2021-10-23_07.53.08.png
          550 kB
        9. MC-196548.zip
          219 kB

            Unassigned Unassigned
            CCheukKa CCheukKa
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: