Blast resistance control

A NeoForge mod that lets server owners set the blast resistance of any block -- vanilla or from other mods -- with a plain, easy-to-edit text file.

Blast Resistance Control

image

A NeoForge mod that lets server owners set the blast (explosion) resistance of any block — vanilla or from other mods — with a plain, easy-to-edit text file.

Minecraft 1.21.1
Loader NeoForge 21.1.248 or newer
Java 21

Features

  • Works with every registered block, including blocks added by other mods.
  • One block per line: simple to read, edit and share.
  • Blocks that are not listed are never touched.
  • Original values are restored when an entry is removed or the server stops.
  • Reload without a restart: /blastresistance reload.
  • Mistakes in the file are skipped and reported in the log with the line number; the rest of the file still applies.

Configuration

On the first start the mod creates config/blast_resistance_control.cfg:

# One block per line:  namespace:block = blast_resistance
minecraft:dirt = 100.0
minecraft:sand = 100.0
  • Format: namespace:block = value. Lines starting with # and empty lines are ignored; # also starts a comment at the end of a line.
  • value is Minecraft's normal blast resistance (for reference: dirt 0.5, stone 6, obsidian 1200). Allowed range: 0 and above.
  • If a block is listed twice, the last line wins.
  • The two blocks above are only examples that the first-start file contains. Edit or delete them freely.

The mod never rewrites this file after creating it, so your layout and comments are preserved.

Changes are applied when the server starts, or immediately with /blastresistance reload.

Commands

Command Permission Description
/blastresistance reload Operator (level 2) Re-reads the config file and applies it.

Compatibility

The mod changes the registered block's explosion-resistance value. A block from another mod that overrides NeoForge's position-aware explosion-resistance method itself may ignore that value.

Blast resistance control Team

profile avatar
Owner
  • 3
    Projects
  • 144
    Downloads

More from KLmar