Unstoppable Tidal Wave Simulation

Summon a curling wall of water, cyan glass, and white foam that surges across a sandy coastline and smashes through beach cabanas using display entities.

Java EditionSky & WeatherHard26 commandsTested on a real 26.2 & 26.3 server
A custom block-display tidal wave sweeps across a miniature Minecraft beachfront with white spray particles. Download the GIF Video & GIF © www.9minecraft.net

Clouds & WeatherWaterOceanNatureBlueCyanWhiteCinematicMap MakingDecorationBlock displaysBlock building (fill/setblock/clone)21+ commands

This command creation builds a miniature beachfront and sweeps a multi-layered tidal wave across it every six seconds. Instead of flooding your world with messy water blocks, the wave is constructed from animated block display entities arranged into a deep blue base, a cyan body, a curling tube, and a glowing white foam crest.

As the wall of water travels forward, it trails ocean spray and clouds of mist. When the wave hits the sandy shore, the beach cabanas collapse into explosion particles and flying debris before resetting for the next surge.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_wave dummy
  2. /fill ~-14 ~-1 ~-10 ~2 ~-1 ~10 prismarine
  3. /fill ~3 ~-1 ~-10 ~14 ~-1 ~10 sand
  4. /fill ~5 ~ ~-10 ~14 ~ ~10 sand
  5. /fill ~7 ~1 ~-7 ~9 ~2 ~-5 oak_planks hollow
  6. /fill ~6 ~3 ~-8 ~10 ~3 ~-4 red_wool
  7. /fill ~7 ~1 ~5 ~9 ~2 ~7 oak_planks hollow
  8. /fill ~6 ~3 ~4 ~10 ~3 ~8 yellow_wool
  9. /summon marker ~-14 ~ ~ {Tags:["c9_wave_ctrl","c9_ent"]}
  10. /scoreboard players set @e[tag=c9_wave_ctrl] c9_wave 0

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

  1. /scoreboard players add @e[tag=c9_wave_ctrl] c9_wave 1
  2. /execute as @e[tag=c9_wave_ctrl,scores={c9_wave=1}] at @s run summon block_display ~ ~ ~-10 {Tags:["c9_ent","c9_w_base"],block_state:{Name:"minecraft:blue_concrete"},transformation:{translation:[0f,0f,0f],scale:[4.5f,2.5f,20f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  3. /execute as @e[tag=c9_wave_ctrl,scores={c9_wave=1}] at @s run summon block_display ~1.0 ~2.0 ~-10 {Tags:["c9_ent","c9_w_mid"],block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{translation:[0f,0f,0f],scale:[3.5f,3.5f,20f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  4. /execute as @e[tag=c9_wave_ctrl,scores={c9_wave=1}] at @s run summon block_display ~2.0 ~5.0 ~-10 {Tags:["c9_ent","c9_w_top"],block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{translation:[0f,0f,0f],scale:[3.0f,2.5f,20f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  5. /execute as @e[tag=c9_wave_ctrl,scores={c9_wave=1}] at @s run summon block_display ~4.2 ~6.0 ~-10.1 {Tags:["c9_ent","c9_w_foam"],Glowing:1b,glow_color_override:16777215,block_state:{Name:"minecraft:snow_block"},transformation:{translation:[0f,0f,0f],scale:[1.8f,1.8f,20.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /execute as @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] at @s run tp @s ~0.24 ~ ~
  7. /execute at @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] run tp @e[tag=c9_w_base] ~ ~ ~-10
  8. /execute at @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] run tp @e[tag=c9_w_mid] ~1.0 ~2.0 ~-10
  9. /execute at @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] run tp @e[tag=c9_w_top] ~2.0 ~5.0 ~-10
  10. /execute at @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] run tp @e[tag=c9_w_foam] ~4.2 ~6.0 ~-10.1
  11. /execute at @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] run particle splash ~3.5 ~1.5 ~ 1.5 1.5 9 0.2 60 force
  12. /execute at @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] run particle cloud ~4.8 ~6.8 ~ 0.4 0.4 9 0.03 25 force
  13. /execute if entity @e[tag=c9_wave_ctrl,scores={c9_wave=75}] positioned ~8 ~2 ~-6 run fill ~-2 ~-1 ~-2 ~2 ~1 ~2 air destroy
  14. /execute as @e[tag=c9_wave_ctrl,scores={c9_wave=115..}] run tp @s ~-14 ~ ~
  15. /execute if entity @e[tag=c9_wave_ctrl,scores={c9_wave=115..}] run kill @e[tag=c9_ent,type=block_display]
  16. /execute as @e[tag=c9_wave_ctrl,scores={c9_wave=115..}] run scoreboard players set @s c9_wave 0

How it works

Frames from the test run

Unstoppable Tidal Wave Simulation - frame 1Unstoppable Tidal Wave Simulation - frame 2Unstoppable Tidal Wave Simulation - frame 3

Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A multi-layered wave made of dark blue, translucent cyan, and glowing white block displays sweeps across a miniature prismarine and sandstone beachfront while trailing white 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 centre of a flat open area with at least 20 blocks of room in every direction.
  2. Run each command from the Setup list in chat once to build the prismarine ocean floor, sandy coastline, two beach cabanas, and the wave controller marker.
  3. Place a column or line of 16 repeating command blocks set to Always Active near the centre of the stage.
  4. Paste one command from the Loop list into each repeating command block.
  5. Watch the wave assemble on the ocean edge, surge toward the beach, and smash through the structure.
  6. When you are done, turn off the repeating command blocks and run the Remove commands to clear the entities and scoreboard.

Use it with real players

To let players get swept away by the tidal wave, add a repeating command block running /execute at @e[tag=c9_wave_ctrl,scores={c9_wave=2..105}] run tp @a[dx=4,dy=7,dz=10] ~0.24 ~ ~ and a second one for the negative Z half (dz=-10). Any player caught inside the curling wall of water will be pushed along with the surge toward the beach.

Remove it again 5 commands

  1. /kill @e[tag=c9_ent]
  2. /kill @e[type=item]
  3. /scoreboard objectives remove c9_wave
  4. /fill ~-14 ~ ~-10 ~14 ~4 ~10 air
  5. /fill ~-14 ~-1 ~-10 ~14 ~-1 ~10 grass_block

FAQ

Why does this use block displays instead of real water blocks?

Real water updates slowly and flows outward in flat squares. Stretched block displays move smoothly at 20 ticks per second, hold a tall curling overhang shape, and never flood the rest of your world.

How can I make the wave taller or wider?

Increase the three numbers inside the scale array of the four summon commands in the loop. The three values control the X thickness, Y height, and Z width of each layer of the wave.

Commands used

/execute/fill/kill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides