Backrooms Yellow Maze Generator

Generate an eerie procedural Backrooms labyrinth in real time with glowing architect orbs that carve out yellow corridors, damp carpets, and ceiling lights.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
Glowing orbs carve a yellow Backrooms labyrinth with suspended lights from a solid block in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 minecraft:stripped_oak_wood
  3. /fill ~-16 ~ ~-16 ~16 ~3 ~16 minecraft:yellow_terracotta
  4. /fill ~-16 ~ ~-16 ~16 ~ ~16 minecraft:stripped_birch_wood
  5. /fill ~-2 ~-1 ~-2 ~2 ~3 ~2 minecraft:air
  6. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:yellow_wool
  7. /summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[0f,0f]}
  8. /summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[90f,0f]}
  9. /summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[180f,0f]}
  10. /summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_gen"],NoGravity:1b,Invisible:1b,Glowing:1b,equipment:{head:{id:"minecraft:ochre_froglight",count:1}},Rotation:[270f,0f]}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add #tick c9_timer 1
  2. /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
  3. /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
  4. /execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run tp @s ~ ~ ~ ~90 0
  5. /execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen,limit=2,sort=random] at @s run tp @s ~ ~ ~ ~180 0
  6. /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
  7. /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
  8. /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
  9. /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
  10. /execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run fill ~-1 ~ ~-1 ~1 ~3 ~1 minecraft:air
  11. /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
  12. /execute if score #tick c9_timer matches 4.. as @e[tag=c9_gen] at @s run setblock ~ ~3 ~ minecraft:sea_lantern
  13. /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
  14. /execute if score #tick c9_timer matches 4.. run scoreboard players set #tick c9_timer 0

How it works

Frames from the test run

Backrooms Yellow Maze Generator - frame 1Backrooms Yellow Maze Generator - frame 2Backrooms Yellow Maze Generator - frame 3

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.

Build it in your world

  1. Clear or find a flat 41x41 area and stand at the exact center block.
  2. Run each of the 10 setup commands in chat to create the scoreboard objective, build the solid yellow monolith, and summon the 4 architect orbs in the center room.
  3. Place a repeating command block set to Always Active beneath or outside the stage, and connect 13 chain command blocks (Always Active, Unconditional) in a line.
  4. Paste the 14 loop commands in order into the repeating and chain command blocks, wrapping them with execute positioned at your stage center.
  5. Fly up above the monolith to watch the glowing orbs tunnel outward, lay down yellow wool carpets, and install sea lantern lights.

Use it with real players

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].

Remove it again 4 commands

  1. /kill @e[tag=c9_gen]
  2. /fill ~-16 ~ ~-16 ~16 ~5 ~16 minecraft:air
  3. /fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 minecraft:grass_block
  4. /scoreboard objectives remove c9_timer

FAQ

Why do the orbs never wander off the edge of the stage?

Each 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.

Can I make the maze generate faster or slower?

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.

Commands used

/execute/fill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides