Ten heavy iron floodgates along a concrete dam wall crank open one by one with warning sirens, releasing foaming cascades into a rising glass basin.
Timers & CountdownsIndustrialWaterTechnologyWhiteBlueRedMini-gameMap MakingDecorationBlock displaysText displaysSmooth animation (interpolation)Riding & passengersBlock building (fill/setblock/clone)Sounds21+ commands
The Hydro-Electric Spillway Floodgate Timer turns a simple countdown into a massive piece of industrial engineering. Ten heavy iron floodgates sit along a towering concrete dam wall above a graduated glass basin. As the timer ticks forward, each floodgate cranks upwards one by one with flashing red warning lights and sirens.
Once the gates lift, foaming cascades of water pour down the spillway face while the water level inside the observation basin smoothly rises to the top before draining out to reset the cycle.
/scoreboard objectives add c9_tick dummy/fill ~-11 ~ ~-6 ~11 ~12 ~-4 light_gray_concrete/fill ~-11 ~13 ~-6 ~11 ~13 ~-3 stone_brick_slab/fill ~-11 ~ ~-3 ~11 ~5 ~5 cyan_stained_glass outline/fill ~-11 ~ ~-3 ~11 ~ ~5 smooth_stone/fill ~-10 ~1 ~-2 ~10 ~5 ~4 air/fill ~-11 ~1 ~5 ~-11 ~5 ~5 sea_lantern/fill ~11 ~1 ~5 ~11 ~5 ~5 sea_lantern/summon marker ~-9 ~7 ~-3.4 {Tags:["c9_spawner"]}/execute at @e[tag=c9_spawner] run summon block_display ~ ~ ~ {Tags:["c9_gate","c9_g1"],transformation:{translation:[-0.4f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"},Passengers:[{id:"minecraft:block_display",Tags:["c9_gate","c9_g2"],transformation:{translation:[1.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}},{id:"minecraft:block_display",Tags:["c9_gate","c9_g3"],transformation:{translation:[3.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}},{id:"minecraft:block_display",Tags:["c9_gate","c9_g4"],transformation:{translation:[5.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}},{id:"minecraft:block_display",Tags:["c9_gate","c9_g5"],transformation:{translation:[7.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}}]}/execute unless entity @e[tag=c9_g6] at @e[tag=c9_spawner] run summon block_display ~10 ~ ~ {Tags:["c9_gate","c9_g6"],transformation:{translation:[-0.4f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"},Passengers:[{id:"minecraft:block_display",Tags:["c9_gate","c9_g7"],transformation:{translation:[1.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}},{id:"minecraft:block_display",Tags:["c9_gate","c9_g8"],transformation:{translation:[3.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}},{id:"minecraft:block_display",Tags:["c9_gate","c9_g9"],transformation:{translation:[5.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}},{id:"minecraft:block_display",Tags:["c9_gate","c9_g10"],transformation:{translation:[7.6f,0f,0f],scale:[1.2f,3.2f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:iron_block"}}]}/execute unless entity @e[tag=c9_water] run summon block_display ~-10 ~1 ~-2 {Tags:["c9_water"],transformation:{translation:[0f,0f,0f],scale:[21f,0.1f,7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:light_blue_stained_glass"},Passengers:[{id:"minecraft:text_display",Tags:["c9_hud"],transformation:{translation:[10.5f,10.5f,-1.2f],scale:[2.8f,2.8f,2.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},billboard:"fixed",background:1073741824,text:{"text":"SPILLWAY: ACTIVE","color":"aqua","bold":true}}]}/scoreboard players add #timer c9_tick 1/execute if score #timer c9_tick matches 170.. run scoreboard players set #timer c9_tick 1/execute if score #timer c9_tick matches 2 run data merge entity @e[tag=c9_water,limit=1] {interpolation_duration:135,start_interpolation:0,transformation:{translation:[0f,0f,0f],scale:[21f,4.2f,7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute if score #timer c9_tick matches 10..110 as @e[tag=c9_gate,tag=!c9_open,limit=1] run data merge entity @s {Tags:["c9_gate","c9_open"],interpolation_duration:15,start_interpolation:0}/execute if score #timer c9_tick matches 10..110 as @e[tag=c9_gate,tag=c9_open] run data modify entity @s transformation.translation[1] set value 2.8f/execute if score #timer c9_tick matches 10..120 run particle dust{color:[1.0,0.2,0.1],scale:2.5} ~ ~13.5 ~-3.2 8 0.1 0.1 0 15 force/execute if score #timer c9_tick matches 10..145 run particle splash ~ ~8 ~-2.8 8 1.8 0.5 0.3 80 force/execute if score #timer c9_tick matches 10..145 run particle cloud ~ ~5.5 ~-2.2 8 2.0 0.8 0.05 25 force/execute if score #timer c9_tick matches 10..145 run particle dripping_water ~ ~9.5 ~-3.0 8 0.3 0.2 0 30 force/execute if score #timer c9_tick matches 15 run playsound minecraft:block.bell.use master @a ~ ~8 ~ 2 1.8/execute if score #timer c9_tick matches 150 as @e[tag=c9_gate] run data merge entity @s {Tags:["c9_gate"],interpolation_duration:15,start_interpolation:0}/execute if score #timer c9_tick matches 151 as @e[tag=c9_gate] run data modify entity @s transformation.translation[1] set value 0.0fsetup #10 Summons the first five iron floodgates along the dam face as block_display passengers on a single root display entity to save setup commands.loop #2 Summons the dynamic water surface inside the glass basin along with a large floating industrial status readout on the dam wall.loop #5 Uses smooth display interpolation over 135 ticks to scale the water block_display vertically as the spillway gates release water into the tank.loop #6 Selects one closed floodgate per tick during the opening phase, tags it as open, and sets up a 15-tick interpolation window.loop #7 Modifies the Y translation of open gates to 2.8 blocks upward while preserving each gate's horizontal X offset along the wall.loop #13 Resets the floodgates at the end of the cycle by clearing the open tag and sliding all ten gates back down into their closed positions.


Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: A gray concrete wall with ten white iron floodgates rising sequentially above a glass basin filling with water, accompanied by red, blue, and white particle effects and text reading 'SPILLWAY: ACTIVE'.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To trigger the floodgate timer manually or link it to a redstone countdown instead of looping automatically, remove loop command 4 and connect a button or redstone clock to set /scoreboard players set #timer c9_tick 1 whenever you want a new spillway cycle to start.
/kill @e[tag=c9_gate]/kill @e[tag=c9_water]/kill @e[tag=c9_hud]/kill @e[tag=c9_spawner]/scoreboard objectives remove c9_tick/fill ~-11 ~ ~-6 ~11 ~14 ~5 airAdjust the timer reset threshold in loop command 4 and the interpolation_duration value in loop command 5 to match your desired countdown length in ticks (20 ticks = 1 second).
Block display entities can smoothly slide upward using transformation interpolation without needing pistons or choppy block replacements.
▶Steampunk Brass Gearwork Countdown TowerTimers & CountdownsHard24 cmds
▶Ferrofluid Magnetic Spike Countdown DisplayTimers & CountdownsExpert24 cmds
▶Rube Goldberg Mousetrap Chain-Reaction CountdownTimers & CountdownsHard24 cmds
▶Semaphore Railway Signal-Arm Match AnnouncerTimers & CountdownsMedium24 cmds
▶Archimedes Screw Molten-Lava Siphon TimerTimers & CountdownsMedium24 cmds
▶Crookes Radiometer Solar-Vane Countdown SpinnerTimers & CountdownsMedium24 cmds