炸毁支撑结构,建筑随之坍塌。
你见过这种景象:你把一座塔的底部炸掉,其余部分却悬在半空中。这个模组修复了这个问题。
每次爆炸后,它会检查剩余的部分,判断哪些方块仍然有支撑,并让其他所有方块以掉落物的形式落下。拆掉塔基,整座塔就会倒塌;炸毁桥墩,中间部分就会塌陷;击中树干,整棵树连同树叶都会倒下。
爆炸本身保持不变——你会得到原版一样的弹坑。模组所做的处理都在爆炸之后发生。
适用端: 客户端 & 服务端 • 兼容: Fabric, Forge, NeoForge

2 版本重写了坍塌逻辑。第一个版本在炸东西时非常有趣,但可能会对你真正珍视的世界造成破坏。这一版保留了破坏效果,同时消除了令人不快的意外情况。
- 你的物品安然无恙。 箱子、 barrels(桶)、潜影盒、熔炉、漏斗和其他容器中的物品永远不会丢失,无论它们周围的建筑发生什么变化。
- TNT 挖矿再次安全。 地底深处的爆炸只会检查真正可以掉落的方块,因此不会导致卡顿,洞穴顶板也不会砸在你头上。最多只有弹坑正上方的少数方块会崩落。浮空岛底部也是如此。
- 基岩稳如泰山。 任何悬挂在基岩或其他不可破坏方块上的物体都会保持原位。
- 无害的爆炸依然无害。 风电荷以及关闭了
mobGriefing的苦力怕,不会移动任何方块。 - 有限制。 每次爆炸最多允许 2500 个方块坠落(你可以修改此数值)。超过限制的部分只会直接崩解消失,而不是让成千上万的物品堆积在地面上。
- 巨大的悬浮建筑会被特意保留。 仅由一根支柱支撑的巨大天空基地不会一次性掉落数千个方块。
- 更新无痛。 如果你的配置文件中仍保留着 1.x 版本的旧 STAY 默认值,它会自动切换为新版的 FALL 默认值一次。如果在此之后你自己设置了 STAY,模组会保持该设置。
- 全平台一致。 Fabric、Forge 和 NeoForge 版本拥有相同的选项和默认设置。

当 TNT 爆炸时,模组会检查弹坑周围的方块以及上方建筑的方块,并提出一个问题:这个方块是否还有支撑?那些没有支撑的方块开始下落。
它们不仅仅是垂直掉落。方块会远离爆心倾斜,并在下落过程中散开;起始高度越高,飞得越远。一座塔最终会变成地面上的一堆瓦砾,而不是在原塔旁边形成新的柱状物。
以下是一些预期效果的示例:
| 如果你炸毁… | …会发生以下情况 |
|---|---|
| 高塔的底部 | 整座塔(包括顶部)都会倒塌 |
| 完好房屋旁边的位置 | 产生一个弹坑和少量松散方块——房屋保持直立 |
| 桥梁中间的支柱 | 出现缺口,两端仍保持在桥台上 |
| 悬挑结构下方的唯一支柱 | 整个悬挑结构完全落下 |
| 长而厚的墙壁底部 | 缺口上方的所有内容都会落下,边缘整齐——不会留下漂浮的桥梁或细长的柱子 |
| 树干 | 树木连同树叶一起倒下;旁边的树保持不动 |
| 地下 15 格深的房间 | 形成一个小洞穴,地表上的房屋不受影响 |
| 地基下的多枚 TNT | 房屋倒塌,没有任何部分悬浮 |

只有当一个方块直接或间接地依靠在坚实的地面或基岩等不可破坏的方块上时,它才能保持直立。而且并非所有方块都能承受相同的重量:
| 支撑类型 | 大约能承载 |
|---|---|
| 完整方块(石头、木板、泥土…) | 35 个方块 |
| 墙 | 15 个方块 |
| 台阶、楼梯及其他非完整方块 | 10 个方块 |
| 栅栏 | 6 个方块 |
| 铁栏杆 | 5 个方块 |
| 玻璃 | 3 个方块 |
因此,如果一个大地板只靠一根栅栏柱支撑,失去其他下方支撑后它将无法幸存。
有些方块根本无法提供任何支撑:
- 火把、花朵、草、地毯、告示牌 —— 任何你可以穿过的方块。架在火把上的梁就像架在虚空中一样会掉落。
- 树叶。 偶然接触到树的房屋并不会由它支撑。
- 容器。 地板下的箱子无法维持房屋的站立。

