Interlocking Floodgate Surge

Massive jagged stone jaws grind open and slam shut in a mechanical cycle, releasing a roaring torrent of cascading water, foam particles, and heavy mist.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A massive deepslate floodgate opens in Minecraft, releasing a rushing waterfall and swirling foam particles into a channel. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsWaterIndustrialBlueWhiteBlackMap MakingAdventure MapCinematicBlock displaysBlock building (fill/setblock/clone)Sounds21+ commands

The Interlocking Floodgate Surge constructs a giant deepslate dam across the stage with a set of jagged, interlocking stone teeth holding back a high reservoir. Using timed block-cloning and display animations, the mechanical jaws grind apart into the upper and lower frames, releasing a heavy waterfall that crashes into the spillway below.

Once the reservoir drains out in a burst of sea-foam dust, splashing droplets, and roaring water sounds, the heavy stone teeth slam back together and reseal the floodgate for the next surge cycle.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard players set #gate c9_timer 0
  3. /fill ~-6 ~ ~-8 ~6 ~11 ~-2 deepslate_bricks
  4. /fill ~-5 ~1 ~-7 ~5 ~10 ~-3 water
  5. /fill ~-5 ~ ~-1 ~5 ~1 ~10 deepslate_tiles replace air
  6. /fill ~-4 ~1 ~-1 ~4 ~1 ~9 air
  7. /fill ~-6 ~ ~-2 ~6 ~11 ~-2 polished_deepslate
  8. /fill ~-4 ~1 ~-2 ~4 ~9 ~-2 chiseled_deepslate
  9. /summon marker ~ ~5 ~-2 {Tags:["c9_root","c9_gate"]}
  10. /summon block_display ~-5 ~10 ~-2 {Tags:["c9_root","c9_gear"],block_state:{Name:"minecraft:lodestone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[10f,1.2f,1.4f],translation:[0f,0f,-0.2f]}}

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

  1. /scoreboard players add #gate c9_timer 1
  2. /execute if score #gate c9_timer matches 140.. run scoreboard players set #gate c9_timer 0
  3. /execute if score #gate c9_timer matches 15 run fill ~-4 ~4 ~-2 ~4 ~6 ~-2 iron_bars
  4. /execute if score #gate c9_timer matches 15 at @e[tag=c9_gate] run playsound minecraft:block.iron_trapdoor.open master @a ~ ~ ~ 2 0.5
  5. /execute if score #gate c9_timer matches 30 run fill ~-4 ~3 ~-2 ~4 ~7 ~-2 air
  6. /execute if score #gate c9_timer matches 30 run fill ~-3 ~2 ~-2 ~3 ~8 ~-2 air
  7. /execute if score #gate c9_timer matches 30 at @e[tag=c9_gate] run playsound minecraft:entity.generic.explode master @a ~ ~ ~ 1 0.6
  8. /execute if score #gate c9_timer matches 31..95 run particle splash ~ ~5 ~-1 3 3 1 0.5 60 force
  9. /execute if score #gate c9_timer matches 31..95 run particle dust{color:[0.75,0.92,1.0],scale:2.2} ~ ~2 ~2 3 1 3 0.1 25 force
  10. /execute if score #gate c9_timer matches 31..95 run particle cloud ~ ~1 ~4 3.5 0.5 3 0.08 12 force
  11. /execute if score #gate c9_timer matches 100 run fill ~-4 ~2 ~-2 ~4 ~8 ~-2 chiseled_deepslate
  12. /execute if score #gate c9_timer matches 100 at @e[tag=c9_gate] run playsound minecraft:block.anvil.land master @a ~ ~ ~ 1.5 0.5
  13. /execute if score #gate c9_timer matches 105..125 run fill ~-4 ~1 ~-1 ~4 ~8 ~9 air replace water
  14. /execute if score #gate c9_timer matches 15..95 at @e[tag=c9_gate] run particle dripping_water ~ ~9 ~-1 4 0.2 0.2 0 15 force

How it works

Frames from the test run

Interlocking Floodgate Surge - frame 1Interlocking Floodgate Surge - frame 2Interlocking Floodgate Surge - frame 3

Recorded on our own test server: 52 frames at about 8.7 fps. Our image check saw: A large deepslate floodgate with interlocking stone teeth opens vertically to release a waterfall and bursts of foam-like particles into a spillway below.

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 15 blocks of space around you.
  2. Run each of the 10 setup commands in order to construct the deepslate dam, reservoir, spillway, and header beam.
  3. Place a chain of 14 command blocks nearby (1 repeating command block set to Always Active followed by 13 chain command blocks set to Always Active).
  4. Paste the 14 loop commands into the command blocks so they run relative to the center of your stage.
  5. Watch the stone teeth grind apart every 7 seconds to unleash the water torrent, then slam shut to reset the spillway.

Use it with real players

To let a player trigger the floodgate manually with a lever or custom item instead of an automatic loop, remove the first two timer commands from the loop and increment #gate c9_timer only while a player holds a trial_key or powers the gate marker.

Remove it again 3 commands

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

FAQ

Why does the water stop flowing immediately when the gate closes?

Closing the chiseled deepslate wall cuts off the reservoir source blocks, and a cleanup fill command sweeps residual flowing water from the spillway so the next surge starts fresh.

Can I change the blocks used for the floodgate teeth?

Yes, replace chiseled_deepslate in Setup command 8 and Loop command 11 with any solid block like iron_block, oxidized_copper, or tuff_bricks.

Commands used

/execute/fill/particle/playsound/scoreboard/summon

Similar creations

Join 9Minecraft News & Guides