The Gamepedia and Fandom account systems have now been merged. If your username is incorrect, you have accounts on both platforms that weren't merged, or you have trouble signing in, please submit a support ticket.

Explosion

From Minecraft Wiki
(Redirected from Explosions)
Jump to: navigation, search
A TNT explosion.

An explosion is a physical event, generally destructive, that can be caused by several different circumstances. It can destroy nearby blocks, propel and damage nearby players, entities, and their armor, and cause one or more fires under correct circumstances. Explosions produce a "shockwave" particle effect.

Multiple close explosions may propel objects further, but have no cumulative effect on the destruction of a block. This is because explosion damage to blocks is evaluated individually (per explosion), and blocks' blast resistance do not become "weakened" from previous explosions.

The propulsion effect of explosions is often used for TNT cannons, and can also be used to shoot out gravity affected blocks.

Explosion strength[edit]

Explosion Type Power Notes
Wither[Bedrock Edition only] (half health charge move) 8 Breaks any block that is breakable in survival mode, ignoring blast resistance. Does no terrain damage when the mobgriefing gamerule is set to false.
Wither (when spawned, or when killed‌[Bedrock Edition only]) 7 Does no terrain damage when the mobgriefing gamerule is set to false.
End crystal (when destroyed) 6
Charged creeper 6 Drops heads or skulls of mobs killed by explosion. Does no terrain damage when the mobgriefing gamerule is set to false.
Beds when used in the Nether, the End or custom dimensions 5 Starts fires.
Respawn Anchor when used in the Overworld, the End or custom dimensions 5 Starts fires.
TNT 4 Any blocks destroyed by explosion drop their respective items.
Underwater TNT[Bedrock and Education editions only] 4 Damages terrain, even when underwater.
Creeper 3 Does no terrain damage when the mobgriefing gamerule is set to false.
Ghast fireball 1 Starts fires. Does no terrain damage when the mobgriefing gamerule is set to false.
Black wither skull 1 Does no terrain damage when the mobgriefing gamerule is set to false.
Dangerous wither skull 1 Treats blocks within blast radius (except bedrock, end portal, end gateway, end portal frame, command block, structure block, structure void and barrier) as having a blast resistance of no more than 0.8. Does no terrain damage when the mobgriefing gamerule is set to false.

Despite being damaging to entities, fireworks do not destroy terrain and as such are not counted as conventional explosions.

Cauldrons perform a non-terrain-damaging explosion when incompatible liquids are mixed.‌[Bedrock Edition only]

Lab tables sometimes perform a non-terrain damaging explosion when creating garbage item.‌[Bedrock and Education editions only]

Comparison of explosion craters, from wither skull (top left), wither (far left), creeper (left), charged creeper (right) and TNT (far right).

Effect[edit]

Model of block destruction[edit]

The rays from the explosion center to points that are uniformly distributed on the surface of a cube centered at the explosion with an edge length of 2. (However, this defines only their directions, not their length).
The roughly spherical pattern of blocks destroyed can be seen here.

An explosion can destroy nearby blocks. Its blast effect is evaluated independently on many explosion rays originating from the explosion center, as shown in the right figure.

An explosion must be powerful (power ~1542860[verify]) to destroy a bedrock block.
  1. A cube around the explosion is divided into a 16×16×16 grid, and rays are created from the center to each outer point of this grid, meaning that there are a total of 1352 rays.
  2. Each ray is given an intensity, calculated as (0.7 + [a random value from 0 to 0.6]) × [power].
  3. For every 0.3 blocks along the ray, the intensity of the ray decays/is attenuated by 0.3×0.75 (0.225), and the block it passes through absorbs/reduces it by ([blast resistance]+0.3)×0.3.
  4. The ray destroys all blocks that could not end the ray at any checkpoint.

From the above process, the following results can be deduced (where ⌊x⌋ is the floor function):

  • The blast radius in the air of an explosion (i.e. attenuated but not absorbed by blocks) = Blast radius in the air.svg == 10.2 (charged creepers), 6.9 (TNT), 5.1 (creepers), 1.5 (fireballs). For example, a TNT explosion can destroy a torch 7 blocks away. However, how many blocks an explosion can destroy is non-deterministic and also dependent on the specific location of the explosion.
  • The minimum block resistance required to absorb maximum blast force of an explosion happening in nearby air = ((1.3 × power − attenuation steps × step length × 0.75)/step length − 0.3). To not be destroyed, a block has to absorb all blast force at the first checkpoint in it.
    • The attenuation steps is subject to collision restrictions. For explosion in air, there is at least one attenuation step. TNT and creeper explosions are always 0.49 and 0.5 meter away from nearest block (2 att. steps), but fireball explosions can happen anywhere (1 att. step).
    • Thus, the block resistances are 24.2 (charged creepers), 15.534 (TNT), 11.2 (creepers), 3.284 (fireballs).
    • So water, lava (the stationary block), obsidian, and bedrock are always indestructible, and fences and less blast-resistant blocks can be destroyed by fireballs. These are theoretical values, and in reality less resistant blocks are not always destroyed; there is no such mechanic.

