Перейти к содержимому
Mineforgian

TNTUtils

Provides various config options to control explosions

66K загрузок8 подписчиковMITfabricforgeneoforge

Обновлён 21 февраля 2026 г. · опубликован 22 марта 2025 г.

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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
26.1-2.0.4Релиз26.1, 26.1.1, 26.1.2neoforge21 февраля 2026 г..jar (29 КБ)
26.1-2.0.4Релиз26.1, 26.1.1, 26.1.2fabric21 февраля 2026 г..jar (233 КБ)
1.20.1-2.0.4Релиз1.20.1fabric16 января 2026 г..jar (231 КБ)
1.20.1-2.0.4Релиз1.20.1forge16 января 2026 г..jar (29 КБ)
1.21.1-2.0.4Релиз1.21.1fabric13 января 2026 г..jar (232 КБ)
1.21.1-2.0.4Релиз1.21.1neoforge13 января 2026 г..jar (29 КБ)
1.21.11-2.0.4Бета1.21.11fabric4 января 2026 г..jar (233 КБ)
1.21.11-2.0.4Бета1.21.11neoforge4 января 2026 г..jar (29 КБ)
1.21.11-2.0.3Бета1.21.11fabric24 декабря 2025 г..jar (231 КБ)
1.21.11-2.0.3Бета1.21.11neoforge24 декабря 2025 г..jar (27 КБ)
1.21.9-2.0.3Бета1.21.9, 1.21.10fabric1 октября 2025 г..jar (231 КБ)
1.21.9-2.0.3Бета1.21.9, 1.21.10neoforge1 октября 2025 г..jar (27 КБ)
1.21.7-2.0.3Бета1.21.7, 1.21.8fabric14 июля 2025 г..jar (231 КБ)
1.21.7-2.0.3Бета1.21.7, 1.21.8neoforge14 июля 2025 г..jar (27 КБ)
1.12.2-1.2.4Релиз1.12.2forge11 июля 2025 г..jar (26 КБ)

Показаны последние 15 из 28 версий. Все версии — на Modrinth.

Ченджлог

26.1-2.0.4Релиз26.1, 26.1.1, 26.1.2 · 21 февраля 2026 г.

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.

26.1-2.0.4Релиз26.1, 26.1.1, 26.1.2 · 21 февраля 2026 г.

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.

1.20.1-2.0.4Релиз1.20.1 · 16 января 2026 г.
  • 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.
1.20.1-2.0.4Релиз1.20.1 · 16 января 2026 г.
  • 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.
1.21.1-2.0.4Релиз1.21.1 · 13 января 2026 г.
  • 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 options entityDamageMultiplier and knockbackMultiplier, which can be used to change the amount of damage and knockback applied to entities, respectively.
  • The /explode command will now bypass the disableExplosions config option.
  • Added suggestion for the default explosion strength (4) to the '/explode' command.
1.21.1-2.0.4Релиз1.21.1 · 13 января 2026 г.
  • 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 options entityDamageMultiplier and knockbackMultiplier, which can be used to change the amount of damage and knockback applied to entities, respectively.
  • The /explode command will now bypass the disableExplosions config option.
  • Added suggestion for the default explosion strength (4) to the '/explode' command.
1.21.11-2.0.4Бета1.21.11 · 4 января 2026 г.
  • 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 options entityDamageMultiplier and knockbackMultiplier, which can be used to change the amount of damage and knockback applied to entities, respectively.
  • The /explode command will now bypass the disableExplosions config option.
1.21.11-2.0.4Бета1.21.11 · 4 января 2026 г.
  • 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 options entityDamageMultiplier and knockbackMultiplier, which can be used to change the amount of damage and knockback applied to entities, respectively.
  • The /explode command will now bypass the disableExplosions config option.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…