Watch four glowing cyan laser nodes traverse a dark tiled floor, automatically constructing an intricate monochrome office labyrinth with lit ceilings.
Self-building StructuresTechnologyWhiteBlackCyanMini-gameMap MakingBuilding ToolBlock displaysBlock building (fill/setblock/clone)Rotation math21+ commands
This command creation generates a monochrome office labyrinth out of thin air. Starting from a glowing sea lantern core at the center, four tall cyan laser pillars glide outward across a dark deepslate floor, carving out white concrete hallways, gray support pillars, and glass ceilings embedded with lights.
Each builder node checks the blocks around it as it moves, turning corners automatically to spiral outward and fill the arena with an interconnected grid of corridors.
/scoreboard objectives add c9_timer dummy/scoreboard players set #tick c9_timer 0/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 deepslate_tiles/fill ~-16 ~ ~-16 ~16 ~3 ~16 cyan_concrete outline/fill ~-15 ~ ~-15 ~15 ~5 ~15 air/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 sea_lantern/summon block_display ~ ~ ~-3 {Tags:["c9_ent","c9_node"],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:[1.2f,4.5f,1.2f],translation:[-0.6f,0f,-0.6f]},Rotation:[180f,0f]}/summon block_display ~3 ~ ~ {Tags:["c9_ent","c9_node"],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:[1.2f,4.5f,1.2f],translation:[-0.6f,0f,-0.6f]},Rotation:[270f,0f]}/summon block_display ~ ~ ~3 {Tags:["c9_ent","c9_node"],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:[1.2f,4.5f,1.2f],translation:[-0.6f,0f,-0.6f]},Rotation:[0f,0f]}/summon block_display ~-3 ~ ~ {Tags:["c9_ent","c9_node"],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:[1.2f,4.5f,1.2f],translation:[-0.6f,0f,-0.6f]},Rotation:[90f,0f]}/scoreboard players add #tick c9_timer 1/execute at @e[tag=c9_node] run particle end_rod ~ ~4.2 ~ 0.3 0.2 0.3 0.05 3 force/execute if score #tick c9_timer matches 3.. as @e[tag=c9_node] at @s if block ^ ^ ^3 air run tp @s ^ ^ ^3/execute if score #tick c9_timer matches 3.. as @e[tag=c9_node] at @s if block ^3 ^ ^ air run tp @s ~ ~ ~ ~-90 ~/execute if score #tick c9_timer matches 3.. as @e[tag=c9_node] at @s unless block ^ ^ ^3 air run tp @s ~ ~ ~ ~90 ~/execute if score #tick c9_timer matches 3.. as @e[tag=c9_node] at @s unless block ^ ^ ^3 air run tp @s ^ ^ ^3 ~90 ~/execute if score #tick c9_timer matches 3.. at @e[tag=c9_node] run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 smooth_quartz/execute if score #tick c9_timer matches 3.. at @e[tag=c9_node] run fill ^-2 ^ ^-1 ^-2 ^3 ^1 white_concrete replace air/execute if score #tick c9_timer matches 3.. at @e[tag=c9_node] run fill ^2 ^ ^-1 ^2 ^3 ^1 light_gray_concrete replace air/execute if score #tick c9_timer matches 3.. at @e[tag=c9_node] run fill ^-2 ^ ^2 ^-2 ^3 ^2 gray_concrete replace air/execute if score #tick c9_timer matches 3.. at @e[tag=c9_node] run fill ~-1 ~4 ~-1 ~1 ~4 ~1 light_blue_stained_glass/execute if score #tick c9_timer matches 3.. at @e[tag=c9_node] run setblock ~ ~4 ~ sea_lantern/execute if score #tick c9_timer matches 3.. at @e[tag=c9_node] run particle cloud ~ ~2 ~ 0.8 1 0.8 0.05 15 force/execute if score #tick c9_timer matches 3.. run scoreboard players set #tick c9_timer 0setup #3 Prepares the 33x33 arena floor using dark <code>deepslate_tiles</code> to contrast with the bright white corridors.setup #7 Summons the first of four glowing cyan <code>block_display</code> builder pillars facing north, scaled up vertically to span floor to ceiling.loop #3 Every 3 ticks, each builder node checks if the space 3 blocks ahead (<code>^ ^ ^3</code>) is empty air and steps forward into it.loop #4 Checks if the space to the right (<code>^3 ^ ^</code>) is unbuilt air, and rotates the node 90 degrees right so it spirals around existing corridors.loop #8 Uses local coordinates (<code>^</code>) relative to the node's facing direction to raise white concrete walls along its left side without overwriting existing paths.loop #11 Caps each hallway segment with a 3x3 <code>light_blue_stained_glass</code> roof and places a <code>sea_lantern</code> right in the center.


Recorded on our own test server: 51 frames at about 8.4 fps. Our image check saw: Four glowing cyan pillars move across a dark deepslate floor, generating a labyrinth of white walls, gray pillars, and glass ceilings with sea lanterns.
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 draw corridors manually instead of using autonomous nodes, replace @e[tag=c9_node] in loop commands 7 through 13 with @a[tag=labyrinth_builder]. Give yourself the tag with /tag @s add labyrinth_builder, and new office hallways will materialize behind you wherever you walk.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_timer/fill ~-16 ~ ~-16 ~16 ~6 ~16 air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 grass_blockCaret coordinates place blocks relative to the direction each node is facing, allowing the exact same fill command to build left and right walls whether the node is heading north, south, east, or west.
Yes! Change the number 3 in <code>matches 3..</code> across the loop commands to <code>1..</code> for instant construction, or <code>10..</code> for a slower step-by-step build.
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds
▶Automated Lighthouse Fresnel Lens IgnitionSelf-building StructuresMedium24 cmds
▶Automated Orbital Block PrinterSelf-building StructuresHard24 cmds
▶Automated Procedural Maze BuilderSelf-building StructuresHard24 cmds
▶Automated Spire ConstructorSelf-building StructuresMedium19 cmds
▶Automated Terrain & Mountain SculptorSelf-building StructuresExpert24 cmds