/
Fixes rabbit pathfinding efficiently.
As of 1.21.1 there are multiple problems with rabbit pathfinding:
RabbitMoveControl which only sets the (horizontal) speed correctly during movement but not while jumping.EntityNavigation sets its timeouts based on movement speed.WanderAround(Far). Most other entities also use LookAroundGoal.RabbitMoveControl#tick constantly updates the rabbits speed (RabbitEntity#setSpeed).moveControl#moveTo thus the rabbit always tries to reach it's last target even when it shouldn't do that.As of
1.21.4/24w46aMC-150224 was fixed, correcting the jump height (1) and fixing the stall (2).
However all other parts - including optimizations and sanity checks in above mentioned fixes - are still missing.
1 but should be 0).shouldContinue and isTargetPos methods.Detailed video comparisons are also available.

Fixes rabbit pathfinding efficiently