Secure Explosions
Secure Explosions 让你能够精细控制哪些爆炸可以破坏方块或伤害实体。与其使用全局的开关,你可以基于爆炸的来源定义规则——例如苦力怕、TNT 或火球。
功能
阻止特定爆炸破坏方块和/或伤害实体
清除爆炸影响的方块列表、实体列表或两者
适用于任何具有直接来源实体的爆炸(如苦力怕、TNT、恶魂火球等)
通过单独的选项处理没有直接来源的爆炸(例如命令产生的爆炸)
适用场景
阻止苦力怕破坏你的建筑——让它们对玩家造成伤害,但保持地形完整
保护刷怪塔——TNT 矿车不再杀死你珍贵的掉落物携带者
创建自定义游戏模式——只有特定的实体才能破坏方块
修复恶意破坏问题——在服务器上,防止特定类型的爆炸毁坏建筑
默认行为
默认设置确保爆炸不再破坏地形(从破坏列表中移除方块),但它们仍然会对生物/玩家造成伤害并致死——这是一种常见的“反破坏”用例。
工作原理(重要信息)
该模组不会禁用爆炸——它仅从爆炸的“待摧毁”列表中移除方块和实体。
你完全通过配置文件(.toml)进行控制。规则基于正则表达式。
Secure Explosions
Secure Explosions gives you fine‑grained control over which explosions can destroy blocks or damage entities. Instead of a global on/off switch, you define rules based on what caused the explosion – for example, a creeper, TNT, or a fireball.
What it does
Prevents specific explosions from destroying blocks and/or hurting entities
Clears the explosion’s affected block list, entity list, or both
Works with any explosion source that has a direct source entity (Creeper, TNT, Ghast fireball, etc.)
Also handles explosions without a direct source (e.g., commands) with a separate option
Why you might want it
Stop creepers from wrecking your builds – let them deal damage to players but keep terrain intact
Protect mob farms – TNT minecarts no longer kill your precious loot carriers
Create custom game modes – only certain entities can destroy blocks
Fix griefing issues – on servers, prevent specific explosion types from ruining structures
Default behavior
Default ensures that explosions no longer destroy terrain (blocks are removed from the destruction list), but they still damage and kill mobs/players – a common "grief protection" use case.
How it works (critical info)
The mod doesn't disable explosions – it only removes blocks and entities from the explosion’s “to‑destroy” list.
You control everything through configuration files (.toml). Rules are based on regular expressions.
评论 0
登录后参与评分
还没有评论,来抢沙发吧