Brittle Bedrock
作者:codehead
Weaken bedrock with dense TNT explosions. Adds Dense TNT which weakens bedrock when placed against it.
介绍
中文介绍正在准备中,下面暂时显示原文。
Brittle Bedrock
Weaken bedrock with dense TNT explosions.
Content
- Craft _Dense TNT_ with 9 normal TNT.

- Place _Dense TNT_ on bedrock to weaken it.
Technical Concept
- The advancement is triggered when a TNT item is placed on a bedrock block, but only if the TNT item has the custom data component added by the crafting recipe.
- Then, the advancement triggers a raycast from the player’s head to determine the position of the newly placed TNT block.
- The TNT is replaced with primed TNT with a 0-tick fuse (instant explosion), and all neighboring bedrock blocks are replaced with obsidian.
- The raycast extends up to 5 blocks (normal placement range) in 0.1 block increments, for a maximum of 50 steps.
- There can be instances where the raycast does not find the TNT block. For example, this can happen when the cursor is at the very edge of the Bedrock block, and the 0.1-block steps are not fine-grained enough.
- When custom TNT is placed (not against bedrock), broken, and picked up again, it reverts to normal TNT, losing the custom data component.
常见问题
Brittle Bedrock 支持哪些 Minecraft 版本?
Brittle Bedrock 支持 Minecraft Java 版 1.21.5–26.2,共 11 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Brittle Bedrock 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
评论
登录后评论和评分