一个小型模组,提供了一些配置选项和标签,用于控制爆炸的行为。
TNTUtils 可以单独安装在服务器上,无需客户端也安装该模组。
请注意,除非其他模组的爆炸使用了 Level.explode 的重载方法,否则 TNTUtils 不保证能影响来自其他模组的爆炸效果。
当前功能:
- 更改爆炸大小或完全禁用爆炸
- 在 1.20+ 版本中,可以使用实体类型标签
#tntutils:deny_explosions和#tntutils:allow_explosions来禁止或允许特定实体类型生成爆炸 - 在 1.20+ 版本中,可以使用实体标签(通过
/tag命令应用,请勿与实体类型标签混淆)tntutils.deny_explosions和tntutils.allow_explosions来禁止或允许单个实体生成爆炸
- 在 1.20+ 版本中,可以使用实体类型标签
- 禁用 TNT 爆炸
- 防止 TNT 发生连锁反应
- 一个 "/explode" 命令 (在 1.12.2 及更早版本中称为 "/explosion")
- 更改单个方块的防爆等级
- 修改被摧毁的方块掉落物品的概率
- 在 1.20+ 版本中,请参阅游戏规则 "mobExplosionDropDecay"、"tntExplosionDropDecay" 和 "blockExplosionDropDecay"
- 防止爆炸破坏方块
- 在 1.20+ 版本中,可以使用方块标签
#tntutils:explosion_blacklist和#tntutils:explosion_whitelist分别对单个方块进行黑名单或白名单设置。白名单优先级高于黑名单以及任何配置选项。 - 在 1.12.2 及更早版本中,可以在配置文件中指定单个方块
- 在 1.20+ 版本中,可以使用方块标签
- 防止苦力怕破坏方块(“环保型苦力怕”)
- 防止爆炸触发方块(例如风弹爆炸翻转拉杆)
- 可以使用方块标签
#tntutils:trigger_blacklist和#tntutils:trigger_whitelist对单个方块进行黑名单或白名单设置
- 可以使用方块标签
- 防止爆炸伤害所有或特定实体
- 在 1.20+ 版本中,可以使用实体类型标签
#tntutils:explosion_blacklist和#tntutils:explosion_whitelist分别对单个实体类型进行黑名单或白名单设置
- 在 1.20+ 版本中,可以使用实体类型标签
- 防止爆炸伤害地面上的物品
- 在 1.20+ 版本中,可以使用物品标签
#tntutils:explosion_blacklist和#tntutils:explosion_whitelist分别对单个物品进行黑名单或白名单设置
- 在 1.20+ 版本中,可以使用物品标签
以上所有功能均可在配置文件中切换开启或关闭。
许可与致谢
您可以自由地将此模组添加到整合包中。
TNTUtils 采用 MIT 许可证授权。Fabric 版本还包含了 Fiber 用于配置系统,其采用 Apache-2.0 许可证授权。
A small mod that provides some config options and tags to control how explosions behave.
TNTUtils can be installed on a server without the clients requiring it.
Note that explosions from other mods are not guaranteed be affected by TNTUtils, unless they use one of the Level.explode overloads.
Current features:
- Change the size of explosions or disable them entirely
- in 1.20+, the entity type tags
#tntutils:deny_explosionsand#tntutils:allow_explosionscan be used to disallow or allow certain entity types to create explosions - in 1.20+, the entity tags (they are applied with the
/tagcommand, not to be confused with entity type tags)tntutils.deny_explosionsandtntutils.allow_explosionscan be used to disallow or allow individual entities to create explosions
- in 1.20+, the entity type tags
- Disable TNT explosions
- Prevent TNT from chain-reacting
- A "/explode" command (called "/explosion" in 1.12.2 and earlier)
- Change blast resistances of individual blocks
- Modify the chance that a destroyed block will drop as an item
- in 1.20+, see also the game rules "mobExplosionDropDecay", "tntExplosionDropDecay" and "blockExplosionDropDecay"
- Prevent explosions from destroying blocks
- in 1.20+, individual blocks can be blacklisted or whitelisted with the block tags
#tntutils:explosion_blacklistand#tntutils:explosion_whitelist, respectively. The whitelist takes precedence over the blacklist and over any config option. - in 1.12.2 and earlier, individual blocks can be specified in the config file
- in 1.20+, individual blocks can be blacklisted or whitelisted with the block tags
- Prevent Creepers from destroying blocks ("environmentally friendly creepers")
- Prevent explosions from triggering blocks (e.g. Wind Charge explosion flipping levers)
- the block tags
#tntutils:trigger_blacklistand#tntutils:trigger_whitelistcan be used to blacklist or whitelist individual blocks
- the block tags
- Prevent explosions from damaging all or certain entities
- in 1.20+, the entity type tags
#tntutils:explosion_blacklistand#tntutils:explosion_whitelistcan be used to blacklist or whitelist individual entity types
- in 1.20+, the entity type tags
- Prevent explosions from damaging items laying on the ground
- in 1.20+, the item tags
#tntutils:explosion_blacklistand#tntutils:explosion_whitelistcan be used to blacklist or whitelist individual items
- in 1.20+, the item tags
All of these features can be toggled in the config file.
Licensing and Credits
You are free to add the mod to a modpack.
TNTUtils is licensed under the MIT license. The Fabric version also includes Fiber for the configuration system, which is licensed under the Apache-2.0 License.
下载 TNTUtils
下载 TNTUtils
下载 TNTUtils
下载 TNTUtils
下载 TNTUtils
下载 TNTUtils
下载 TNTUtils
下载 TNTUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TNTUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TNTUtils
- [仅限 Fabric] 修复了在安装了 Jankson(无论是直接安装还是作为其他模组的依赖项)时,配置文件中的小数会被截断为整数的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