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

Axolotls pathfind to unreachable water, eventually drying out and dying


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17, 1.17.1, 1.18 Pre-release 1, 22w05a, 23w05a, 1.20
    • None
    • Confirmed
    • Mob behaviour
    • Low
    • Gameplay

      This partially duplicates MC-208735, I was told to create a new issue for it since that was marked as fixed in 21w20a.

      How to reproduce: 

      1. Build an enclosed water pool that Axolotls cannot reach, similar to this: (glass is chosen for visibility, it works with any block)
      2. Spawn Axolotls on top of or next to the enclosed water
      3. The Axolotls will move back and forth, trying to reach the water to hydrate themselves, but unable to. This goes on for minutes, until they dry out and die.
      4. This happens regardless of whether there are other water sources nearby that the axolotls can reach, as is the case in the screenshot I included. The pond is clearly close enough for the axolotls to reach, but since it's farther away the axolotls will ignore it in favor of one they cannot actually get to. If the water is removed or replaced with other blocks, the axolotls will then pathfind to the pond they can actually get into.

      Strangely, axolotls won't do this when it's raining, they will correctly go to the pond in the image above.

      Rarely, I have seen axolotls leave water on their own and try to pathfind to unreachable water like described, but I wasn't able to find a way to reproduce it. The easiest way to reproduce is to place them next to the water pool yourself.

            Unassigned Unassigned
            SeanWasTaken Sean
            10 Vote for this issue
            7 Start watching this issue