PathWeaver
ModExperimental opt-in server-side A* offload for Walk/Swim mobs. Default-off in v0.1.1. Rejected dispatches stay sync; worker failures force a later request sync. No universal MSPT speedup or full safety/equivalence claim.
Type
Mod
Modrinth Downloads
63
Modrinth ID
ZQJOU3vB
Last Updated
Jul 30, 2026
Description
π§ Actively developed β early alpha, not a final release. PathWeaver improves constantly (a major safety & correctness rework is underway). Async pathfinding is on by default β it's a clearly-labeled experimental alpha, so expect rough edges and keep backups. You can disable async any time.
β‘ PathWeaver
Less server lag from mobs β pathfinding, moved off the main thread.
On a busy world, a surprising share of every server tick goes to one thing: working out where mobs walk (their A* pathfinding). PathWeaver runs that search off the main server thread, giving your tick more room to breathe β while aiming to keep mobs behaving exactly like vanilla.
π What it does β measured, not hyped
Benchmarked with public spark profiles (4 paired runs, 160 pathfinding mobs on a real server). Server-thread pathfinding cost, async OFF β ON:
Server-thread work OFF ON Change WalkNodeEvaluator (the A* search) 2613 ms 236 ms β 91% PathfindingContext 499 ms 76 ms β 85% PathFinder 787 ms 0 ms β 100%β This proves the pathfinding work genuinely moves off the server thread. βοΈ The honest caveat: in that test it did not speed up the overall tick β the server had plenty of headroom to spare. The real benefit is for servers that are actually struggling under a heavy mob load. If your server has room, you won't notice much. We're measuring the overloaded-server case next, and we'll publish whatever it shows.
Spark evidence β OFF: run1 Β· run2 Β· run3 Β· run4 β ON: run1 Β· run2 Β· run3 Β· run4
π‘οΈ Is it safe?
- Off-thread, it only ever reads the world β it never writes to it.
- If anything looks risky, it silently falls back to normal vanilla pathfinding. No crashes.
- It's on by default but honestly experimental β the deeper safety guarantees are being built and proven with real tests, not promises, right now. Keep backups, and if you want maximum caution, set asyncEnabled: false.
π Compatibility β what to expect
PathWeaver is a careful guest. It never forces itself on pathfinding it doesn't understand:
- β Vanilla-style mobs (most animals, zombies, villagers, etc.) β eligible for the off-thread speedup.
- π Mods that change how pathfinding works β PathWeaver auto-detects them and keeps those mobs on vanilla pathfinding. Safe, just no speedup for them. It deliberately errs on caution: if it can't prove a pathfinding-touching mod is safe, it leaves those mobs synchronous (so heavily-modded packs may see fewer mobs accelerated β that's by design, and safe).
- π€ Lithium β recommended; PathWeaver is built to cooperate with it.
- β Hard incompatibilities: none known. The worst case for any mod is "no speedup for those mobs," never a break.
Running a specific pack and unsure? Just play β the safe-by-default gate should handle it β and report anything odd.
π Setup
- Install Fabric API + Cloth Config (required). Lithium recommended.
- That's it β async is on by default. To turn it off: ModMenu β PathWeaver, or set asyncEnabled: false in config/pathweaver.json.
- Server-side β dedicated servers, LAN hosts, or singleplayer. Vanilla clients can join.
πΊοΈ Roadmap
- π Safety rework β run the off-thread search on a fully-isolated world snapshot (earn a true "safe by construction" guarantee)
- π Load-tested numbers β prove whether it helps a server that's actually overloaded
- π§© More Minecraft versions
Requires Minecraft 26.1.x Β· Fabric Β· Fabric API Β· Cloth Config Β· Java 25. Full technical details, safety internals & benchmark methodology β GitHub.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Elytra Break Pop
A visual warning when your elytra breaks, using the totem of undying animation.
LOTR Utumno Enhanced
Will make playing Utumno more difficult in Lord of the Rings mod
No Building Near Hostiles
Won't let you place blocks if hostile mobs are chasing you
Jobs Cobb
Jobs for Cobblemon Mod in Minecraft
TrackAbex Helper
TrackAbex helper mod to collect Stoneworks shop data.
Immersive Chests
This project adds a configurable camera system too chests and other functional blocks upon interaction allowing GUI alig...