Rabbit Pathfinding Fixed (Unofficial Forge Port)
This project represents an adapted version of the Rabbit Pathfinding Fixed modification designed to work within the Forge ecosystem. The original code and logic are fully preserved from litetex's development.
Solving Rabbit Movement Problems
In Minecraft version 1.21.1, there are several significant shortcomings in the rabbit navigation system that this mod effectively fixes.
Main Navigation Fixes
Jumping Issues:
- Incorrect calculation of jump height and velocity, preventing rabbits from overcoming one-block high obstacles
- Stalling during jumps - rabbits jump in place instead of moving forward when trying to climb blocks
- These problems are related to the incorrect operation of the RabbitMoveControl movement system
Infinite Wandering:
- Rabbits frequently get stuck and move aimlessly around the area
- The cause lies in improper navigation timeout settings when movement speed is zero
- Lack of alternative behavior goals besides WanderAround leads to endless attempts to reach unreachable points
Fixing Carrot Crop Behavior
Reaching Crops:
- Rabbits stop one block away from carrot beds instead of approaching directly
- Instant consumption of crops even while jumping in the air
- Premature interruption of the eating goal due to incorrect implementation of condition checking methods
In version 1.21.4/24w46a, Mojang developers partially fixed the jumping height and stalling issues, however many other optimization aspects and checks remained unaddressed.
For visual comparison, video demonstrations of the modification's work are available.