Skip to content

Explosion tool

SolidBlock edited this page Sep 7, 2026 · 2 revisions

Explosion tool can be obtained only in Creative Mode. There are multiple properties predefined in the creative inventory.

When holding this item, clicking "use" button (by default the right mouse button) to any block within 64 meters will cause an explosion. The properties like power and type of the explosion depend on the item property. Explosion irritates nearby entities, causing villagers to raise price or wolves to be hostile to you, but if you explode while sneaking, they will not be irritated. Besides, even in Survival Mode, the explosion will not hurt players causing it; in other words, players are immune to explosions caused by themselves.

This item has the following properties (controlled by item component mishanguc:explosion_tool_data:

  • Power, or range of the explosion, 4 by default. Hold Shift or Alt and scroll mouse wheel to adjust explosion power, which is ranging from -128 to 128 in Creative Mode, or from 0 to 64 in other modes. Zero-power explosions have no effect. Negative-power explosions will not destroy blocks, but can spread entities out and even irritate them, but will not actually hurt them or heal them.
  • Whether to create fire, false by default. If true, the explosion will be similar to explosion of beds or respawn anchors. If the explosion creates fire, the fire can be created even if the explosion type is "none".
  • Explosion type, which can be "keep", "destroy", "destroy with decay" or "trigger block", and the default is "destroy".
    • "Destroy" is similar to TNT explosion in default situations. All affected blocks drop at the chance of 100%, and experience orbs may be generated.
    • "Destroy with decay" explosion only drops blocks at a small chance, and the larger power of explosion, the small chance of drops. For example, if there is an explosion with power 32, type "destroy with decay", the destroyed blocks can drop at the chance of 1/32. Some rare blocks can guarantee 100% dropping, which subject to their loot tables.
    • The "keep" explosions will not affect blocks, but can still hurt entities.
    • "Trigger block" is the behavior of wind charge.

The block can be used in Survival mode, wearing off its durability. Degree of durability worn in each explosion depends on its explosion power. Using negative-power explosion tools can restore durability, though the explosion power cannot be adjusted to negative in Survival Mode.

If explosion tool is used in Creative Mode, no block is dropped regardless of its explosion type and the doTileDrops game rule.

This tool can be used in dispensers. When a dispenser with an explosion tool installed is triggered, if there is some blocking of blocks or entities (except sneaking entities) in the area of 64 meters in front, explosion is caused at the blocking. Blocks and entities with empty collision box (such as torch, marker armor stands, dropped items) and spectator players will not be treated as blocking. When exploded with the dispenser, item durability is worn, no players is immune to it, and no entities will not be irritated.

To avoid abusing of this mod, operators may set game rules to set only which players are allowed to use this item (by default, all players can use). For example, /gamerule mishanguc:explosion_tool_access OP_ONLY to allow only operators to use this item. This will cause item cannot be used in dispensers.

Clone this wiki locally