Cascading Dune Chain Reaction

Trigger a desert sinkhole wave in vanilla Minecraft as a glowing monolith tips over and pulls the limestone floor out from beneath layered sand dunes.

Java EditionComplex Contraptions & CinematicsMedium24 commandsTested on a real 26.2 & 26.3 server
A glowing red sandstone pillar tips over, causing a striped sand arena to collapse in a wave. Download the GIF Video & GIF © www.9minecraft.net

SimulationsNatureOrangeYellowCinematicAdventure MapMap MakingBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsGlowing outlines21+ commands

The Cascading Dune Chain Reaction turns a solid desert arena into a rolling wave of falling sand and red sand. A glowing red sandstone monolith on the western edge tips over and smashes into the ground, sending an invisible tremor across the basin that strips away the supporting limestone ceiling one slice at a time.

As the tremor sweeps from west to east, thousands of layered sand blocks collapse into the sunken pit below in a smooth domino wave, crumbling desert ruins in its path and kicking up thick clouds of golden dust and smoke. Every few seconds the oasis resets itself and replays the collapse automatically.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard players set #tick c9_timer 0
  3. /fill ~-15 ~ ~-9 ~15 ~7 ~9 cut_sandstone
  4. /fill ~-14 ~1 ~-8 ~14 ~8 ~8 air
  5. /fill ~-14 ~ ~-8 ~14 ~ ~8 magma_block
  6. /fill ~-14 ~5 ~-8 ~14 ~5 ~8 smooth_sandstone
  7. /fill ~-14 ~6 ~-8 ~14 ~8 ~8 sand
  8. /fill ~-14 ~7 ~-4 ~14 ~8 ~4 red_sand
  9. /summon marker ~-14 ~5 ~ {Tags:["c9_wave"]}
  10. /summon block_display ~-15 ~9 ~-0.5 {Tags:["c9_pillar"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:chiseled_red_sandstone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,6f,1.2f],translation:[0f,0f,0f]}}

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

  1. /scoreboard players add #tick c9_timer 1
  2. /execute if score #tick c9_timer matches 2 run data merge entity @e[tag=c9_pillar,limit=1] {interpolation_duration:12,start_interpolation:0,transformation:{left_rotation:[0f,0f,-0.707f,0.707f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,6f,1.2f],translation:[0.5f,0f,0f]}}
  3. /execute if score #tick c9_timer matches 14 run particle explosion_emitter ~-12 ~9 ~ 0 0 0 0 1 force
  4. /execute if score #tick c9_timer matches 14 run playsound entity.generic.explode master @a ~-12 ~9 ~ 1.2 0.8
  5. /execute if score #tick c9_timer matches 14..98 as @e[tag=c9_wave] at @s run tp @s ~0.35 ~ ~
  6. /execute if score #tick c9_timer matches 14..98 at @e[tag=c9_wave] run fill ~-1 ~ ~-8 ~ ~ ~8 air replace smooth_sandstone
  7. /execute if score #tick c9_timer matches 14..98 at @e[tag=c9_wave] run particle dust{color:[0.95,0.72,0.3],scale:3.0} ~ ~3 ~ 0.6 1.2 6 0 35 force
  8. /execute if score #tick c9_timer matches 14..98 at @e[tag=c9_wave] run particle campfire_cosy_smoke ~ ~2 ~ 0.3 0.5 5 0.03 8 force
  9. /execute if score #tick c9_timer matches 14..98 at @e[tag=c9_wave] run playsound block.sand.break master @a ~ ~2 ~ 0.8 0.7
  10. /execute if score #tick c9_timer matches 135 run fill ~-14 ~1 ~-8 ~14 ~8 ~8 air
  11. /execute if score #tick c9_timer matches 136 run fill ~-14 ~5 ~-8 ~14 ~5 ~8 smooth_sandstone
  12. /execute if score #tick c9_timer matches 137 run fill ~-14 ~6 ~-8 ~14 ~8 ~8 sand
  13. /execute if score #tick c9_timer matches 138 run fill ~-14 ~7 ~-4 ~14 ~8 ~4 red_sand
  14. /execute if score #tick c9_timer matches 140 run tp @e[tag=c9_wave] ~-14 ~5 ~

How it works

Frames from the test run

Cascading Dune Chain Reaction - frame 1Cascading Dune Chain Reaction - frame 2Cascading Dune Chain Reaction - frame 3

Recorded on our own test server: 37 frames at about 7.2 fps. Our image check saw: A glowing red sandstone pillar tips over on the left of a striped sand and red sand platform, causing the entire sand floor to collapse downward in a wave from left to right with dust particles.

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. Stand at the center of a flat open area with at least 20 blocks of space in every horizontal direction.
  2. Run each of the 10 setup commands in chat in order to build the sandstone basin, hollow pit, false floor, layered dunes, wave marker, and starter monolith.
  3. Place a line of 14 repeating command blocks set to Always Active nearby, or one repeating command block followed by 13 chain command blocks (Unconditional, Always Active).
  4. Paste the 14 loop commands in order into the command blocks.
  5. Watch the glowing monolith fall and trigger the cascading sand collapse across the entire arena.
  6. To reset the timer for another collapse after tick 140, run /scoreboard players set #tick c9_timer 0.

Use it with real players

To let a player trigger the dune collapse on demand instead of starting automatically, replace the timer check on loop command 1 with /execute if entity @a[distance=..18,nbt={SelectedItem:{id:"minecraft:goat_horn"}}] run scoreboard players set #tick c9_timer 1 and only increment #tick while the score is 1 or higher.

Remove it again 5 commands

  1. /kill @e[tag=c9_wave]
  2. /kill @e[tag=c9_pillar]
  3. /kill @e[type=falling_block,distance=..25]
  4. /fill ~-16 ~ ~-10 ~16 ~15 ~10 air
  5. /scoreboard objectives remove c9_timer

FAQ

Why did the wave marker stay in one place if you only use execute at?

In command blocks that are wrapped with an external execute positioned at the stage center, using at @e[tag=c9_wave] alone before tp or inside a separate command can snap back if @s is not bound. Pairing as @e[tag=c9_wave] at @s run tp @s ~0.35 ~ ~ guarantees the marker steps forward from its own coordinates every tick.

Will all the falling sand blocks lag my server?

No, because only one narrow strip of smooth sandstone is removed per tick. At any moment only about 30 to 50 falling block entities exist in the air before landing on the pit floor and turning back into solid blocks.

Commands used

/data/execute/fill/particle/playsound/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides