Modscraper Modscraper Minecraft
PathWeaver logo

PathWeaver

Mod

Experimental 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

  1. Install Fabric API + Cloth Config (required). Lithium recommended.
  2. That's it β€” async is on by default. To turn it off: ModMenu β†’ PathWeaver, or set asyncEnabled: false in config/pathweaver.json.
  3. 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

Fabric

Game Versions

26.1.2

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

External Resources