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

Naturally generated villagers are not pathfinding towards their POI; POI detection range is too small


    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w19a
    • 1.14.4, 19w34a, 19w35a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2, 20w06a, 20w07a, 20w08a, 20w10a, 20w11a, 20w13a, 20w13b, 20w14a, 20w15a, 20w17a, 20w18a
    • Community Consensus
    • Survival
    • Mob behaviour
    • Low

      Previous Ticket MC-151376

      This issue was marked as fixed in a previous Ticket, unfortunately it seems to be only fixed in a 50% since pre-generated villagers (Those ones that generate naturally from the jigsaw blocks on villages) still suffer a bad pathfinding, compared to villagers generated from spawn eggs or from breeding, from my recent tests the always buggy behavior that was present ever since the first 1.14.1 snapshot remains here, the new generated villagers (From spawn eggs, summon commands and natural breeding) have a lot less of problems detecting the POIs and they have a wide detection range. Overall for survival players the problem still very visible, specially in freshly generated villages where it can take up to 2-3 in game days to see a villager take a profession along with the frequent deaths due to the lack of detection for beds or meeting points.

      As you can see, currently using the first 1.15 Snapshot

      It seems like it doesn't reach the door, more like these villagers pathfind straight up using the close path.

      An interesting observation that I noticed is that this issue is not present in every Villager, there's some villagers that can access to their POI with no problem, probably due to how the Doors are facing, I believe this can be a factor as these naturally generated villagers do pathfind using the closest alternative even if this is blocked.

      More examples

        1. 1.16 - Better Villagers.zip
          20 kB
        2. 2019-08-26_10.36.14.png
          1.17 MB
        3. 2019-08-26_10.36.54.png
          1.29 MB
        4. 2019-08-26_10.37.27.png
          1.31 MB
        5. 2019-08-26_10.37.39.png
          1.81 MB
        6. 2019-08-26_10.47.03.png
          1.36 MB
        7. 2020-03-12_19.13.43.png
          1.18 MB
        8. 2020-03-12_19.14.07.png
          1.26 MB
        9. 2020-05-08_02.19.39.png
          1.17 MB
        10. 2020-05-08_02.22.18.png
          1.78 MB

            cojomax99 [Mojang] Cory Scheviak
            Electroman Carlos G.
            12 Vote for this issue
            11 Start watching this issue