TNTUtils

Provides various config options to control explosions

58,35k

Quick challenge

How far can you run before the mobs catch you?

TNTUtils

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_explosions` and `#tntutils:allow_explosions` can be used to disallow or allow certain entity types to create explosions * in 1.20+, the entity tags (they are applied with the `/tag` command, not to be confused with entity type tags) `tntutils.deny_explosions` and `tntutils.allow_explosions` can 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_blacklist` and `#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_blacklist` and `#tntutils:trigger_whitelist` can 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_blacklist` and `#tntutils:explosion_whitelist` can 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_blacklist` and `#tntutils:explosion_whitelist` can 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.

ADS