Tpsum
ModMIT

Tpsum

Performance optimization mod improves mob spawning, biome lookup, worldgen allocations, and task loop hot paths.

620
Downloads
2
Followers
3 months ago
Updated
📦
8
Versions

📖About Tpsum

Tpsum is a small, performance-focused optimization mod for Minecraft (Forge/NeoForge).
It targets hot paths that are executed extremely often during normal gameplay (server tick, mob spawning, biome lookup, and worldgen), aiming to reduce CPU time and avoidable allocations/GC pressure.

⚠️ No new content - Tpsum only improves performance.

Highlights

  • Mob spawning (NaturalSpawner) optimizations
    • faster spawn checks and fewer expensive calls in the spawn hot path
  • Faster biome lookup
    • cached noise-biome source and small math hot-path improvements
  • Reduced worldgen allocations
    • pooled feature placement context to lower GC load
  • Task loop improvements
    • optimized BlockableEventLoop queueing/counting for high task throughput

More details / technical breakdown

All optimizations, behavior notes, and profiling details are documented in the GitHub repository: