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

Allay movement AI is broken in 22w42a+ causing them to sometimes spin mid-air


    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.3 Pre-release 1
    • 22w45a, 22w46a
    • None
    • Confirmed
    • Mob behaviour
    • Important
    • Gameplay

      The Bug

      Post-1.19,2, in the snapshots intended for 1.19.3 and 1.20, Allays movement/AI has become bugged and behaves differently than expected compared to previous versions. While moving forward, especially while travelling quickly in order to follow a trusted player, often times they will stop, make a small circle, then fly forward once again. This behavior is inconsistent but happens frequently, as demonstrated below:


      Sometimes they may even spin more than once, delaying their movement even further;


      This can be compared to their movement in 1.19, 1.19.1, and 1.19.2, where they wouldn't ever do this. They flew in a straight path, only sometimes wobbling a bit. This can be seen for comparison here:



      Steps to reproduce:

      1. Have an Allay fly to you several times in 1.19.2, and observe how their movement behaves as expected
      2. Do this again for 22w42a+
      3. Observe how, though inconsistent, often times they Allay will stop to spin mid-flight

      This bug slows down the Allays movement in its path towards the player, which is important for a mob that needs to be able to keep up.

        1. AllayDoubleSpin120.mp4
          6.44 MB
        2. AllayMovement119.mp4
          7.84 MB
        3. AllaySpinMovement120.mp4
          7.81 MB

            gegy1000 [Mojang] Gegy
            DiamondDragon721 Orbic
            3 Vote for this issue
            1 Start watching this issue