跳到正文

Tpsum

作者:Sixik

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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:

常见问题

Tpsum 支持哪些 Minecraft 版本?

Tpsum 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Tpsum 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Sixik 的其他作品

查看全部 →