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.
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.
/scoreboard objectives add c9_timer dummy/scoreboard players set #gate c9_timer 0/fill ~-6 ~ ~-8 ~6 ~11 ~-2 deepslate_bricks/fill ~-5 ~1 ~-7 ~5 ~10 ~-3 water/fill ~-5 ~ ~-1 ~5 ~1 ~10 deepslate_tiles replace air/fill ~-4 ~1 ~-1 ~4 ~1 ~9 air/fill ~-6 ~ ~-2 ~6 ~11 ~-2 polished_deepslate/fill ~-4 ~1 ~-2 ~4 ~9 ~-2 chiseled_deepslate/summon marker ~ ~5 ~-2 {Tags:["c9_root","c9_gate"]}/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]}}/scoreboard players add #gate c9_timer 1/execute if score #gate c9_timer matches 140.. run scoreboard players set #gate c9_timer 0/execute if score #gate c9_timer matches 15 run fill ~-4 ~4 ~-2 ~4 ~6 ~-2 iron_bars/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/execute if score #gate c9_timer matches 30 run fill ~-4 ~3 ~-2 ~4 ~7 ~-2 air/execute if score #gate c9_timer matches 30 run fill ~-3 ~2 ~-2 ~3 ~8 ~-2 air/execute if score #gate c9_timer matches 30 at @e[tag=c9_gate] run playsound minecraft:entity.generic.explode master @a ~ ~ ~ 1 0.6/execute if score #gate c9_timer matches 31..95 run particle splash ~ ~5 ~-1 3 3 1 0.5 60 force/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/execute if score #gate c9_timer matches 31..95 run particle cloud ~ ~1 ~4 3.5 0.5 3 0.08 12 force/execute if score #gate c9_timer matches 100 run fill ~-4 ~2 ~-2 ~4 ~8 ~-2 chiseled_deepslate/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/execute if score #gate c9_timer matches 105..125 run fill ~-4 ~1 ~-1 ~4 ~8 ~9 air replace water/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 forcesetup #3 Builds the main deepslate brick reservoir box behind the floodgate and fills its interior with source water blocks.setup #5 Carves out the long deepslate tile spillway trough in front of the dam so the surging water stays contained inside the stage.setup #8 Seals the front face of the reservoir with chiseled deepslate blocks representing the closed interlocking teeth.loop #3 At tick 15, the middle seam of the stone teeth switches to iron bars, giving a grating visual cue right before the jaws retract.loop #6 At tick 30, two staggered /fill commands clear a jagged aperture through the gate face, letting the real water physics surge out into the trough.loop #9 While the floodgate is open (ticks 31 to 95), cyan-white dust, cloud mist, and splash particles billow across the spillway.loop #11 At tick 100, the chiseled deepslate teeth slam shut with a heavy anvil sound, cutting off the reservoir supply while the spillway clears out.


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.
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.
/kill @e[tag=c9_root]/fill ~-6 ~ ~-8 ~6 ~12 ~10 air/scoreboard objectives remove c9_timerClosing 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.
Yes, replace chiseled_deepslate in Setup command 8 and Loop command 11 with any solid block like iron_block, oxidized_copper, or tuff_bricks.
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds