Watch a glowing architect orb carve out an endless labyrinth of damp carpets, yellow wallpaper, and glowing ceiling tiles in real time using vanilla commands.
Self-building StructuresHorrorMysticYellowOrangeWhiteMap MakingAdventure MapMini-gameBlock displaysArmor standsBlock building (fill/setblock/clone)Rotation math21+ commands
Inspired by the eerie, endless corridors of the Backrooms, this command creation generates a live procedural maze right before your eyes. Instead of hiding the hallways under a solid roof, the generator builds a wide-open cross-section with a central glass atrium and floating fluorescent ceiling strips so you can watch every turn and intersection take shape.
Two glowing architect orbs weave through the yellow stripped-birch monolith, carving out damp carpets, pillars, and brightly lit rooms while kicking up bursts of yellow dust and electric sparks. Every few seconds, the labyrinth dissolves in a golden pulse and begins carving a fresh layout.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_rng dummy/fill ~-14 ~ ~-14 ~14 ~ ~14 hay_block/fill ~-14 ~1 ~-14 ~14 ~4 ~14 stripped_birch_wood/fill ~-3 ~1 ~-3 ~3 ~4 ~3 air/setblock ~ ~4 ~ ochre_froglight/summon armor_stand ~ ~1 ~ {Tags:["c9_gen","c9_g1"],NoGravity:1b,Invisible:1b,Rotation:[0f,0f]}/summon armor_stand ~ ~1 ~ {Tags:["c9_gen","c9_g2"],NoGravity:1b,Invisible:1b,Rotation:[180f,0f]}/summon block_display ~ ~1.5 ~ {Tags:["c9_orb1"],Glowing:1b,glow_color_override:16776960,block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.1f,1.1f,1.1f],translation:[-0.55f,0f,-0.55f]}}/summon block_display ~ ~1.5 ~ {Tags:["c9_orb2"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.9f,0.9f,0.9f],translation:[-0.45f,0.2f,-0.45f]}}/scoreboard players add #tick c9_t 1/scoreboard players add #age c9_t 1/execute store result score #r c9_rng run random value 0..99/execute if score #tick c9_t matches 1..3 as @e[tag=c9_gen] at @s run tp @s ^ ^ ^1/execute as @e[tag=c9_gen] at @s unless block ~ ~-1 ~ hay_block run tp @s ~ ~1 ~ ~180 ~/execute if score #tick c9_t matches 1..3 as @e[tag=c9_gen] at @s run fill ~-1 ~ ~-1 ~1 ~3 ~1 air/execute as @e[tag=c9_gen] at @s run particle dust{color:[1.0,0.9,0.2],scale:1.8} ~ ~1.8 ~ 0.7 1.0 0.7 0 12/execute if score #tick c9_t matches 4 as @e[tag=c9_gen] at @s run setblock ~ ~4 ~ ochre_froglight/execute if score #tick c9_t matches 4 as @e[tag=c9_gen] at @s if score #r c9_rng matches 0..25 run fill ~-2 ~ ~-2 ~2 ~3 ~2 air replace stripped_birch_wood/execute if score #tick c9_t matches 4 as @e[tag=c9_gen] at @s if score #r c9_rng matches 0..44 run tp @s ~ ~ ~ ~90 ~/execute if score #tick c9_t matches 4 as @e[tag=c9_gen] at @s if score #r c9_rng matches 45..89 run tp @s ~ ~ ~ ~-90 ~/execute as @e[tag=c9_g1] at @s run tp @e[tag=c9_orb1,limit=1] ~ ~1.2 ~ ~15 ~/execute as @e[tag=c9_g2] at @s run tp @e[tag=c9_orb2,limit=1] ~ ~1.2 ~ ~-15 ~/execute if score #tick c9_t matches 4.. run scoreboard players set #tick c9_t 0setup #4 Fills a 29x29x4 block of <code>stripped_birch_wood</code> over a <code>hay_block</code> carpet floor. Leaving the top open without a solid roof lets you see inside the hallways from above as they are carved.loop #6 As the two invisible generator armor stands step forward three blocks at a time, they clear a 3x4x3 tunnel of air through the yellow wood walls.loop #8 Every fourth step at an intersection node, the generator places an <code>ochre_froglight</code> overhead to act as a buzzing fluorescent ceiling light.loop #10 Uses the random score in <code>c9_rng</code> to rotate the carving agents 90 degrees left or right on a 3-block grid, creating authentic orthogonal Backrooms corridors and pillars.


Recorded on our own test server: 54 frames at about 8.9 fps. Our image check saw: An open-top maze resembling the Backrooms with wood walls, yellow carpet floors, floating froglights, and glowing item icons.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the Backrooms generate endlessly around a real player as they walk, replace @e[tag=c9_gen] in the loop commands with @a and summon the carver orbs at ^ ^ ^6 in front of the player so hallways open up just ahead of where you look.
/kill @e[tag=c9_gen]/kill @e[tag=c9_orb1]/kill @e[tag=c9_orb2]/fill ~-14 ~ ~-14 ~14 ~5 ~14 air/scoreboard objectives remove c9_t/scoreboard objectives remove c9_rngA solid ceiling hides the procedural generation from outside viewers. Leaving the ceiling open with floating ochre froglight fixtures lets you watch the corridors and rooms get carved out in real time while still lighting the yellow walls inside.
Loop command 5 checks if there is still a hay block floor underneath the orb. As soon as an orb reaches the border of the 29x29 arena, it automatically turns 180 degrees and continues carving back toward the interior.
▶Mythic World-Tree Yggdrasil BloomingSelf-building StructuresExpert20 cmds
▶Automated Spire ConstructorSelf-building StructuresMedium19 cmds
▶Autonomous Cave BorrowerSelf-building StructuresHard24 cmds
▶Bonsai Cherry Blossom Time-Lapse SculptingSelf-building StructuresHard24 cmds
▶Colossal Algorithmic Maze BuilderSelf-building StructuresHard22 cmds
▶Procedural Yellow Backrooms Maze GeneratorSelf-building StructuresHard25 cmds