Blastproof
轻松防止爆炸损坏方块或在你的 Fabric 服务器或单人世界中引发火灾。
Blastproof 确保来自 TNT、苦力怕、末影水晶和其他来源的爆炸不会破坏你的辛勤成果。无论你是正在建造城市,还是仅仅在保护你的作品,Blastproof 都能帮助你维护世界的完整性。
? 我为什么创建 Blastproof
我开发 Blastproof 是因为我想运行一个模组化的 Fabric 服务器,但找不到一个更新版本的模组来禁用那些未被原版游戏规则(如床、重生锚等)覆盖的方块的爆炸伤害,这些伤害可能会破坏主世界中的建筑。我还希望启用 TNT(通常通过将
tntExplodes游戏规则设置为false来禁用),但不想破坏任何东西!Blastproof 填补了这一空白,提供了对爆炸伤害和火焰生成的简易控制。这个模组非常适合那些想要保留mobGriefing false所禁用的所有功能(例如末影人拾取方块),但仍希望防止爆炸破坏建筑的玩家。
? 功能特性
-
与游戏规则的兼容性: 诸如
mobGriefing之类的游戏规则不会与 Blastproof 冲突,而是作为额外的保护层。 -
实体伤害保留: 实体仍然会受到爆炸伤害;只有方块受到保护以防止恶意破坏。
-
方块伤害控制: 禁用来自 TNT、苦力怕、末影水晶、凋灵骷髅、火球、凋灵以及自定义“其他”来源的方块伤害。
-
防火功能: 阻止爆炸引发野火。
-
自动生成配置: 首次运行时会在
config/blastproof.json创建一个用户友好的配置文件,其中包含 已防护 的默认设置。 -
游戏内命令: 使用
/blastproof轻松执行以下操作:-
检查设置:
/blastproof disableBlockDamage tnt -
切换选项:
/blastproof disableBlockDamage tnt false
-
-
通用兼容性: 在专用服务器和集成单人世界中均能无缝运行。
-
轻量级: 体积小于 20 KB,无需额外依赖(除 Fabric API 外)。
? 免责声明
这是我的第一个 Minecraft 模组、Java 项目和 GitHub 仓库。因此,仓库和文件的某些方面可能并不完美,我欢迎任何建议和改进!
⚙️ 配置
首次启动后,编辑 config/blastproof.json 以调整设置。
注意:other 标志将覆盖 respawn_anchor 和 bed 标志!
{
"disableBlockDamage": {
"tnt": true,
"creeper": true,
"end_crystal": true,
"fireball": true,
"wither": true,
"wither_skull": true,
"respawn_anchor": true,
"bed": true,
"other": true
},
"disableFireCreation": {
"respawn_anchor": true,
"bed": true,
"other": true
}
}
Blastproof
Easily prevent explosions from damaging blocks or starting fires in your Fabric server or single-player world.
Blastproof ensures explosions from TNT, creepers, end crystals, and other sources won't damage your hard work. Whether you're building cities or simply protecting your creations, Blastproof helps maintain the integrity of your world.
? Why I Created Blastproof
I developed Blastproof because I wanted to run a modded Fabric server but couldn't find an up-to-date mod to disable block damage from blocks not covered through vanilla gamerules (beds, respawn anchors, etc.), which can potentially ruin builds in the overworld. I also wanted to have TNT enabled (normally disabled with the
tntExplodesgamerule set tofalse), but didn't want to break anything! Blastproof addresses this gap, providing easy control over explosion damage and fire creation. This mod is ideal for players who want to preserve all features thatmobGriefing falsedisables (such as endermen picking up blocks), but still prevent explosions from damaging builds.
? Features
-
Compatibility with Gamerules: Gamerules such as
mobGriefingwon't conflict with Blastproof but rather serve as an additional layer of protection. -
Entity Damage Preservation: Entities still receive damage from explosions; only blocks are protected to prevent griefing.
-
Block Damage Control: Disable block damage from TNT, Creepers, End Crystals, Wither Skulls, Fireballs, Withers, and custom "other" sources.
-
Fire Prevention: Stop explosions from causing wildfires.
-
Auto-Generated Configuration: A user-friendly config file is created on the first run at
config/blastproof.jsonwith blastproofed default settings. -
In-Game Commands: Use
/blastproofto easily:-
Check settings:
/blastproof disableBlockDamage tnt -
Toggle options:
/blastproof disableBlockDamage tnt false
-
-
Universal Compatibility: Works seamlessly on both dedicated servers and integrated single-player worlds.
-
Lightweight: Less than 20 KB with no additional dependencies (besides Fabric API).
? Disclaimer
This is my first Minecraft mod, Java project, and GitHub repository. As such, certain aspects of the repository and files might not be perfect, and I'm open to suggestions and improvements!
⚙️ Configuration
After your first launch, edit config/blastproof.json to adjust settings.
Note: The other flag will override the respawn_anchor and bed flags!
{
"disableBlockDamage": {
"tnt": true,
"creeper": true,
"end_crystal": true,
"fireball": true,
"wither": true,
"wither_skull": true,
"respawn_anchor": true,
"bed": true,
"other": true
},
"disableFireCreation": {
"respawn_anchor": true,
"bed": true,
"other": true
}
}
下载 Blastproof
下载 Blastproof
下载 Blastproof
下载 Blastproof
下载 Blastproof
下载 Blastproof
下载 Blastproof
下载 Blastproof
下载 Blastproof
下载 Blastproof
- 支持 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