Rabbit Pathfinding Fixed (Unofficial Forge Port)

Quick rating

Rabbit Pathfinding Fixed (Unofficial Forge Port)

No reviews yet

Fixes rabbit pathfinding / MC-150224. An unofficial Forge ecosystem port from the Fabric version

Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
1.0.6.1-1.20+neoforge
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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 the 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

  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.

Detailed video comparisons are also available.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~3,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works