Watch an endless network of glowing fluorescent office corridors, damp carpets, and buzzing ceiling lights build itself in real time across a flat plain.
Self-building StructuresHorrorIndustrialYellowWhiteAdventure MapMini-gameMap MakingItem displaysBlock building (fill/setblock/clone)Rotation math21+ commands
This command creation turns a flat plain into a growing network of fluorescent office corridors. Starting from a central room, glowing builder drones carve out yellow wallpapered halls, damp brown carpets, drop-ceilings with buzzing lights, and random supply crates.
The maze builds itself in real time right before your eyes using autonomous display entities that tunnel, branch, and place fluorescent sea lantern fixtures with electric particle sparks.
/scoreboard objectives add c9_tick dummy/scoreboard objectives add c9_rng dummy/fill ~-16 ~-1 ~-16 ~16 ~5 ~16 air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 brown_wool/fill ~-15 ~ ~-15 ~15 ~2 ~15 stripped_birch_wood/fill ~-15 ~3 ~-15 ~15 ~3 ~15 smooth_stone_slab[type=top]/fill ~-1 ~ ~-1 ~1 ~3 ~1 air/setblock ~ ~3 ~ sea_lantern/summon item_display ~ ~1.5 ~ {Tags:["c9_ent","c9_builder","c9_init"],Glowing:1b,glow_color_override:16777045,item:{id:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[0f,0f,0f]}}/execute as @e[tag=c9_init] at @s run summon item_display ~ ~ ~ {Tags:["c9_ent","c9_builder"],Rotation:[90f,0f],Glowing:1b,glow_color_override:16777045,item:{id:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[0f,0f,0f]}}/execute as @e[tag=c9_init] at @s run summon item_display ~ ~ ~ {Tags:["c9_ent","c9_builder"],Rotation:[180f,0f],Glowing:1b,glow_color_override:16777045,item:{id:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[0f,0f,0f]}}/execute as @e[tag=c9_init] at @s run summon item_display ~ ~ ~ {Tags:["c9_ent","c9_builder"],Rotation:[270f,0f],Glowing:1b,glow_color_override:16777045,item:{id:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[0f,0f,0f]}}/tag @e[tag=c9_init] remove c9_init/execute as @e[tag=c9_builder] at @s run particle electric_spark ~ ~0.5 ~ 0.3 0.3 0.3 0.05 3 force/scoreboard players add @e[tag=c9_builder] c9_tick 1/execute as @e[tag=c9_builder] store result score @s c9_rng run random value 1..100/execute as @e[tag=c9_builder,scores={c9_tick=5..}] at @s if block ^ ^ ^4 stripped_birch_wood run fill ^-1 ^-1.5 ^1 ^1 ^1.5 ^5 air/execute as @e[tag=c9_builder,scores={c9_tick=5..}] at @s if block ~ ~-2.5 ~ brown_wool run setblock ~ ~1.5 ~ sea_lantern/execute as @e[tag=c9_builder,scores={c9_tick=5..}] at @s run particle dust{color:[1.0,0.95,0.4],scale:2.0} ^ ^ ^2 1.0 1.0 1.0 0 25 force/execute as @e[tag=c9_builder,scores={c9_tick=5..,c9_rng=1..30}] at @s if block ^1 ^-2.5 ^2 brown_wool run setblock ^1 ^-1.5 ^2 barrel[facing=up]/execute as @e[tag=c9_builder,scores={c9_tick=5..}] at @s if block ^ ^-2.5 ^4 brown_wool run tp @s ^ ^ ^4/execute as @e[tag=c9_builder,scores={c9_tick=5..,c9_rng=1..45}] at @s run tp @s ~ ~ ~ ~90 ~/execute as @e[tag=c9_builder,scores={c9_tick=5..}] at @s run scoreboard players set @s c9_tick 0setup #5 Fills the entire maze volume with <code>stripped_birch_wood</code> to act as the yellow office wallpaper before the builder drones carve out the corridors.setup #6 Places a thin top-slab drop-ceiling across the top of the maze so you can still watch the corridors being carved out from a high angle while ceiling lights appear.loop #8 Every 5 ticks, each builder drone checks if there is solid wall 4 blocks ahead and carves a 3x4 corridor segment forward, opening both the hallway and a skylight gap.loop #9 Installs a glowing <code>sea_lantern</code> fixture into the ceiling at the drone's current grid intersection.loop #12 Moves the builder drone forward 4 blocks along its current facing direction as long as it remains over the brown carpet floor boundary.loop #13 Uses the random score in <code>c9_rng</code> to give each drone a 45% chance to make a 90-degree turn at every intersection, creating branching office hallways.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: An aerial view of a maze with yellow walls, brown floors, barrels, and sea lanterns being built in real-time by glowing cube entities.
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 new maze room around themselves on demand, summon the initial c9_init drone at @p after running the fill commands centered on the player.
/kill @e[tag=c9_ent]/fill ~-16 ~ ~-16 ~16 ~5 ~16 air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 grass_block/scoreboard objectives remove c9_tick/scoreboard objectives remove c9_rngThe builder drones carve up through the slab drop-ceiling between the sea lantern fixtures so you can watch the maze excavate itself from above while still keeping the suspended fluorescent lights intact.
No, before moving forward, each drone checks for the brown wool carpet floor 4 blocks ahead. If it reaches the outer boundary, it stays inside and turns 90 degrees on subsequent ticks.
/execute/fill/particle/random/scoreboard/setblock/summon/tag/tp
▶Self-Generating Liminal FacilitySelf-building StructuresHard24 cmds
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds
▶Autonomous Silk Loom Tapestry WeaverSelf-building StructuresMedium25 cmds
▶Procedural Yellow Backrooms Maze GeneratorSelf-building StructuresHard25 cmds
▶Backrooms Yellow Maze GeneratorSelf-building StructuresHard24 cmds
▶Instant Metropolis GeneratorSelf-building StructuresHard24 cmds