A quiet sandstone pyramid destabilizes when a glowing sand block drops onto its peak, triggering a fiery eruption of flying sand and multiplying TNT.
Firework ShowsFireCelebrationOrangeYellowRedCinematicMap MakingMini-gameSummoned mobsFalling blocksBlock building (fill/setblock/clone)21+ commands
Watch a quiet sandstone pyramid destabilize when a single glowing block of sand drops onto its peak from above. The impact sets off an unstable chain reaction beneath the surface, rumbling with bright flames, lava sparks, and thick smoke.
Moments later, the entire mound erupts into a multi-directional fountain of flying sand, red sand, and glowing TNT blocks that launch into the sky and burst into golden sparks.
/scoreboard objectives add c9_timer dummy/fill ~-6 ~ ~-6 ~6 ~ ~6 chiseled_sandstone/fill ~-5 ~ ~-5 ~5 ~ ~5 cut_sandstone/fill ~-4 ~1 ~-4 ~4 ~1 ~4 smooth_sandstone/fill ~-3 ~2 ~-3 ~3 ~2 ~3 sand/fill ~-2 ~3 ~-2 ~2 ~3 ~2 sand/fill ~-1 ~4 ~-1 ~1 ~4 ~1 red_sand/setblock ~ ~5 ~ tnt/summon marker ~ ~ ~ {Tags:["c9_sand","c9_ctrl"]}/scoreboard players set @e[tag=c9_ctrl] c9_timer 0/scoreboard players add @e[tag=c9_ctrl] c9_timer 1/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run fill ~-4 ~1 ~-4 ~4 ~1 ~4 smooth_sandstone/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run fill ~-3 ~2 ~-3 ~3 ~3 ~3 sand/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run fill ~-1 ~4 ~-1 ~1 ~4 ~1 red_sand/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run setblock ~ ~5 ~ tnt/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 5 run summon falling_block ~ ~14 ~ {BlockState:{Name:"minecraft:sand"},Time:1,DropItem:0b,Glowing:1b,Tags:["c9_sand","c9_drop"]}/execute at @e[tag=c9_drop] run particle dust{color:[1.0,0.85,0.2],scale:2.5} ~ ~0.5 ~ 0.25 0.25 0.25 0 10 force/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 30..65 run particle flame ~ ~4 ~ 2.2 1.2 2.2 0.08 25 force/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 30..65 run particle lava ~ ~4.5 ~ 1.8 0.8 1.8 0 8 force/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 45..85 run summon tnt ~ ~4.2 ~ {fuse:45s,Glowing:1b,Motion:[0.0,0.85,0.0],Tags:["c9_sand","c9_tnt"]}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 45..85 run summon falling_block ~ ~4.8 ~ {BlockState:{Name:"minecraft:red_sand"},Time:1,DropItem:0b,Glowing:1b,Motion:[0.25,0.9,-0.2],Tags:["c9_sand","c9_debris"]}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 45..85 run summon falling_block ~ ~4.8 ~ {BlockState:{Name:"minecraft:sand"},Time:1,DropItem:0b,Glowing:1b,Motion:[-0.25,0.95,0.2],Tags:["c9_sand","c9_debris"]}/execute as @e[tag=c9_tnt,nbt={fuse:44s}] at @s run spreadplayers ~ ~ 1 4 false @s/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 135 run scoreboard players set @e[tag=c9_ctrl] c9_timer 0loop #3 Rebuilds the sandstone and sand pyramid layers at the beginning of each loop cycle so the structure stays intact even after TNT explosions destroy the peak.loop #6 Summons a glowing falling sand block high above the pyramid peak at tick 5 to initiate the chain reaction when it lands.loop #8 Creates a dense eruption of flames and lava sparks across the pyramid slopes as the dropped sand block strikes the TNT peak.loop #10 Launches glowing primed TNT and diagonal streams of glowing sand and red sand upward out of the destabilized mound.loop #13 Uses <code>/spreadplayers</code> on newly spawned TNT (when its fuse is at 44 ticks) to scatter the upward-moving TNT across the pyramid so it rains out in a wide fountain instead of a single vertical line.


Recorded on our own test server: 57 frames at about 9.5 fps. Our image check saw: A glowing block drops onto a sand and TNT pyramid, triggering flames, smoke, and an explosive fountain of flying sand, red sand, and TNT blocks.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player trigger this detonation manually instead of running on an automatic loop, remove the timer reset command at the end of the loop and trigger the score /scoreboard players set @e[tag=c9_ctrl] c9_timer 1 when a player drops a sand item near the pyramid using /execute at @e[type=item,nbt={Item:{id:"minecraft:sand"}}] if block ~ ~-1 ~ tnt run scoreboard players set @e[tag=c9_ctrl] c9_timer 1.
/kill @e[tag=c9_sand]/fill ~-6 ~ ~-6 ~6 ~6 ~6 air/scoreboard objectives remove c9_timerThe TNT is launched upward with positive vertical motion and scattered slightly, so most of it explodes mid-air or near the top of the pyramid, and the loop automatically repairs the pyramid layers at the start of every cycle.
No, the falling sand blocks have DropItem set to 0b and many get blown up by the airborne TNT bursts, while the pyramid reset command overwrites the landing area cleanly each cycle.
/execute/fill/particle/scoreboard/setblock/spreadplayers/summon
▶Venetian Glassblower Molten Goblet SpinFirework ShowsExpert22 cmds
▶Iridescent Scarab Beetle Solar UnfurlingFirework ShowsExpert24 cmds
▶Bouncing Xylophone Light-Mallet SymphonyFirework ShowsMedium24 cmds
▶Erupting TNT GeyserFirework ShowsEasy22 cmds
▶Orbital Rocket CartFirework ShowsEasy23 cmds
▶Automated Skyward Pyrotechnic SymphonyFirework ShowsMedium24 cmds