Tidal Wave Tsunami Breakwater Simulation

Watch a curling cyan and white glass tsunami barrel surge forward and crash violently over a coastal lighthouse pier in a burst of ocean spray.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
Giant wave crashing over a lighthouse breakwater Download the GIF Video & GIF © www.9minecraft.net

SimulationsWaterOceanNatureCyanWhiteBlueCinematicMap MakingDecorationParticlesBlock displaysArmor standsSmooth animation (interpolation)Scoreboard timersExecute chainsRiding & passengersBlock building (fill/setblock/clone)Glowing outlines21+ commands

This command creation simulates a massive, curling tidal wave hitting a stone breakwater and lighthouse pier. Built entirely with animated block_display entities, the ocean swell rises from the water, curls into a hollow thirty-block-wide barrel tipped with white seafoam, and crashes onto the lighthouse structure.

When the wave strikes the pier, it triggers a slow-motion burst of cloud spray, falling water droplets, and turbulent ocean mist before receding and starting the cycle anew.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-14 ~ ~-14 ~14 ~ ~14 prismarine
  3. /fill ~-14 ~1 ~-14 ~14 ~1 ~14 cyan_stained_glass
  4. /fill ~-2 ~1 ~-2 ~2 ~5 ~13 stone_bricks
  5. /fill ~-1 ~6 ~-1 ~1 ~15 ~1 white_concrete
  6. /fill ~-1 ~8 ~-1 ~1 ~9 ~1 red_concrete
  7. /fill ~-1 ~12 ~-1 ~1 ~13 ~1 red_concrete
  8. /fill ~-1 ~16 ~-1 ~1 ~17 ~1 sea_lantern
  9. /fill ~-2 ~18 ~-2 ~2 ~18 ~2 dark_oak_slab
  10. /summon marker ~ ~1 ~ {Tags:["c9_root","c9_ctrl"]}

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_t 1
  2. /execute as @e[tag=c9_ctrl,scores={c9_t=100..}] run scoreboard players set @s c9_t 1
  3. /execute as @e[tag=c9_ctrl,scores={c9_t=1}] at @s run kill @e[tag=c9_wave]
  4. /execute as @e[tag=c9_ctrl,scores={c9_t=2..50}] at @s run summon armor_stand ~ ~1 ~-13 {Tags:["c9_root","c9_wave","c9_mover"],Invisible:1b,Marker:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_root","c9_wave","c9_body"],block_state:{Name:"minecraft:cyan_stained_glass"},Glowing:1b,glow_color_override:65535,teleport_duration:2,transformation:{translation:[-11.0f,0.0f,-0.5f],scale:[22.0f,1.0f,1.2f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}},{id:"minecraft:block_display",Tags:["c9_root","c9_wave","c9_foam"],block_state:{Name:"minecraft:white_stained_glass"},Glowing:1b,glow_color_override:16777215,teleport_duration:2,transformation:{translation:[-11.2f,0.8f,-0.6f],scale:[22.4f,0.5f,1.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}]}
  5. /scoreboard players add @e[tag=c9_mover] c9_t 1
  6. /execute as @e[tag=c9_mover,scores={c9_t=1..15}] at @s run tp @s ~ ~0.55 ~0.35
  7. /execute as @e[tag=c9_mover,scores={c9_t=16..30}] at @s run tp @s ~ ~0.45 ~0.45
  8. /execute as @e[tag=c9_mover,scores={c9_t=31..45}] at @s run tp @s ~ ~-0.35 ~0.55
  9. /execute as @e[tag=c9_mover,scores={c9_t=46..65}] at @s run tp @s ~ ~-0.6 ~0.3
  10. /execute as @e[tag=c9_mover,scores={c9_t=15}] on passengers if entity @s[tag=c9_body] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-11.0f,0.0f,-0.5f],scale:[22.0f,3.5f,1.8f],left_rotation:[0.38f,0.0f,0.0f,0.92f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  11. /execute as @e[tag=c9_mover,scores={c9_t=30}] on passengers if entity @s[tag=c9_body] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[-11.0f,-1.0f,-0.5f],scale:[22.0f,4.5f,2.5f],left_rotation:[0.85f,0.0f,0.0f,0.52f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  12. /execute as @e[tag=c9_mover,scores={c9_t=25..48}] at @s run particle cloud ~ ~1 ~0.5 9 0.5 0.5 0.08 4 force
  13. /execute as @e[tag=c9_mover,scores={c9_t=35..58}] at @s if block ~ ~ ~1 stone_bricks run particle poof ~ ~2 ~ 3 3 1 0.25 10 force
  14. /execute as @e[tag=c9_ctrl,scores={c9_t=45..85}] at @s run particle splash ~ ~14 ~ 3 6 3 0.5 80 force

How it works

Frames from the test run

Tidal Wave Tsunami Breakwater Simulation - frame 1Tidal Wave Tsunami Breakwater Simulation - frame 2Tidal Wave Tsunami Breakwater Simulation - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A huge curling glass wave crashes over a stone pier and striped lighthouse.

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 in the center of a flat 41x41 area where you want the ocean pier and lighthouse to appear.
  2. Run each of the 10 setup commands in chat one by one to build the ocean floor, stone breakwater, lighthouse, and controller entity.
  3. Place a line of 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks) nearby.
  4. Paste the 14 loop commands into the command blocks in order and set them all to Always Active.
  5. Watch the tidal wave rise from the north edge of the ocean basin and crash over the lighthouse every 5 seconds.

Use it with real players

To trigger the tsunami on demand with an item instead of an automatic loop, remove the second loop command and replace it with /execute as @a[nbt={SelectedItem:{id:"minecraft:trident"}}] run scoreboard players set @e[tag=c9_ctrl,scores={c9_t=100..}] c9_t 1 so holding a trident summons the wave.

Remove it again 3 commands

  1. /kill @e[tag=c9_root]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-14 ~ ~-14 ~14 ~19 ~14 air

FAQ

Will the wave slices cause lag if left running?

No. The wave uses at most 49 slice stacks (147 entities total) and automatically clears all wave entities at the start of every 5-second cycle.

Can I make the tsunami wider or taller?

Yes! Edit the scale values inside the fourth loop command from 22.0f to a larger number to widen the wave, or increase the vertical teleport offsets in loop commands 6 and 7 to raise the barrel height.

Commands used

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

Similar creations

Join 9Minecraft News & Guides