跳到正文

TNT Optimiser

作者:jayjoke12

BFS-based TNT explosion optimiser that eliminates redundant block scanning in chain reactions — server-side primarily, with blast radius, damage, and knockback unchanged.

收藏

介绍

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

Optimises TNT chain reactions using a Breadth-First Search (BFS) scanning algorithm to reduce server-side lag during large explosions.

NOTE: This mod is safe to use on competitive multiplayer servers. As it is designed for server sided performance and doesn’t affect client side particle or rendering systems. The mod can be installed on servers to improve server sided performance vastly.
Optimises TNT chain reactions using a Breadth-First Search (BFS) scanning algorithm to reduce server-side lag during large explosions.

How it works

Instead of vanilla’s repeated ray-cast scanning, TNT Optimiser uses BFS to visit each block in the blast radius exactly once. A shared per-tick tracker records which blocks have already been scanned, so overlapping explosions from chain reactions skip redundant work entirely instead of re-resolving shared blocks.

Features

  • BFS-based block scanning — each block visited exactly once per explosion
  • Cross-explosion deduplication — overlapping blast zones don’t rescan shared blocks
  • Zero overhead for isolated TNT — a single TNT with nothing nearby fires instantly with no extra work
  • Radius, damage, and knockback unchanged — vanilla explosion mechanics are preserved outside of the scanning step
  • Server-side only — no client install required, works automatically for all players

What this does (and doesn’t) fix

This mod reduces the strain on the machine running the server — not the time it takes for TNT to explode. In singleplayer, server-side performance improves the same way, which may reduce lag during large TNT chain reactions. Client-side rendering, such as particles, is unaffected.

Because scanning uses BFS instead of vanilla’s ray-cast pattern, individual explosion craters may differ slightly in shape from vanilla. Blast radius, damage, and knockback are computed separately and are not affected by this change.

常见问题

TNT Optimiser 支持哪些 Minecraft 版本?

TNT Optimiser 支持 Minecraft Java 版 26.1.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

TNT Optimiser 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

jayjoke12 的其他作品

查看全部 →