Dropping blocks[edit]

Destroyed blocks have a 1p chance of dropping as collectible resources, where p is the explosion power. So, blocks destroyed by an (uncharged) creeper's explosion have a 13 chance of dropping. However, dragon eggs, beacons, conduits, heads and shulker boxes always drop from explosions, though the items may be destroyed by subsequent explosions. In addition, explosions from TNT and minecarts with TNT cause a 100% drop rate.‌[Java Edition only]

Interaction with entities[edit]

An explosion has different effects on entities than blocks. Entities are damaged and propelled by an explosion if within its damage radius of 2 × power. Note that the "damage radius" is different from the blast radius of explosion effect on blocks.

  1. For every entity within a 2×[power] block sphere of the explosion center, the impact is (1-[distance from explosion/damage radius])×[exposure] (see section below on exposure).
  2. The entity is damaged by ((impact×impact+impact)×7×power+1) rounded down (armor enchantments for damage are handled separately).
  3. After damage, exposure is reduced by (exposure×[max Blast Protection from all armor]×0.15).
  4. The entity's eyes are propelled along the ray from the explosion center by the new exposure.

From the above process, the following results can be deduced:

  • Entities always get at least 1 point of damage if they are within the radius, regardless of their explosion exposure.
  • The maximum damage that entities can take (at the explosion center with 100% exposure) = (1 × 1 + 1) × 7 × power + 1 point of damage = 85 (charged creepers), 71 (Beds when using in the Nether or in the End), 57 (TNT), 43 (creepers), 15 (fireballs). When entities are away or covered by blocks from the explosion center, they take less damage.
  • The maximum velocity gain that an entity can obtain from a TNT explosion is 1, at the explosion center with 100% exposure.
A primed TNT AABB has directionally asymmetrical sample points (1/2.96 spacing) because of rounding.

Calculation of explosion exposure[edit]

  1. The entity's bounding box is divided into a [2×width+1] by [2×height+1] by [2×depth+1] grid of unequally spaced points.
  2. A ray is drawn from the explosion center to each point.
  3. The exposure of the entity is the percentage of these rays that are unobstructed.

The approximation algorithm has sampling error that results in directional asymmetry of propulsion. For example, a typical TNT cannon has maximum range in the west direction partly because the primed TNT has largest sampled exposure in that direction.[verify]

Causing fire[edit]

If the explosion has the ability, it randomly starts fires in ⅓ of all destroyed air blocks that are above opaque blocks.

Prolonged lag[edit]

In addition to the initial lag from processing the explosion, which subsides once the explosion has occurred, there can also be a prolonged fallout from an explosion, that consists of dropped items, liquid physics, and increased render-complexity of the crater. Technically, the dropped items disappear after 5 minutes, however those 5 in-game minutes may take a long time to process during extreme lag.

Certain rules and commands can be used to avoid this prolonged lag: setting the gamerule doTileDrops to false, for instance with /gamerule doTileDrops false, prevent dropped items from being generated by explosions. Also, the command /kill @e[type=item] destroys all dropped items.

Blast resistance[edit]

[edit values]

