介绍
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 - 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
- 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 - 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 - 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
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 支持哪些 Minecraft 版本?
TNTUtils 支持 Minecraft Java 版 1.12–26.2,共 13 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
TNTUtils 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分