Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
This mod does not modify game content by default. 本mod默不认会修改游戏内容。
Starting from version 0.3, to enable explosion protection features, you need to modify the corresponding settings in the configuration file (path: ./config/explosionbreaksnoblock/explosionbreaksnoblock.json), then either restart the game or use the in-game command "explosionbreaksnoblock reload" (requires permission) to apply changes.
For example:
- To prevent Creeper and bed explosions from destroying blocks, set the "value" field of the "ExplosionBreaksNoBlockList" config option to "minecraft:bed; minecraft:creeper".
- To prevent grenade explosions from the Tacz mod from destroying item entities, set the "value" field of the "ExplosionNoItemDamageList" config option to "tacz:bullet".
Q: Why switch to a config file system?
A: The config-based approach no longer relies on vanilla gamerules, offering better extensibility and partial protection against explosion damage from other mods.
从0.3版本开始,如果想要启用爆炸保护功能,需要修改配置文件(路径:游戏主目录/config/explosionbreaksnoblock/explosionbreaksnoblock.json)的对应内容,然后重启游戏或在游戏内使用指令"explosionbreaksnoblock reload"(需要权限)以应用更改。
例如:
- 防止苦力怕和床爆炸破坏方块,你需要将"ExplosionBreaksNoBlockList"配置项的"value"设置为"minecraft:bed; minecraft:creeper"。
- 防止Tacz中的榴弹爆炸破坏掉落物,你需要将"ExplosionNoItemDamageList"配置项的"value"设置为"tacz:bullet"。
Q:为什么要改为配置文件版?
A:配置文件版不再需要使用原版的游戏规则系统,扩展性更强,能够在一定程度上阻止其他mod的爆炸破坏。
旧版介绍 Legacy Version Info
Simply use the command "/gamerule EBNB:xxx true" to prevent the corresponding explosion from breaking blocks.
(v0.2) And use the command "/gamerule ENID:xxx true" to prevent the corresponding explosion from destroying item entities. Note: The respawn blocks refer to beds and respawn anchor! (ENID: explosion no item damage)
仅需使用指令/gamerule EBNB:xxx true 即可让对应的爆炸不破坏方块。
(v0.2) 使用指令/gamerule ENID:xxx true 可以让对应的爆炸不摧毁掉落物。注意:重生方块(respawn blocks)指床和重生锚!
If you want other related features, please let me know here!
如果你想要其他相关的特性,请在这里或者加QQ群973712806告诉我!