Block name Blast resistance
Allow ?
Barrier 3,600,000.8
Bedrock 3,600,000
Board ?
Border ?
Command Blocks 3,600,000
Deny ?
End Gateway 3,600,000
End Portal 3,600,000
End Portal Frame 3,600,000
Jigsaw Block 3,600,000
Poster ?
Slate ?
Structure Block 3,600,000
Ancient Debris 1,200
Anvil 1,200
Block of Netherite 1,200
Crying Obsidian 1,200
Enchanting Table 1,200
Obsidian 1,200
Ender Chest 600
Bubble Column 100
Lava 100
Water 100
Dragon Egg 9
End Stone 9
End Stone Bricks 9
End Stone Brick Wall 9
Andesite 6
Blackstone 6
Block of Coal 6
Block of Diamond 6
Block of Emerald 6
Block of Gold 6
Block of Iron 6
Block of Redstone 6
Bricks 6
Brick Stairs 6
Cobblestone 6
Cobblestone Stairs 6
Coral Blocks 6
Diorite 6
Granite 6
Grindstone 6
Iron Bars 6
Jukebox 6
Mossy Cobblestone 6
Nether Bricks 6
Nether Brick Fence 6
Nether Brick Stairs 6
Prismarine 6
Purpur Block 6
Purpur Pillar 6
Purpur Slab 6
Purpur Stairs 6
Red Nether Bricks 6
Shulker Box 6
Stone 6
Stone Bricks 6
Stone Brick Stairs 6
Stone Slabs 6
Stone Walls (except End, Sandstone) 6
Bell 5
Iron Door 5
Iron Trapdoor 5
Spawner 5
Hopper 4.8
Basalt 4.2
Terracotta 4.2
Cobweb 4
Blast Furnace 3.5
Dispenser 3.5
Dropper 3.5
Furnace 3.5
Lantern 3.5
Observer 3.5
Smoker 3.5
Stonecutter 3.5
Beacon 3
Coal Ore 3
Cocoa 3
Conduit 3
Diamond Ore 3
Emerald Ore 3
Gold Ore 3
Iron Ore 3
Block name Blast resistance
Lab Table 3
Lapis Lazuli Block 3
Lapis Lazuli Ore 3
Nether Quartz Ore 3
Planks 3
Redstone Ore 3
Wooden Fences 3
Wooden Fence Gates 3
Wooden Doors 3
Wooden Slabs 3
Wooden Stairs 3
Wooden Trapdoors 3
Blue Ice 2.8
Barrel 2.5
Cartography Table 2.5
Chest 2.5
Crafting Table 2.5
Dried Kelp Block 2.5
Fletching Table 2.5
Lectern 2.5
Loom 2.5
Smithing Table 2.5
Trapped Chest 2.5
Bone Block 2
Cauldron 2
Compound Creator 2
Wood 2
Concrete 1.8
Bookshelf 1.5
Glazed Terracotta 1.4
Bamboo 1
Banners 1
Jack o'Lantern 1
Melon 1
Heads 1
Nether Wart Blocks 1
Nylium 1
Pumpkin 1
Shroomlight 1
Signs 1
Block of Quartz 0.8
Note Block 0.8
Quartz Stairs 0.8
Red Sandstone 0.8
Red Sandstone Stairs 0.8
Sandstone 0.8
Sandstone Stairs 0.8
Sandstone Walls 0.8
Wool 0.8
Infested Blocks 0.75
Activator Rail 0.7
Detector Rail 0.7
Powered Rail 0.7
Rail 0.7
Grass Path 0.65
Beehive 0.6
Clay 0.6
Composter 0.6
Farmland 0.6
Grass Block 0.6
Gravel 0.6
Honeycomb Block 0.6
Sponge 0.6
Wet Sponge 0.6
Brewing Stand 0.5
Buttons 0.5
Cake 0.5
Coarse Dirt 0.5
Concrete Powder 0.5
Dirt 0.5
Frosted Ice 0.5
Hay Bale 0.5
Ice 0.5
Block name Blast resistance
Lever 0.5
Magma Block 0.5
Mycelium 0.5
Packed Ice 0.5
Piston 0.5
Piston Head 0.5
Podzol 0.5
Pressure Plates 0.5
Sand 0.5
Soul Sand 0.5
Soul Soil 0.5
Sticky Piston 0.5
Target 0.5
Turtle Egg 0.5
Weighted Pressure Plates 0.5
Cactus 0.4
Chorus Flower 0.4
Chorus Plant 0.4
Ladder 0.4
Netherrack 0.4
Bee Nest 0.3
Glass 0.3
Glass Pane 0.3
Glowstone 0.3
Redstone Lamp 0.3
Sea Lantern 0.3
Stained Glass 0.3
Stained Glass Panes 0.3
Beds 0.2
Daylight Detector 0.2
Leaves 0.2
Mushroom Blocks 0.2
Snow Block 0.2
Vines 0.2
Carpets 0.1
Snow 0.1
Air 0
Beetroots 0
Carrots 0
Corals 0
Coral Fans 0
Dead Bush 0
End Rod 0
Fire 0
Flowers 0
Flower Pot 0
Grass 0
Honey Block 0
Kelp 0
Lily Pad 0
Locked chest 0
Melon Stem 0
Moving Piston 0
Mushrooms 0
Nether Portal 0
Nether Wart 0
Potatoes 0
Pumpkin Stem 0
Redstone Dust 0
Redstone Comparator 0
Redstone Repeater 0
Redstone Torch 0
Saplings 0
Scaffolding 0
Seagrass 0
Sea Pickle 0
Slime Block 0
Structure Void 0‌[JE only]
Sugar Cane 0
Sweet Berry Bush 0
TNT 0
Torch 0
Tripwire 0
Tripwire Hook 0
Weeping Vines 0
Wheat 0

Typical damage radius[edit]

The player receives damage, if within these radii of a 100% exposure ground 1 block, 2 blocks, or 4 blocks of TNT explosion, with the amount of damage labeled on each circle in the figures below.

