Allay movement AI is broken in 22w42a+ causing them to sometimes spin mid-air
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.
2022-11-13, 05:57 AM
2022-11-22, 12:18 PM
2022-11-22, 12:18 PM
3
1