Back to mods
Rabbit Pathfinding Fixed project artwork

Modrinth · Minecraft mod

Rabbit Pathfinding Fixed

Fixes rabbit pathfinding efficiently

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Rabbit Pathfinding Fixed release matches 24w40a?

Updated 2 months ago
Best match for your filters 1.0.0
Game version 1.21, 1.21.1, 24w33a
Loader Fabric

Rabbit Pathfinding Fixed 1.0.0 targets 1.21, 1.21.1, 24w33a with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Rabbit Pathfinding Fixed required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Rabbit Pathfinding Fixed 1.0.0 need?

1.0.0 on 24w40a. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Rabbit Pathfinding Fixed without breaking your instance.

Built for Rabbit Pathfinding Fixed 1.0.0 on 24w40a. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.21, 1.21.1, 24w33a with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does Rabbit Pathfinding Fixed add?

Fixes rabbit pathfinding efficiently.

As of 1.21.1 there are multiple problems with rabbit pathfinding:

Basic pathfinding

  1. The calculation of the jump height/velocity is incorrect and poorly implemented.
    This results in too small jumps for climbing over a block.
  2. 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 by RabbitMoveControl which only sets the (horizontal) speed correctly during movement but not while jumping.
  3. Rabbits are stuck / try to wander around forever.
    • The root cause is that EntityNavigation sets 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 use LookAroundGoal.
      Thus the above mentioned infinite navigation is never stopped in favor of executing another goal like in most other mobs.
    • RabbitMoveControl#tick constantly updates the rabbits speed (RabbitEntity#setSpeed).
      While doing this it also indirectly executes 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/24w46a MC-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

  1. 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's 1 but should be 0).
  2. Rabbits eat the crop instantly even while still jumping and being in the air.
  3. The goal/behavior is immediately aborted (after a few ticks - when a target crop block was selected) due to incorrect implementation of shouldContinue and isTargetPos methods.

Other fixes

  • The client-side rotation of Adults rabbit's head is most of the time slightly upwards - MC-306682 affects 26.1 or later

Detailed video comparisons are also available.

Project description from Modrinth.

Pick your setup

Rabbit Pathfinding Fixed by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

61 available setups

Showing the newest 12 of 61 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Rabbit Pathfinding Fixed versions and loaders

1 of 14 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.