Cascading Sand Detonation

A quiet sandstone pyramid destabilizes when a glowing sand block drops onto its peak, triggering a fiery eruption of flying sand and multiplying TNT.

Java EditionFireworks & Light ShowsEasy24 commandsTested on a real 26.2 & 26.3 server
A sand pyramid erupts into flames and launches glowing TNT and sand blocks into the night sky. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-6 ~ ~-6 ~6 ~ ~6 chiseled_sandstone
  3. /fill ~-5 ~ ~-5 ~5 ~ ~5 cut_sandstone
  4. /fill ~-4 ~1 ~-4 ~4 ~1 ~4 smooth_sandstone
  5. /fill ~-3 ~2 ~-3 ~3 ~2 ~3 sand
  6. /fill ~-2 ~3 ~-2 ~2 ~3 ~2 sand
  7. /fill ~-1 ~4 ~-1 ~1 ~4 ~1 red_sand
  8. /setblock ~ ~5 ~ tnt
  9. /summon marker ~ ~ ~ {Tags:["c9_sand","c9_ctrl"]}
  10. /scoreboard players set @e[tag=c9_ctrl] c9_timer 0

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_ctrl] c9_timer 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run fill ~-4 ~1 ~-4 ~4 ~1 ~4 smooth_sandstone
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run fill ~-3 ~2 ~-3 ~3 ~3 ~3 sand
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run fill ~-1 ~4 ~-1 ~1 ~4 ~1 red_sand
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 2 run setblock ~ ~5 ~ tnt
  6. /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"]}
  7. /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
  8. /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
  9. /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
  10. /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"]}
  11. /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"]}
  12. /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"]}
  13. /execute as @e[tag=c9_tnt,nbt={fuse:44s}] at @s run spreadplayers ~ ~ 1 4 false @s
  14. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 135 run scoreboard players set @e[tag=c9_ctrl] c9_timer 0

How it works

Frames from the test run

Cascading Sand Detonation - frame 1Cascading Sand Detonation - frame 2Cascading Sand Detonation - frame 3

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.

Build it in your world

  1. Create a flat area in your world and enable command blocks.
  2. Run each of the 10 setup commands in your chat once while standing at the center of your stage to build the initial sandstone pyramid and scoreboard timer.
  3. Place a row of 14 repeating command blocks (or 1 repeating command block followed by 13 chain command blocks) nearby.
  4. Set all the command blocks to Always Active and paste one loop command into each block in order.
  5. Step back and watch the glowing sand block drop onto the pyramid peak and set off the cascading sand and TNT fountain every few seconds.

Use it with real players

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.

Remove it again 3 commands

  1. /kill @e[tag=c9_sand]
  2. /fill ~-6 ~ ~-6 ~6 ~6 ~6 air
  3. /scoreboard objectives remove c9_timer

FAQ

Why doesn't the TNT completely destroy the grass platform over time?

The 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.

Will the flying sand blocks pile up and lag my world?

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.

Commands used

/execute/fill/particle/scoreboard/setblock/spreadplayers/summon

Similar creations

Join 9Minecraft News & Guides