Create an intelligent, self-expanding liquid flood that navigates around walls and tight corners using marker entities and animated block displays.
Spawners & GeneratorsWaterTechnologyCyanBlackMap MakingAdventure MapLearningBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)21+ commands
Normal Minecraft water stops flowing after just eight blocks, leaving large rooms and winding corridors completely dry. Fluid Flood solves this by turning a single source point into an intelligent, expanding wave of glowing cyan liquid that checks adjacent air spaces and snakes around every wall and corner.
In this setup, a dark deepslate labyrinth is built at the centre of the stage. Every few ticks, the flood wavefront advances into all neighbouring open tiles, sending up glowing block display surges, splashes, and soul flames until the entire maze is filled from end to end.
/scoreboard objectives add c9_timer dummy/scoreboard players set #tick c9_timer 0/fill ~-9 ~ ~-9 ~9 ~1 ~9 deepslate_bricks/fill ~-8 ~ ~-8 ~8 ~1 ~8 air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 prismarine_bricks/fill ~-9 ~1 ~-9 ~9 ~1 ~9 sea_lantern replace deepslate_bricks/fill ~-4 ~ ~-8 ~-4 ~1 ~4 deepslate_bricks/fill ~ ~ ~-4 ~ ~1 ~8 deepslate_bricks/fill ~4 ~ ~-8 ~4 ~1 ~4 deepslate_bricks/summon marker ~-6 ~ ~-6 {Tags:["c9_flood","c9_new"]}/scoreboard players add #tick c9_timer 1/execute if score #tick c9_timer matches 3.. run scoreboard players set #tick c9_timer 0/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_new] run tag @s add c9_active/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active] at @s if block ~ ~ ~ air run setblock ~ ~ ~ cyan_stained_glass/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active] at @s run particle splash ~ ~1.0 ~ 0.3 0.2 0.3 0.1 12 force/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active] at @s run particle soul_fire_flame ~ ~0.9 ~ 0.2 0.15 0.2 0.02 4 force/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active,limit=24] at @s run summon block_display ~-0.45 ~ ~-0.45 {Tags:["c9_flood","c9_vis"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.9f,0.2f,0.9f]},interpolation_duration:8,start_interpolation:0}/execute as @e[type=block_display,tag=c9_vis] run data merge entity @s {transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0.85f,0f],scale:[0.9f,0.25f,0.9f]},start_interpolation:0}/execute as @e[type=block_display,tag=c9_vis] run scoreboard players add @s c9_timer 1/kill @e[type=block_display,tag=c9_vis,scores={c9_timer=10..}]/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active,limit=20] at @s positioned ~1 ~ ~ if block ~ ~ ~ air unless entity @e[type=marker,tag=c9_new,distance=..0.5] run summon marker ~ ~ ~ {Tags:["c9_flood","c9_new"]}/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active,limit=20] at @s positioned ~-1 ~ ~ if block ~ ~ ~ air unless entity @e[type=marker,tag=c9_new,distance=..0.5] run summon marker ~ ~ ~ {Tags:["c9_flood","c9_new"]}/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active,limit=20] at @s positioned ~ ~ ~1 if block ~ ~ ~ air unless entity @e[type=marker,tag=c9_new,distance=..0.5] run summon marker ~ ~ ~ {Tags:["c9_flood","c9_new"]}/execute if score #tick c9_timer matches 0 as @e[type=marker,tag=c9_active,limit=20] at @s run kill @ssetup #3 Builds the outer walls and interior baffles of the test basin using <code>deepslate_bricks</code> and <code>prismarine_bricks</code> so the liquid has a clear maze to solve.setup #10 Summons the initial flood seed marker at the start of the maze with the <code>c9_new</code> tag.loop #3 Promotes newly spawned frontier markers (<code>c9_new</code>) to active wave markers (<code>c9_active</code>) every 3 ticks so each step expands cleanly in lockstep.loop #4 Fills the current air block with <code>cyan_stained_glass</code>, marking the tile as flooded so future checks do not backtrack into it.loop #7 Summons a glowing <code>block_display</code> foam crest at the wavefront that interpolates smoothly upward over 8 ticks before despawning.loop #11 Checks adjacent air blocks and spawns new frontier markers only if the block is <code>air</code> and no other marker is already waiting there.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A deepslate labyrinth bordered by sea lanterns is partially filled with cyan stained glass representing a snaking liquid flood.
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 a flood anywhere by dropping a water bucket item, replace the setup marker summon with a repeating detector: /execute at @e[type=item,nbt={Item:{id:"minecraft:water_bucket"}}] if block ~ ~ ~ air run summon marker ~ ~ ~ {Tags:["c9_flood","c9_new"]} followed by killing the dropped bucket item. If you want four-way open-world spreading, add a fourth directional check for ~ ~ ~-1 in a chain command block before killing c9_active, and always enclose the target room so the flood does not expand forever.
/kill @e[tag=c9_flood]/fill ~-9 ~-1 ~-9 ~9 ~2 ~9 air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 grass_block/scoreboard objectives remove c9_timerReal water triggers vanilla fluid flow updates into adjacent blocks automatically, which interferes with the custom step-by-step pathfinding visual. Cyan stained glass with glowing block display crests shows the exact algorithm cleanly.
The commands use an entity limit on the active markers per cycle and only fill air blocks inside the enclosed basin. Always run flood algorithms inside walled rooms or add a maximum distance selector like distance=..18 so it stops automatically.
/data/execute/fill/kill/particle/scoreboard/setblock/summon/tag
▶Animated Hydro-Filtration RigSpawners & GeneratorsMedium24 cmds
▶Tesla Coil Lightning Arc SpawnerSpawners & GeneratorsMedium24 cmds
▶3D Conveyor Belt LoopSpawners & GeneratorsMedium26 cmds
▶Automated Conveyor AssemblySpawners & GeneratorsEasy24 cmds
▶Automated Conveyor FactorySpawners & GeneratorsEasy24 cmds
▶Automated Crop HarvesterSpawners & GeneratorsMedium24 cmds