COWMODSКаталог модов

TNTUtils

Provides various config options to control explosions

Автор: ljfa-ag88,5 тыс.10обновлён 2 авг. 2026 г.
Механики игрыУтилиты

Описание

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.

Последние версии

Все версии →
release

1.21.11-2.0.5

1.21.11-2.0.5
2 авг. 2026 г.883Minecraft: 1.21.11fabric
Скачать
Что нового
- \[Fabric only\] Fixed an issue where decimal numbers in the config file are truncated to integers when Jankson is installed (either directly or included in another mod)
release

26.2-2.0.5

26.2-2.0.5
2 авг. 2026 г.763Minecraft: 26.2fabric
Скачать
Что нового
- \[Fabric only\] Fixed an issue where decimal numbers in the config file are truncated to integers when Jankson is installed (either directly or included in another mod)
release

1.20.1-2.0.5

1.20.1-2.0.5
2 авг. 2026 г.205Minecraft: 1.20.1fabric
Скачать
Что нового
- \[Fabric only\] Fixed an issue where decimal numbers in the config file are truncated to integers when Jankson is installed (either directly or included in another mod)
release

1.21.1-2.0.5

1.21.1-2.0.5
2 авг. 2026 г.272Minecraft: 1.21.1fabric
Скачать
Что нового
- \[Fabric only\] Fixed an issue where decimal numbers in the config file are truncated to integers when Jankson is installed (either directly or included in another mod)
release

26.1.2-2.0.5

26.1.2-2.0.5
2 авг. 2026 г.195Minecraft: 26.1.2fabric
Скачать
Что нового
- \[Fabric only\] Fixed an issue where decimal numbers in the config file are truncated to integers when Jankson is installed (either directly or included in another mod) - Now requires Minecraft 26.1.2
beta

26.2-2.0.4

26.2-2.0.4
13 июл. 2026 г.145Minecraft: 26.2fabric
Скачать
Что нового
Updated to Minecraft 26.2.
release

26.2-2.0.4

26.2-2.0.4
13 июл. 2026 г.102Minecraft: 26.2neoforge
Скачать
Что нового
Updated to Minecraft 26.2.
release

26.1-2.0.4

26.1-2.0.4
21 февр. 2026 г.178Minecraft: 26.1, 26.1.1, 26.1.2neoforge
Скачать
Что нового
First update for Minecraft 26.1 (snapshots and release). The mod loaders are still unstable, so use at your own risk. Please report any issues that you come across to our [issue tracker](https://github.com/ljfa-ag/TNTUtils/issues).
release

26.1-2.0.4

26.1-2.0.4
21 февр. 2026 г.664Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
First update for Minecraft 26.1 (snapshots and release). The mod loaders are still unstable, so use at your own risk. Please report any issues that you come across to our [issue tracker](https://github.com/ljfa-ag/TNTUtils/issues).
release

1.20.1-2.0.4

1.20.1-2.0.4
16 янв. 2026 г.7,4 тыс.Minecraft: 1.20.1fabric
Скачать
Что нового
- Added the entity type tags `#tntutils:deny_explosions` and `#tntutils:allow_explosions`, which can be used to disallow or allow entity types to create explosions, respectively. - *For example, tagging minecraft:ghast with deny_explosions (in a datapack) allows you to block explosions from Ghast fireballs.* - Individual entities (as opposed to entity types) can also be tagged with `tntutils.deny_explosions` and `tntutils.allow_explosions` to (dis)allow them to create explosions. - *The entity tags are not to be confused with entity type tags. They can be applied to an entity with the `/tag` command. Notice the dot instead of a colon, since the argument to `/tag add` cannot contain colons.* - *For example, to make a Creeper that explodes even when explosions are disabled in the config, you can use the command `/tag @n[type=creeper] add tntutils.allow_explosions`.* - *Note: While it is possible to tag a player with tntutils.deny_explosions, this will not completely prevent them from causing explosions, as, for example, they can still ignite TNT with a redstone signal.* - Added the config option `entityDamageMultiplier`, which can be used to change the amount of damage applied to entities. - *Note: Since the implementation of knockbackMultiplier would need to be much more complicated in 1.20.1 than in later versions, I decided not to backport it.* - The `/explode` command will now bypass the `disableExplosions` config option. - Added suggestion for the default explosion strength (4) to the '/explode' command.