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

Villager pathfinding broken in water

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.19.3 Pre-release 1
    • Minecraft 1.14.4 Pre-Release 5, 1.15.2, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w22a, 1.16.1, 1.16.4, 20w49a, 1.17.1, 22w12a
    • Confirmed
    • Mob behaviour, Village system
    • Normal

    Description

      The bug

      I have already seen the "fixed" bug report MC-151333 but the villagers still get stuck in the water. I have been trying to make a swamp village in a part of swampland that has no exposed land anywhere but the villagers keep jumping in the water and once they do they just swim in it.

      I have found that the pathfinding is broken in where they still swim in the water but they can't seem to detect a bed where they need to swim out of the water and then onto land to get to it. As soon as I push the villager onto land he goes to the bed.

      In the picture below a villager is in the water right beside a bed at night but isn't going into it.

      How to reproduce

      See @Gintoki in this comment and this video.

      Attachments

        1. 2019-07-13_09.20.30.png
          2019-07-13_09.20.30.png
          1.73 MB
        2. 2020-03-09_12.45.58.png
          2020-03-09_12.45.58.png
          1011 kB
        3. 2020-03-09_12.47.52.png
          2020-03-09_12.47.52.png
          915 kB
        4. test-setup.png
          test-setup.png
          3.42 MB

        Issue Links

          Activity

            People

              gegy1000 [Mojang] Gegy
              AquaticAmps64 Joshua H
              Votes:
              18 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: