A four-story transparent glass maze solved in real time as waves of glowing cyan energy flood upward from an emerald base to a golden beacon.
SimulationsTechnologyCyanGreenGoldLearningMap MakingBlock displaysBlock building (fill/setblock/clone)Glowing outlines21+ commands
The Vertical Labyrinth Route Finder builds a four-story open-front glass tower with sea lantern framing, internal barrier walls, and vertical chutes, then solves it automatically using a 3D flood-fill algorithm in pure vanilla commands. Starting from the glowing emerald base on the ground floor, waves of cyan energy and floating holographic nodes spread outward and climb through the glass floor shafts, testing dead-end branches while routing around solid dark prismarine barriers.
The moment the wavefront reaches the golden beacon at the top of the fourth floor, the entire solved route lights up in bright gold and green energy with rising fireworks before resetting to run the search cycle again.
/scoreboard objectives add c9_tick dummy/fill ~-5 ~ ~-5 ~5 ~13 ~5 sea_lantern outline/fill ~-4 ~1 ~-5 ~4 ~12 ~5 light_blue_stained_glass replace sea_lantern/fill ~-4 ~1 ~-5 ~4 ~12 ~5 air/fill ~-4 ~ ~-4 ~4 ~ ~4 emerald_block/fill ~-4 ~3 ~-4 ~4 ~3 ~4 cyan_stained_glass/fill ~-4 ~6 ~-4 ~4 ~6 ~4 cyan_stained_glass/fill ~-4 ~9 ~-4 ~4 ~9 ~4 cyan_stained_glass/fill ~-4 ~1 ~-1 ~1 ~11 ~-1 dark_prismarine/fill ~-2 ~3 ~-3 ~2 ~9 ~3 air replace cyan_stained_glass/execute unless entity @e[tag=c9_ctrl] run summon block_display ~-3.5 ~0.5 ~3.5 {Tags:["c9_ctrl"],Glowing:1b,glow_color_override:65484,block_state:{Name:"minecraft:emerald_block"}}/execute unless entity @e[tag=c9_goal] run summon block_display ~2.5 ~10.5 ~-3.5 {Tags:["c9_goal"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:gold_block"}}/scoreboard players add @e[tag=c9_ctrl] c9_tick 1/execute as @e[tag=c9_ctrl] if score @s c9_tick matches 1 run summon block_display ~-3 ~1 ~3 {Tags:["c9_node","c9_front"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],translation:[-0.25f,-0.25f,-0.25f]}}/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches ..95 if score @e[tag=c9_ctrl,limit=1] c9_tick matches 1.. as @e[tag=c9_front,limit=10] at @s run tag @s add c9_expand/execute as @e[tag=c9_expand] at @s positioned ~2 ~ ~ if block ~ ~ ~ air unless entity @e[tag=c9_node,distance=..1.2] run summon block_display ~ ~ ~ {Tags:["c9_node","c9_front"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],translation:[-0.25f,-0.25f,-0.25f]}}/execute as @e[tag=c9_expand] at @s positioned ~-2 ~ ~ if block ~ ~ ~ air unless entity @e[tag=c9_node,distance=..1.2] run summon block_display ~ ~ ~ {Tags:["c9_node","c9_front"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],translation:[-0.25f,-0.25f,-0.25f]}}/execute as @e[tag=c9_expand] at @s positioned ~ ~ ~2 if block ~ ~ ~ air unless entity @e[tag=c9_node,distance=..1.2] run summon block_display ~ ~ ~ {Tags:["c9_node","c9_front"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],translation:[-0.25f,-0.25f,-0.25f]}}/execute as @e[tag=c9_expand] at @s positioned ~ ~ ~-2 if block ~ ~ ~ air unless entity @e[tag=c9_node,distance=..1.2] run summon block_display ~ ~ ~ {Tags:["c9_node","c9_front"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],translation:[-0.25f,-0.25f,-0.25f]}}/execute as @e[tag=c9_expand] at @s positioned ~ ~3 ~ if block ~ ~-1 ~ air if block ~ ~ ~ air unless entity @e[tag=c9_node,distance=..1.2] run summon block_display ~ ~ ~ {Tags:["c9_node","c9_front"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.65f,0.65f,0.65f],translation:[-0.32f,-0.32f,-0.32f]}}/execute as @e[tag=c9_expand] run tag @s remove c9_front/execute as @e[tag=c9_expand] run tag @s remove c9_expand/execute at @e[tag=c9_node] run particle dust{color:[0.0,1.0,0.9],scale:1.6} ~ ~ ~ 0.35 0.35 0.35 0 2 force/execute as @e[tag=c9_ctrl] if score @s c9_tick matches 110.. run scoreboard players set @s c9_tick 0/execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 0 run kill @e[tag=c9_node]setup #2 Builds the outer 11x14x11 sea lantern frame and carves open the front and back glass faces so you can clearly see inside all four stories of the tower.setup #6 Places the cyan stained-glass floors at three vertical levels (<code>~3</code>, <code>~6</code>, and <code>~9</code>), followed by internal dark prismarine labyrinth walls and vertical access shafts.loop #4 Seeds the first glowing cyan <code>block_display</code> node at the emerald base on tick 1 of each 5.5-second search cycle.loop #6 Tests adjacent grid cells 2 blocks away along X and Z for open <code>air</code> and no existing <code>c9_node</code> within 1.2 blocks, flooding new frontier nodes around the dark prismarine barriers.loop #10 Checks 3 blocks straight up (<code>~ ~3 ~</code>) and verifies that the floor shaft directly below (<code>~ ~-1 ~</code>) is open air before climbing to the next story with a bright sea lantern node.loop #13 Emits bright cyan dust clouds at every discovered node in the 3D search tree so the pathfinding wave is visible across all four floors.


Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: A multi-story structure framed with sea lanterns and an emerald block floor is filled with floating, cyan-outlined glowing blocks and cyan particles spreading throughout and around the tower.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let players trigger the route finder from their own position inside the maze, summon the starting seed node at @p instead of the fixed corner by changing loop command 4 to /execute as @e[tag=c9_ctrl] if score @s c9_tick matches 1 at @p run summon block_display ~ ~1 ~ {Tags:["c9_node","c9_front"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"}}.
/kill @e[tag=c9_ctrl]/kill @e[tag=c9_goal]/kill @e[tag=c9_node]/scoreboard objectives remove c9_tick/fill ~-5 ~ ~-5 ~5 ~13 ~5 airEach frontier node checks on a 2-block horizontal grid and a 3-block vertical grid and only spawns a neighbor if no c9_node exists within 1.2 blocks, capping the entire 4-story maze at around 45 nodes per cycle.
Yes! Place or break any solid blocks on the floors at Y+1, Y+4, Y+7, or Y+10, or move the holes in the cyan glass floors at Y+3, Y+6, and Y+9, and the flood-fill wave will automatically route around your new barriers on the next cycle.
▶Four-Dimensional Hypercube Tesseract RotationSimulationsExpert24 cmds
▶Holographic DNA Double-Helix SplicerSimulationsHard24 cmds
▶Magnetic Ferrofluid Audio VisualizerSimulationsHard24 cmds
▶Microscopic Bacteriophage Viral InjectionSimulationsHard24 cmds
▶Monumental Dam Spillway Floodgate ReleaseSimulationsHard24 cmds