Generate an eerie procedural Backrooms labyrinth in real time with glowing architect orbs that carve out yellow corridors, damp carpets, and ceiling lights.
Self-building StructuresHorrorTechnologyYellowWhiteMini-gameMap MakingAdventure MapArmor standsSummoned mobsBlock building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands
Watch an empty plot transform into an endless yellow labyrinth right from above. This command creation begins with a solid monolith of yellow walls and unleashes four glowing architect orbs that carve out damp carpets, wallpapered corridors, and buzzing fluorescent ceiling lights in real time.
By leaving an open-top cutaway view with suspended light grids and floating particle beacons, you can clearly watch the maze take shape as the orbs tunnel through the monolith and remodel rooms on the fly.
/scoreboard objectives add c9_timer dummy/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 minecraft:stripped_oak_wood/fill ~-16 ~ ~-16 ~16 ~3 ~16 minecraft:yellow_terracotta/fill ~-16 ~ ~-16 ~16 ~ ~16 minecraft:stripped_birch_wood/fill ~-2 ~-1 ~-2 ~2 ~3 ~2 minecraft:air/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:yellow_wool/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[0f,0f]}/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[90f,0f]}/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[180f,0f]}/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[270f,0f]}/scoreboard players add #tick c9_timer 1/execute as @e[tag=c9_gen] at @s run particle minecraft:dust{color:[1.0,0.9,0.2],scale:2.0} ~ ~2.5 ~ 0.3 1.0 0.3 0 6 force/execute as @e[tag=c9_gen] at @s run particle minecraft:end_rod ~ ~1.5 ~ 0.2 0.5 0.2 0.02 2 force/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run tp @s ~ ~ ~ ~90 0/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen,limit=2,sort=random] at @s run tp @s ~ ~ ~ ~180 0/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s if block ^ ^ ^4 minecraft:yellow_terracotta run fill ^-1 ^ ^1 ^1 ^3 ^3 minecraft:air/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s if block ^ ^ ^4 minecraft:yellow_terracotta run fill ^-1 ^-1 ^1 ^1 ^-1 ^3 minecraft:yellow_wool/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s if block ^ ^ ^4 minecraft:yellow_terracotta run tp @s ^ ^ ^4/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen,limit=1,sort=random] at @s if block ^ ^ ^4 minecraft:air run tp @s ^ ^ ^4/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run fill ~-1 ~ ~-1 ~1 ~3 ~1 minecraft:air/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:yellow_wool/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run setblock ~ ~3 ~ minecraft:sea_lantern/execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run playsound minecraft:block.beehive.work master @a ~ ~ ~ 0.4 0.5/execute if score #tick c9_timer matches 4.. run scoreboard players set #tick c9_timer 0setup #3 Builds the 33x33 solid yellow terracotta monolith with a stripped birch baseboard that the architect orbs will carve their corridors out of, leaving the top open so you can watch the maze form from above.setup #7 Summons the invisible, glowing architect armor stands wearing ochre froglights at the central starting room, facing four cardinal directions.loop #5 Every 4 ticks, rotates all four generators by 90 degrees and then picks two at random to flip 180 degrees, giving each orb an unpredictable left or right turn.loop #6 Checks if the target cell 4 blocks ahead is still solid yellow terracotta inside the monolith before carving the doorway and floor.loop #8 Teleports the generator 4 blocks forward only when it is stepping into valid uncarved terracotta, keeping all four orbs strictly inside the 33x33 maze boundary.loop #12 Places a suspended sea lantern ceiling light above each newly carved room and plays a low buzzing sound effect.


Recorded on our own test server: 57 frames at about 9.5 fps. Our image check saw: A large solid yellow block viewed from above splits into corridors as glowing entities with yellow particles carve out a maze with suspended ceiling lights.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
If you want to explore the Backrooms from the inside with an enclosed roof after the maze finishes generating, run /fill ~-16 ~4 ~-16 ~16 ~4 ~16 minecraft:smooth_stone from the stage center to seal the ceiling, and remove the generator orbs with /kill @e[tag=c9_gen].
/kill @e[tag=c9_gen]/fill ~-16 ~ ~-16 ~16 ~5 ~16 minecraft:air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 minecraft:grass_block/scoreboard objectives remove c9_timerEach generator checks if the block 4 spaces ahead is yellow terracotta or an already carved air corridor before moving, so they naturally bounce back at the outer walls of the monolith.
Yes! Change the number 4 in the loop commands (matches 4..) to a lower number like 2 for faster carving, or a higher number like 10 for slower step-by-step carving.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Procedural Yellow Backrooms Maze GeneratorSelf-building StructuresHard25 cmds
▶Self-Building Liminal HallsSelf-building StructuresHard24 cmds
▶Self-Building Infinite Yellow HallsSelf-building StructuresHard24 cmds
▶Self-Generating Liminal FacilitySelf-building StructuresHard24 cmds
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds
▶Automated Lighthouse Fresnel Lens IgnitionSelf-building StructuresMedium24 cmds