Community listing page, reviews here may not be monitored by the author.
All Roads Lead to Rome
No reviews yet
Entity pathfinding and more performance optimizer
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
NOTE: ARLR (previously path finder) will continue to receive further updates, since the mod is now stable and solves one of minecraft's most expensive features, future updates will take longer and will only try to add small yet working improvements over the actual base as to not break the mod.
Entity AI and pathfinding optimizations for Minecraft 1.21.1 (NeoForge). Reduces server thread CPU spent on mob AI.
What it does
- Unreachable target cache: when a mobs A* search exhausts its budget without getting anywhere, retries against that target are skipped for 10 seconds. Cached per mob.
- Pathfinding throttle: at most 4 path computations start per server tick (configurable), which flattens spikes like the villager dawn rush
- Search depth cap: A* is capped at 400 visited nodes. Failed searches are what burn CPU usage the most (800+ nodes), successful village scale paths rarely exceed 300
- Recompute cooldown: after a failed pathfind, mobs wait 60 ticks before retrying instead of vanilla's 20
- Reduced path recompute at distance: mobs 48+ blocks from every player refresh in progress paths at most every 60 ticks (3 seconds)
- AI tick reduction at distance: mobs 48+ blocks from every player run their AI decisions every 4th tick, staggered across mobs: goal and target selectors for animals and monsters, and brains for idle or resting villager type mobs (compatible and recommended with Entity Culling).
Safety rules that apply everywhere:
- Mobs within 48 blocks of a player always behave exactly like vanilla
- Urgent mobs with an attack target or hurt in the last 10 seconds bypass everything and get full vanilla pathfinding
- Mobs in water or lava are never throttled, so they keep swimming and never drown
- Brains running anything other than idle/rest (working, panicking, or modded custom activities) always tick at full rate
Optionally you can install Configured to add in-game config options, most notably going below the recommended options won't most likely break the game (tested with mobs tick rate at 2, vanilla behavior stayed very similar, almost unnoticeable difference yet huge performance gain)
Compatibility
- Lithium optimizes different layers (it makes each A* node evaluation cheaper; ARLR reduces how often and how deep A* runs). They can be used together.
- The goal selector hook uses MixinExtras
@WrapOperation, so other mods wrapping the same calls chain cleanly instead of conflicting. - ARLR injects into
PathNavigation.createPath,PathNavigation.recomputePath,Brain.tick,Mob.serverAiStep, andLevel.setBlock.
Credits
This mod took heavy inspiration from Pathwright, a recent pathfinding optimization for Minecraft 26.1.2 mod.
Screenshots
Gallery
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
By the numbers
Statistics
(opens in a new tab)
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources