Watch four autonomous copper builder drones dart across a glowing deepslate grid, dropping and recycling holographic maze walls in real time.
Self-building StructuresTechnologyIndustrialCyanOrangeBlackMini-gameAdventure MapMap MakingBlock displaysItem displaysArmor standsSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands
The Self-Assembling Modular Labyrinth turns an empty platform into a living architectural puzzle. A dark deepslate foundation surrounded by glowing copper walls prepares the grid while four autonomous builder drones dart from junction to junction. Every fraction of a second, holographic wall segments and sea lantern pillars drop from the sky with smooth interpolation and bursts of copper sparks.
Instead of filling up and stopping, the labyrinth continually recycles itself. Old walls dematerialize after a short lifespan so the drones can carve fresh corridors endlessly around the central floating beacon core.
/scoreboard objectives add c9_t dummy/fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 deepslate_tiles/fill ~-13 ~ ~-13 ~13 ~2 ~13 chiseled_copper outline/fill ~-12 ~ ~-12 ~12 ~2 ~12 air/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 sea_lantern/summon item_display ~ ~2.5 ~ {Tags:["c9_lab","c9_core"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:beacon",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.8f,1.8f,1.8f]}}/summon armor_stand ~3 ~ ~3 {Tags:["c9_lab","c9_head"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:waxed_copper_bulb",count:1}}}/summon armor_stand ~-3 ~ ~3 {Tags:["c9_lab","c9_head"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:waxed_copper_bulb",count:1}},Rotation:[90f,0f]}/summon armor_stand ~-3 ~ ~-3 {Tags:["c9_lab","c9_head"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:waxed_copper_bulb",count:1}},Rotation:[180f,0f]}/summon armor_stand ~3 ~ ~-3 {Tags:["c9_lab","c9_head"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:waxed_copper_bulb",count:1}},Rotation:[270f,0f]}/scoreboard players add #tick c9_t 1/scoreboard players set #step c9_t 0/execute if score #tick c9_t matches 6.. run scoreboard players set #step c9_t 1/execute if score #step c9_t matches 1 run scoreboard players set #tick c9_t 0/execute if score #step c9_t matches 1 as @e[tag=c9_head] at @s run tp @s ^ ^ ^3 ~90 ~/execute if score #step c9_t matches 1 as @e[tag=c9_head,limit=2,sort=random] at @s run tp @s ~ ~ ~ ~90 ~/execute as @e[tag=c9_head] at @s unless block ~ ~-1 ~ deepslate_tiles run tp @s ~ ~ ~ ~180 ~/execute as @e[tag=c9_head] at @s unless block ~ ~-1 ~ deepslate_tiles run tp @s ^ ^ ^3/execute if score #step c9_t matches 1 at @e[tag=c9_head] unless entity @e[tag=c9_wall,distance=..1.5] run summon block_display ~ ~6 ~ {Tags:["c9_lab","c9_wall","c9_new"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:chiseled_tuff_bricks"},teleport_duration:6,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,0f,-1.5f],scale:[1f,2.6f,3f]}}/execute if score #step c9_t matches 1 at @e[tag=c9_head] unless entity @e[tag=c9_pil,distance=..1.5] run summon block_display ~ ~8 ~ {Tags:["c9_lab","c9_pil","c9_new"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},teleport_duration:6,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.65f,0f,-0.65f],scale:[1.3f,3.2f,1.3f]}}/execute as @e[tag=c9_new] at @s run tp @s ~ ~-6 ~ ~ ~/execute if score #step c9_t matches 1 at @e[tag=c9_new] run particle scrape ~ ~1.5 ~ 0.6 1.2 0.6 0.1 18 force/tag @e[tag=c9_new] remove c9_new/execute as @e[tag=c9_lab,tag=!c9_head,tag=!c9_core] at @s store result score @s c9_t run scoreboard players add @s c9_t 1loop #6 Every 6 ticks, two randomly chosen builder drones rotate an extra 90 degrees using <code>sort=random</code>, steering them into unpredictable maze branches across the 3-block grid.loop #7 If a builder drone steps off the <code>deepslate_tiles</code> floor or onto the central sea lantern pad, it immediately flips 180 degrees and steps back into bounds.loop #9 Whenever a drone visits an empty junction, it summons a glowing <code>block_display</code> wall 6 blocks above the floor with <code>teleport_duration:6</code> so it slides smoothly down into place.loop #11 Newly summoned wall and pillar displays tagged <code>c9_new</code> are immediately teleported down by 6 blocks, triggering their smooth drop animation.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: Glowing cyan-outlined sea lantern pillars and orange-outlined wall segments drop from the sky onto a deepslate platform surrounded by copper walls.
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 labyrinth walls by walking around, give yourself the builder tag with /tag @s add c9_head and remove the autonomous movement commands (loop commands 5 through 8). Wherever you walk on the grid, glowing walls and pillars will drop from the sky behind you.
/kill @e[tag=c9_lab]/scoreboard objectives remove c9_t/fill ~-13 ~-1 ~-13 ~13 ~-1 ~13 grass_block/fill ~-13 ~ ~-13 ~13 ~4 ~13 airBecause the walls use block_display entities for smooth falling animations and colored glowing outlines, players can walk through them unless you also place barrier blocks at each wall position.
Increase the deepslate_tiles fill area in setup command 2 using multiples of 3 blocks (such as -18 to 18). The drones automatically stay inside whatever deepslate_tiles floor you create.
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds
▶Instant Metropolis GeneratorSelf-building StructuresHard24 cmds
▶Instant Procedural MetropolisSelf-building StructuresExpert26 cmds
▶Procedural Infinite Corridor GeneratorSelf-building StructuresHard24 cmds
▶Procedural Terrain PrinterSelf-building StructuresExpert24 cmds
▶Procedural Cyberpunk City BuilderSelf-building StructuresExpert24 cmds