KillRadiiGrenade1.png KillRadiiGrenade2.png KillRadiiGrenade4.png

History[edit]

May 21, 2009Notch shows interest in adding an explosive block.
Java Edition Classic
0.24_SURVIVAL_TESTAdded creepers.
October 24, 2009Showed off TNT.
0.26Added TNT.
Java Edition Indev
0.31 (January 22, 2010)Explosions are now "better".
0.31 (January 25, 2010, 1)Explosions now lose power when going through stronger materials.
Java Edition Alpha
v1.2.0previewAdded ghasts, which shoot explosive ghast fireballs.
Java Edition Beta
1.5Creepers now become charged when struck by lightning, increasing the explosion's radius and strength.
1.61.6 Test Build 3When the player tries to sleep in the Nether, they now cause the bed to explode.
1.8Pre-releaseExplosions now emit shockwave particles. Prior to Beta 1.8, explosions emitted only smoke.
Sound UpdateThe 'Sound Update' on November 11th, 2011 gave TNT a new explosion sound.
Java Edition
1.0.0Beta 1.9 Prerelease 3Bed and ghast fireballs explosions now cause fires.
Beta 1.9 Prerelease 4When the player tries to sleep in the End, they now cause the bed to explode.
Enchantment Blast Protection added, which can enhance an armor's resistance against explosions.
Beta 1.9 Prerelease 6End crystal added, an entity, which sits atop of a block of bedrock. It can be destroyed with a melee or hit with an arrow or snowball, causing an explosion.
1.3.112w24aFixed the issue of explosions not propelling players.
12w30aExplosions now damage the player different amounts on different difficulties. However, no damage is dealt to the player on Peaceful.
1.4.212w34aAdded the wither, which shoots black wither skulls.
12w37aAn emergent wither now make a massive explosion when its health is fully charged.
Blue wither skulls added.
12w38bNew creeper fall mechanics have been added. Creepers now explode if they fall on the player from a certain height.
1.5?Destroyed blocks now have a 1/power chance of dropping as items; previously it was a fixed 30% chance.
1.8.2pre1Explosions are now no longer directionally biased.
1.1419w11aDestroyed blocks from TNT or minecart with TNT explosions now have a 100% chance of dropping as items.
Pocket Edition Alpha
0.1.0Added TNT.
0.2.1TNT now actually explodes.
0.4.0Added creepers.
0.12.1?Creepers now become charged when struck by lightning, increasing the explosion's radius and strength.
Added ghasts, which shoot explosive ghast fireballs.
Enchantment Blast Protection added, which can enhance an armor's resistance against explosions.
When the player tries to sleep in the Nether, they cause the bed to explode.
?Added explosion particles.
TNT now uses a new explosion sound.
0.14.0?An invalid mixture of liquids in cauldrons now result in a non-damaging explosion effect.
0.16.0build 4Wither added.
Pocket Edition
1.0.0alpha 0.17.0.1End crystal added.
When the player tries to sleep in the End, they now cause the bed to explode.
1.0.7Explosions no longer deal damage to a player, if the explosion is in water.
Bedrock Edition
1.4.0beta 1.2.20.1Creating garbage in Lab Table sometimes cause explosion sound.
Added Underwater TNT, which can damage terrain underwater.

Trivia[edit]

  • Explosions with a power greater than 100 look mostly the same from the outside, as only certain lines are used to determine if a block breaks. However, some of those lines continue underground.
  • An explosion powerful enough to break bedrock would have a blast radius of over 30,000,000 blocks. If it were an uninterrupted blast, it would cover 238,775,501.2 blocks. However, explosions follow certain lines, not every block (see previous). However, this would not drop the bedrock, since the bedrock itself has no drops.
  • Explosions going off in flowing water or lava apply propulsion to entities, but don't affect any blocks, regardless of the blocks' blast resistance.
  • Underwater explosions don't emit smoke particles.
  • Explosions can redirect projectiles, including ender pearls.
  • Explosions can break blocks on the other side of surviving blast-resistant blocks.
  • Explosions propel dead mobs' bodies, if they go off just after the mob dies.
  • If primed TNT explodes in a large, solid cube of stone blocks, it creates an exact 3×3×3 cube inside. Experimentation confirms that a TNT detonation causes a 3×3 hole in a solid block of anything with a blast resistance less than that of water, but more than 2.5 (e.g. crafting tables). This implies that 3×3 is the minimum possible result of a TNT detonation without the blast being resisted altogether.
  • If a Falling Sand entity falls into Primed TNT when in water, it deals block damage.
  • Every block that has a higher blast resistance than cobwebs can block a ghast's fireball and remain intact.