
Rabbit Pathfinding Fixed (Unofficial Forge Port)
Fixes rabbit pathfinding / MC-150224. An unofficial Forge ecosystem port from the Fabric version
Автор: MikeStorm036,5 тыс.12обновлён 29 окт. 2026 г.
Механики игрыМобы
Описание
Disclaimer
This is a fork of the Rabbit Pathfinding Fixed. I do not claim ownership of the original code, assets nor changing any of the code logic. All credit goes to litetex. I just made a port for Forge ecosystem.
Rabbit Pathfinding Fixed
Fixes rabbit pathfinding efficiently.
As of 1.21.1 there are multiple problems with rabbit pathfinding:
Basic pathfinding
- The calculation of the jump height/velocity is incorrect and poorly implemented.
This results in too small jumps for climbing over a block. - Rabbits "stall" (no horizontal movement) during jumps - due to this they just jump upwards in the same place when trying to climb a block.
This behavior is caused byRabbitMoveControlwhich only sets the (horizontal) speed correctly during movement but not while jumping. - Rabbits are stuck / try to wander around forever.
- The root cause is that
EntityNavigationsets its timeouts based on movement speed.
If the movement speed is 0 (this is the case when a rabbit/mob is "stuck"), the timeout is also 0... and if the timeout is 0 it's ignored and therefore it's executed forever (or until interrupted by something external like another goal). - Rabbits only have a single goal when idle:
WanderAround(Far). Most other entities also useLookAroundGoal.
Thus the above mentioned infinite navigation is never stopped in favor of executing another goal like in most other mobs. RabbitMoveControl#tickconstantly updates the rabbits speed (RabbitEntity#setSpeed).
While doing this it also indirectly executesmoveControl#moveTothus the rabbit always tries to reach it's last target even when it shouldn't do that.
- The root cause is 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.
Eating carrot crops
- Rabbits can't reach the crops and always stop one block short of them.
This is due to selecting the incorrect distance from the crop block (it's1but should be0). - Rabbits eat the crop instantly even while still jumping and being in the air.
- The goal/behavior is immediately aborted (after a few ticks - when a target crop block was selected) due to incorrect implementation of
shouldContinueandisTargetPosmethods.
Detailed video comparisons are also available.
Последние версии
Все версии →release
1.4.0-neoforge
1.4.0-neoforge29 окт. 2026 г.70Minecraft: 26.2, 26.3neoforge
Что нового
Ported from 1.4.0 Fabric. (Update to 26.2)
release
1.4.0-forge
1.4.0-forge29 окт. 2026 г.7Minecraft: 26.2, 26.3forge
Что нового
Ported from 1.4.0 Fabric. (Update to 26.2)
release
1.3.0-neoforge
1.3.0-neoforge29 окт. 2026 г.11Minecraft: 26.1.2neoforge
Что нового
Fix client-side rotation of Adults rabbit's head; see [MC-306682](https://mojira.dev/MC-306682)
release
1.3.0-forge
1.3.0-forge29 окт. 2026 г.6Minecraft: 26.1.2forge
Что нового
Fix client-side rotation of Adults rabbit's head; see [MC-306682](https://mojira.dev/MC-306682)
release
1.2.0-forge-hotfix
1.2.0-forge-hotfix29 окт. 2026 г.6Minecraft: 26.1, 26.1.1forge
release
1.2.0-neoforge
1.2.0-neoforge28 окт. 2026 г.9Minecraft: 26.1, 26.1.1neoforge
Что нового
1.2.0 ported from Fabric.
release
1.2.0-forge
1.2.0-forge28 окт. 2026 г.6Minecraft: 26.1, 26.1.1forge
Что нового
1.2.0 ported from Fabric.
release
1.0.6.1-1.20+neoforge
1.0.6.1-1.20+neoforge23 окт. 2025 г.101Minecraft: 1.20.2, 1.20.3, 1.20.4neoforge
Что нового
1.0.6.1 port from fabric project
release
1.0.6.1-1.20+forge
1.0.6.1-1.20+forge22 окт. 2025 г.1,3 тыс.Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4forge
Что нового
1.0.6.1 port from fabric project
release
Forge-1.0.5/1.0.7+
1.0.5-forge2 июл. 2025 г.110Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11forge