This mod does not modify game content by default. 本mod默不认会修改游戏内容。
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.
Supports entering entity/block IDs and tags (prefix with #), separated by semicolons.
For example:
- To prevent Creeper and bed explosions from destroying blocks, set the "value" field of the "ExplosionBreaksNoBlockList" config option to "#minecraft:beds; 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".
- To allow white bed to destroy blocks normally under the above modifications, set the "value" field of the "ExplosionBreaksNoBlockWhiteList" config option to "minecraft:white_bed".
Q: Why can't some entity/block explosion destruction from other mods be prevented?
A: This mod prevents explosion damage by modifying vanilla explosion classes. If other mods use non-vanilla explosion effects or add additional destruction mechanics, they cannot be prevented. To request compatibility with specific mods, please submit an issue - the developer may consider adding support.
如果想要启用爆炸保护功能,需要修改配置文件(路径:游戏主目录/config/explosionbreaksnoblock/explosionbreaksnoblock.json)的对应内容,然后重启游戏或在游戏内使用指令"explosionbreaksnoblock reload"(需要权限)以应用更改。
支持填写生物和方块的id,以及生物和方块的标签(以#开头),用英文分号分隔。
例如:
- 防止苦力怕和床爆炸破坏方块,你需要将"ExplosionBreaksNoBlockList"配置项的"value"设置为"#minecraft:beds; minecraft:creeper"。
- 防止Tacz中的榴弹爆炸破坏掉落物,你需要将"ExplosionNoItemDamageList"配置项的"value"设置为"tacz:bullet"。
- 在以上修改的前提下,让白色床爆炸可以照常破坏方块,你需要将"ExplosionBreaksNoBlockWhiteList"配置项的"value"设置为"minecraft:white_bed"。
Q:为什么有些mod的生物或方块的爆炸破坏行为无法防止?
A:本mod通过修改原版的爆炸类来防止爆炸破坏。如果有些mod使用了非原版的爆炸效果或者添加了额外的爆炸破坏效果,那么本mod就无法阻止。如果你想要这个mod兼容其他mod的爆炸效果,欢迎提issue,作者可能会考虑兼容的。
If you want other related features, please let me know here!
如果你想要其他相关的特性,请在这里或者加QQ群973712806告诉我!