premium banner
Performance mod, make mob AI Multithreaded

Description

Multithreaded Mob AI

This mod reworks the mob AI system by distributing all entity AI calculations across multiple CPU threads/cores.

Say goodbye to massive lag spikes when there are many entities!

Real performance numbers from my test setup (vanilla server + this mod):

  Without the mod: ~1200 entities → 9 TPS, heavy lag

  With the mod (8 threads): ~6500 entities → stable 20 TPS, average world tick time ~40 ms

Especially effective on servers with massive mob counts: mob farms, mob grinders, mass-spawn events, mods that add hundreds/thousands of entities, etc.

Key features:

  Mob AI logic is offloaded to multiple CPU threads
•  Huge performance boost with large entity counts
•  Maintains 20 TPS in scenarios where vanilla drops below 10 TPS
•  Preserves original mob behavior and gameplay logic

https://discord.gg/UbVvXuAdM8