容器从不承载建筑,也永远不会丢失其中的物品。对于失去支撑的容器该如何处理,取决于 containerCollapseMode 的设置:
| 模式 | 效果 |
|---|---|
| FALL (默认) | 随建筑一同坠落,容器内的物品保留其中 |
| STAY | 保持在原位,内容物不受影响 |
| BREAK | 破碎并掉落物品(潜影盒会像原版一样将物品保留在其中) |
直接被爆炸命中的容器表现与原版完全一致。

- 床、门、高花和延伸的活塞不会以半块方块的形式落地。它们会整体破碎,并精确掉落一个物品。
- 坠落的方块如果落在台阶、楼梯、栅栏、墙、火把、灯笼、营火、花朵、地毯、雪层、玻璃或树叶上,会将其压碎并占据其位置。不会导致物品重复生成。
- 靠近爆炸点的玻璃会碎裂。

- Forge / NeoForge:
config/tntlogic-common.toml - Fabric:
config/tntlogic.json
| 选项 | 默认值 | 作用 |
|---|---|---|
maxFallingBlocksPerExplosion |
2500 | 每次爆炸允许下落的方块数量(10-10000) |
enableLargeStructuresCollapse |
true | 下落方块会向两侧扩散;关闭后则垂直下落 |
physicsScatteringForce |
0.2 | 方块被抛向两侧的力度范围(0.0-2.0) |
instabilityRadius |
5 | 检查支撑结构时距离弹坑的范围(1-15) |
maxCollapseRadius |
32 | 高层建筑倒塌的影响范围(1-64) |
scanHeightAboveExplosion |
16 | 检查弹坑上方多少高度的方块(4-64) |
looseBlockChance |
0.35 | 悬挂在弹坑正上方的方块坠落的概率。设为 0 则关闭此功能 |
dropExcessBlocksAsItems |
false | 超出限制的方块将作为物品掉落而非粉碎。容器始终会掉落其内部物品 |
containerCollapseMode |
FALL | FALL、STAY 或 BREAK - 详见“容器”部分 |

安装本模组后,TNT 不再仅仅是一种采矿工具——一次错误的爆炸可能导致整栋建筑坍塌。请谨慎使用,并在尝试大规模操作前备份你的世界。
如果你希望体验更加真实,请将 TNT 视为稀有且珍贵的资源。鉴于它现在的能力,甚至可能值得拥有更复杂的合成配方。明智地使用它,否则看着你的世界分崩离析吧。

发现 Bug 或有新点子?Discord 是联系我最快的方式。也欢迎查看并订阅我的 YouTube 频道!
Blow out the support and the building comes down.
You know the sight: you blow up the bottom of a tower and the rest of it just hangs there in the air. This mod fixes that.
After every explosion it looks at what is left, works out what is still standing on something, and lets everything else come down as falling blocks. Take out the base of a tower and the whole thing topples. Blow up a bridge pillar and the middle drops out. Hit a tree at the trunk and it goes down, leaves and all.
The explosion itself stays the same - you get exactly the vanilla crater. Everything the mod does happens after it.
Side: Client & Server • Works with: Fabric, Forge, NeoForge

Version 2 is a rewrite of the collapse logic. The first version was great fun to blow things up with, but it could be rough on a world you actually care about. This one keeps the destruction and takes away the nasty surprises.
- Your items stay yours. Chests, barrels, shulker boxes, furnaces, hoppers and other containers never lose what's inside them, whatever happens to the building around them.
- TNT mining is safe again. A blast deep underground only checks what can really fall, so it doesn't lag, and a cave ceiling won't come down on your head. At most a few blocks crumble right above the crater. The same goes for the underside of floating islands.
- Bedrock holds. Anything hanging from bedrock or another unbreakable block stays where it is.
- Harmless explosions stay harmless. Wind charges, and creepers with
mobGriefingturned off, don't move a single block. - There's a limit. At most 2500 blocks fall per explosion (you can change that). Anything over the limit just crumbles away instead of flooding the ground with thousands of items.
- Huge floating builds are left alone on purpose. A giant sky base on a single pillar won't drop thousands of blocks at once.
- Updating is painless. If your config still has the old STAY default from 1.x, it switches to the new FALL default once. If you set STAY yourself after that, the mod keeps it.
- It works the same everywhere - Fabric, Forge and NeoForge, with the same options and defaults.

