Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-42912

Villagers cannot pathfind around walls to their beds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.20.21 Preview, 1.20.10.21 Preview, 1.19.70.26 Preview, 1.14.20 Hotfix, 1.11.0.3 Beta, 1.11.0.5 Beta, 1.11.0.7 Beta, 1.11.1, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.1, 1.16.200, 1.17.0, 1.17.2 Hotfix, 1.17.41 Hotfix, 1.18.2 Hotfix, 1.18.31, 1.19.31 Hotfix, 1.19.51, 1.19.60, 1.19.63, 1.20.0.22 Preview, 1.19.80, 1.19.81 Hotfix, 1.19.83 Hotfix, 1.20.0, 1.20.15 Hotfix, 1.20.32 Hotfix, 1.20.51 Hotfix, 1.20.71 Hotfix, 1.21.1 Hotfix, 1.21.2 Hotfix, 1.21.23 Hotfix, 1.21.30, 1.21.31 Hotfix, 1.21.41 Hotfix
    • None
    • Confirmed
    • Multiple
    • 305639, 204502

      When a villager (v2) tries to go to bed, it can happen that it approaches its claimed bed from the other side of a wall. When this happens, it appears to pathfind through the wall. When it can't reach it, it displays anger particles and wanders for a short time. Sometimes as it wanders it displays green particles as if it discovered the bed again, and sometimes it doesn't, but in either case it can get into a loop trying repeatedly to pathfind through the wall. I have also seen this happen after the villager gets up: It tried to pathfind to its workplace through the wall.

      I have attached a test world. To reproduce the problem, simply observe the sole villager for a while.

        1. MCPE-42912 Villager_V2 Testing.mcworld
          421 kB
          [MCPE Mod] Auldrick
        2. VillagerBug1.17.2.mcworld
          139 kB
          Klaus Klein

            Auldrick [MCPE Mod] Auldrick
            Votes:
            109 Vote for this issue
            Watchers:
            56 Start watching this issue

              Created:
              Updated:
              CHK: