Build an automated artillery mortar in vanilla Minecraft that launches a glowing magma warhead into a high arc and triggers a towering mushroom cloud explosion.
Shockwaves & ExplosionsFireTechnologyIndustrialOrangeRedBlackPvPCinematicMap MakingParticlesItem displaysFireworksScoreboard timersExecute chainsSummoned mobsBlock building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands
The Thermobaric Mushroom Cloud Mortar is an automated artillery system driven entirely by vanilla command blocks. It charges up at the firing pad with swirling orange sparks, launches a glowing magma warhead in a high parabolic arc across the stage, and detonates on the target zone.
Upon impact, the shell creates a blinding flash, a swirling ground shockwave ring, a rising smoke column, and a fiery mushroom cloud cap that lights up the night sky before resetting for the next volley.
/scoreboard objectives add c9_timer dummy/fill ~-1 ~ ~-8 ~1 ~ ~-6 minecraft:polished_deepslate_slab[type=bottom]/setblock ~ ~ ~-7 minecraft:dispenser[facing=up]/fill ~-2 ~-1 ~1 ~2 ~-1 ~5 minecraft:magma_block/setblock ~ ~-1 ~3 minecraft:chiseled_polished_blackstone/summon minecraft:marker ~ ~ ~ {Tags:["c9_entity","c9_ctrl"]}/summon minecraft:item_display ~ ~1.2 ~-7 {Tags:["c9_entity","c9_shell"],Glowing:1b,glow_color_override:16733525,item:{id:"minecraft:magma_cream",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,2.0f,1.5f]}}/summon minecraft:marker ~ ~0.3 ~3 {Tags:["c9_entity","c9_ring","c9_r1"]}/execute as @e[type=minecraft:marker,tag=c9_ctrl] run scoreboard players add @s c9_timer 1/execute as @e[type=minecraft:marker,tag=c9_ctrl,scores={c9_timer=111..}] run scoreboard players set @s c9_timer 1/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 1 positioned ~ ~1.2 ~-7 run tp @e[type=minecraft:item_display,tag=c9_shell] ~ ~ ~/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 1..15 positioned ~ ~1 ~-7 run particle minecraft:dust{color:[1.0,0.4,0.0],scale:1.8} ~ ~ ~ 0.35 0.35 0.35 0 8 force/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 15 positioned ~ ~1 ~-7 run playsound minecraft:entity.firework_rocket.launch master @a ~ ~ ~ 2 0.6/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 16..27 as @e[type=minecraft:item_display,tag=c9_shell] at @s run tp @s ~ ~0.65 ~0.416/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 28..40 as @e[type=minecraft:item_display,tag=c9_shell] at @s run tp @s ~ ~-0.65 ~0.416/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 16..40 at @e[type=minecraft:item_display,tag=c9_shell] run particle minecraft:flame ~ ~ ~ 0.12 0.12 0.12 0.02 10 force/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 41 positioned ~ ~1 ~3 run particle minecraft:explosion_emitter ~ ~ ~ 0 0 0 0 1 force/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 41 positioned ~ ~1 ~3 run playsound minecraft:entity.generic.explode master @a ~ ~ ~ 3 0.5/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 41..95 positioned ~ ~ ~3 run particle minecraft:campfire_cosy_smoke ~ ~4.0 ~ 0.7 2.8 0.7 0.01 16 force/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 44..100 positioned ~ ~8.5 ~3 run particle minecraft:flame ~ ~ ~ 2.8 1.2 2.8 0.03 55 force/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 41..80 as @e[type=minecraft:marker,tag=c9_ring] at @s run tp @s ~ ~ ~ ~28 ~/execute if score @e[type=minecraft:marker,tag=c9_ctrl,limit=1] c9_timer matches 42..80 at @e[type=minecraft:marker,tag=c9_r1] run particle minecraft:dust{color:[1.0,0.45,0.0],scale:2.8} ^ ^ ^4.5 0.6 0.15 0.6 0 20 forcesetup #7 Summons an <code>item_display</code> entity holding magma cream with an orange glow override and stretched scale transformation to serve as the visible mortar shell.loop #3 At tick 1 of every cycle, teleports the mortar shell back inside the dispenser barrel so the artillery sequence can repeat cleanly.loop #6 During ticks 16 to 27, moves the warhead upward and forward along the first half of its parabolic trajectory while leaving a trail of flame particles.loop #12 Generates the dense fiery cap of the mushroom cloud 8.5 blocks above the target pad while the smoke column rises underneath it.loop #14 Projects bright orange dust particles 4.5 blocks out from a rapidly spinning marker entity at ground level to form the expanding thermobaric shockwave ring.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A magma block target zone detonates with a ground shockwave ring, a rising column of dark smoke, and a large mushroom-shaped cloud of flame particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To trigger the mortar manually instead of looping automatically, remove the second loop command and set the c9_ctrl marker's c9_timer score to 1 whenever a player presses a button or holds a custom detonator item.
/kill @e[tag=c9_entity]/scoreboard objectives remove c9_timer/fill ~-2 ~ ~-8 ~2 ~1 ~-6 minecraft:air/fill ~-2 ~-1 ~1 ~2 ~-1 ~5 minecraft:grass_blockNo, the explosion uses particle emitters, sound effects, and spinning markers rather than real TNT, so your builds and terrain remain completely safe.
Increase the Z offset in loop commands 6 and 7 (currently 0.416 blocks per tick) and move the target pad and explosion coordinates in the later commands to match the new landing spot.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Cataclysmic Shockwave DetonationShockwaves & ExplosionsMedium24 cmds
▶Automated Bridge-Buster Air StrikeShockwaves & ExplosionsMedium24 cmds
▶Miniature Mushroom CloudShockwaves & ExplosionsHard24 cmds
▶Tactical Mushroom Cloud StrikeShockwaves & ExplosionsHard24 cmds
▶Kinetic Newton's Cradle Impact GauntletsShockwaves & ExplosionsMedium23 cmds
▶Automated Napalm StrikeShockwaves & ExplosionsMedium21 cmds