When TNT goes off, the mod checks the blocks around the crater, together with the building standing above it, and asks one question: does this block still rest on something? The ones that don't start to fall.
They don't just drop straight down, either. Blocks tip away from the blast and spread out as they fall, and the higher they start, the further they go. A tower ends up as a pile of rubble on the ground instead of a new column right next to the old one.
A few examples of what to expect:
| If you blow up… | …this happens |
|---|---|
| The base of a tall tower | The whole tower falls, top included |
| A spot next to an intact house | A crater and a few loose blocks - the house stays up |
| The middle pillar of a bridge | A gap opens, and both ends stay on their abutments |
| The only pillar under an overhang | The overhang comes down completely |
| The bottom of a long, thick wall | Everything above the gap falls, with clean edges - no floating bridges, no thin pillars left behind |
| A tree trunk | The tree falls, leaves and all; the tree next to it stays |
| A room 15 blocks underground | You get a small cave, and the house on the surface doesn't notice |
| Several TNT at once under foundations | The house comes down and nothing is left floating |

A block stays up only if it rests, directly or through other blocks, on solid ground or on something unbreakable like bedrock. And not every block can carry the same weight:
| Support | Carries roughly |
|---|---|
| Full block (stone, planks, dirt…) | 35 blocks |
| Wall | 15 blocks |
| Slab, stairs and other non-full blocks | 10 blocks |
| Fence | 6 blocks |
| Iron bars | 5 blocks |
| Glass | 3 blocks |
So a big floor sitting on one fence post won't survive losing everything else under it.
Some blocks never hold anything up at all:
- Torches, flowers, grass, carpets, signs - anything you can walk through. A beam resting on a torch falls just like one resting on thin air.
- Leaves. A house that happens to touch a tree isn't held up by it.
- Containers. A chest under the floor won't keep the house standing.

Containers never carry a building, and they never lose their contents. What happens to one that has lost its support is up to you, with containerCollapseMode:
| Mode | What happens |
|---|---|
| FALL (default) | It falls with the building, items still inside |
| STAY | It stays where it was, contents untouched |
| BREAK | It breaks and drops its items (a shulker box keeps them inside, like in vanilla) |
A container hit directly by the explosion behaves exactly like in vanilla.

- Beds, doors, tall flowers and extended pistons don't land as half a block. They break whole and drop exactly one item.
- A falling block that lands on a slab, stairs, fence, wall, torch, lantern, campfire, flower, carpet, snow layer, glass or leaves crushes it and takes its place. Nothing gets duplicated.
- Glass close to the blast shatters.

- Forge / NeoForge:
config/tntlogic-common.toml - Fabric:
config/tntlogic.json
| Option | Default | What it does |
|---|---|---|
maxFallingBlocksPerExplosion |
2500 | How many blocks can fall per explosion (10-10000) |
enableLargeStructuresCollapse |
true | Falling blocks spread to the sides; turn off and they fall straight down |
physicsScatteringForce |
0.2 | How far blocks are thrown to the sides (0.0-2.0) |
instabilityRadius |
5 | How far from the crater the support is checked (1-15) |
maxCollapseRadius |
32 | How far the collapse can reach for tall buildings (1-64) |
scanHeightAboveExplosion |
16 | How many blocks above the crater are checked (4-64) |
looseBlockChance |
0.35 | Chance that a block left hanging right over crater falls. 0 turns it off |
dropExcessBlocksAsItems |
false | Blocks over limit drop as items instead of crumbling. Containers always drop contents |
containerCollapseMode |
FALL | FALL, STAY or BREAK - see Containers section |

With this mod, TNT stops being just a mining tool - one blast in the wrong place can bring a whole building down. Be careful with it, and back up your world before you try anything big.
If you want it to feel even more real, treat TNT as something rare and valuable. With what it can do now, it might even deserve a harder crafting recipe. Use it wisely, or watch your world crumble.

Found a bug or have an idea? Discord is the fastest way to reach me. Feel free to also check out and subscribe to my YouTube channel!
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
下载 TNT Logic - 真实爆炸物理效果
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
原版世界生成优化模组
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
内存使用优化
模组
一堆修复
评论 0
登录后参与评分
还没有评论,来抢沙发吧