A dense curtain of flowing water splits down the center with glowing prismarine beams and mist to reveal a hidden treasure sanctum behind the cascade.
Doors & ElevatorsWaterNatureMysticBlueCyanAdventure MapMap MakingDecorationArmor standsBlock building (fill/setblock/clone)Sounds21+ commands
Hidden doorways are a classic feature of adventure builds, and a waterfall makes a great natural barrier. In this command creation, a moss-covered stone cliff face holds a solid five-block-wide curtain of rushing water. As an explorer approaches the basin, two prismarine sea lanterns activate and project magical aqua energy beams toward the cascade.
With a chime and a burst of water mist, the center of the waterfall splits open from top to bottom, revealing a warm, lantern-lit treasure sanctum tucked inside the cliff. When the explorer steps away, the magic fades and the water crashes back down to seal the entrance once again.
/scoreboard objectives add c9_t dummy/fill ~-6 ~ ~-4 ~6 ~7 ~2 stone_bricks/fill ~-5 ~ ~-3 ~5 ~6 ~1 mossy_stone_bricks/fill ~-2 ~1 ~-2 ~2 ~4 ~1 chiseled_stone_bricks/fill ~-1 ~1 ~-1 ~1 ~3 ~1 air/setblock ~ ~1 ~-1 gilded_blackstone/setblock ~ ~2 ~-1 chest[facing=south]/setblock ~ ~3 ~-1 lantern[hanging=true]/fill ~-3 ~ ~2 ~3 ~ ~4 mossy_stone_bricks/fill ~-2 ~ ~2 ~2 ~ ~3 water/execute unless entity @e[tag=c9_actor] run summon armor_stand ~ ~ ~6.5 {Tags:["c9_actor","c9_ent"],NoGravity:1b,Rotation:[180f,0f],equipment:{head:{id:"minecraft:turtle_helmet",count:1},chest:{id:"minecraft:diamond_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:trident",count:1}}}/scoreboard players add #t c9_t 1/execute if score #t c9_t matches 160.. run scoreboard players set #t c9_t 0/execute if score #t c9_t matches 1..30 as @e[tag=c9_actor] at @s run tp @s ~ ~ ~-0.08/execute if score #t c9_t matches 100..129 as @e[tag=c9_actor] at @s run tp @s ~ ~ ~0.08/execute if score #t c9_t matches 1 run fill ~-2 ~6 ~2 ~2 ~6 ~2 water/execute if score #t c9_t matches 1 run setblock ~-3 ~1 ~4 prismarine_bricks/execute if score #t c9_t matches 1 run setblock ~3 ~1 ~4 prismarine_bricks/execute if score #t c9_t matches 32 run setblock ~-3 ~1 ~4 sea_lantern/execute if score #t c9_t matches 32 run setblock ~3 ~1 ~4 sea_lantern/execute if score #t c9_t matches 35 run fill ~-1 ~6 ~2 ~1 ~6 ~2 barrier/execute if score #t c9_t matches 35 run playsound minecraft:block.beacon.activate master @a ~ ~3 ~2 1 1.2/execute if score #t c9_t matches 32..95 run particle dust{color:[0.1,0.9,1.0],scale:1.4} ~-3 ~1.8 ~3.5 0.6 0.4 -0.4 0 4 force/execute if score #t c9_t matches 32..95 run particle splash ~ ~3 ~2.2 1.6 2.0 0.2 0.1 25 forceloop #1 Summons our demonstration explorer armor stand equipped with a turtle helmet and trident if it does not already exist in the stage.loop #6 Places water source blocks across the top lip of the cliff at the start of the cycle so a full five-block-wide waterfall flows down into the catch basin.loop #11 Replaces the middle three water source blocks at the top of the cliff with invisible barriers when the explorer steps up, causing the waterfall to naturally drain down the middle while both outer curtains continue flowing.loop #13 Streams bright cyan dust particles from the glowing sea lantern pillars and heavy water splash mist across the parted threshold while the gate stays open.


Recorded on our own test server: 44 frames at about 7.3 fps. Our image check saw: A player approaches a five-block-wide waterfall built into a stone brick wall, causing two prismarine blocks at the base to transform into glowing sea lanterns and emit blue particles before the center of the waterfall parts to reveal a hidden doorway.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the waterfall part automatically whenever a real player approaches the pool instead of using the demo timer, replace the timer checks on commands 9 through 14 with proximity checks using /execute if entity @a[distance=..5] run ... to place the barriers and trigger particles, and /execute unless entity @a[distance=..5] run fill ~-1 ~6 ~2 ~1 ~6 ~2 water to close the curtain when players walk away.
/kill @e[tag=c9_ent]/fill ~-6 ~ ~-4 ~6 ~7 ~5 air/scoreboard objectives remove c9_tInstead of deleting all the flowing water blocks instantly, the command only replaces the three top source blocks with barriers. Minecraft's natural fluid physics then drains the middle column downward row by row.
Yes, every command uses Java 26.x syntax including the updated equipment NBT format on the armor stand and the SNBT options format for dust particles.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Crystal Prism Beam Redirection PuzzleDoors & ElevatorsHard24 cmds
▶Seamless Levitating PlatformDoors & ElevatorsMedium16 cmds
▶Self-Constructing Pathway BridgeDoors & ElevatorsMedium24 cmds
▶Lotus Blossom Zen Garden Koi SpiritCustom MobsHard24 cmds
▶Shattered Floating Island Gravity ReversalFloating IslandsHard24 cmds
▶Awakening Giant Island-Back World TurtleGiant MobsMedium24 cmds