Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
TensuraAIFix is a lightweight, server-side performance patch for the That Time I Got Reincarnated as a Slime (Tensura) mod family. It trims the heaviest AI behaviors that cause pathfinding spikes and tick lag.
What it does
- Removes Tensura’s heavy PassiveMeleeAttack goal at runtime (the main pathfinding spammer).
- Keeps combat intact
-
Preserves flying/special AI (skills/abilities are left alone; the mod no longer nukes entire AI selectors).
-
Disables AI for “clone” entities to stop runaway CPU use.
-
Safety sweep every ~2s to re-remove expensive goals if another mod re-adds them.
-
Fixes each mob once (NBT flag + in-memory session cache) to avoid repeat work.
-
Quiet by default: minimal logging and a small “Fixed X mobs” summary ~10s after startup
Results (typical)
-
Smoother TPS during big fights or dense Tensura spawns.
-
Far fewer GroundPathNavigation spikes in spark reports.
-
Mobs still move, target, and attack—just without the pathfinding thrash.
- This mod does not change spawn rates, damage, drops, or content. It only adjusts AI goals at runtime.
Does it need to run on the client? A: No. Server-side is enough. Singleplayer is covered via the integrated server.


