Infinite Monotone Corridor Generator

Generate endless yellow-wallpapered Backrooms corridors with buzzing fluorescent lights that automatically assemble and dissolve across your world.

Java EditionComplex Contraptions & CinematicsMedium21 commandsTested on a real 26.2 & 26.3 server
A yellow corridor network with glowing ceiling lights automatically generates outward in four directions at night. Download the GIF Video & GIF © www.9minecraft.net

Self-building StructuresHorrorDarkYellowWhiteCyanAdventure MapMap MakingBuilding ToolItem displaysArmor standsRiding & passengersBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands

Watch an eerie network of yellow-wallpapered hallways and buzzing fluorescent lights construct itself out of thin air. Four builder orbs travel outward from a central glowing core, weaving an endless maze of rooms, doorways, and damp carpet before dissolving and starting again.

This command creation brings the iconic Backrooms aesthetic into vanilla Minecraft using autonomous marker entities, block fills, and flickering display lights—all without needing any mods or data packs.

1. Setup - type these once 6 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-15 ~ ~-15 ~15 ~5 ~15 air
  3. /fill ~-2 ~ ~-2 ~2 ~ ~2 stripped_birch_wood
  4. /fill ~-2 ~4 ~-2 ~2 ~4 ~2 smooth_sandstone
  5. /setblock ~ ~4 ~ sea_lantern
  6. /summon item_display ~ ~2 ~ {Tags:["c9_ent","c9_core"],Glowing:1b,glow_color_override:16773000,item:{id:"minecraft:ochre_froglight",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.3f,1.3f,1.3f]}}

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

  1. /scoreboard players add #t c9_tick 1
  2. /execute if score #t c9_tick matches 1 run fill ~-14 ~ ~-14 ~14 ~5 ~14 air
  3. /execute if score #t c9_tick matches 1 run fill ~-2 ~ ~-2 ~2 ~4 ~2 yellow_terracotta hollow
  4. /execute if score #t c9_tick matches 1 run summon area_effect_cloud ~ ~1 ~ {Tags:["c9_ent","c9_spawner"],Duration:5,Passengers:[{id:"minecraft:armor_stand",Tags:["c9_ent","c9_b"],NoGravity:1b,Invisible:1b,Rotation:[0f,0f]},{id:"minecraft:armor_stand",Tags:["c9_ent","c9_b"],NoGravity:1b,Invisible:1b,Rotation:[90f,0f]},{id:"minecraft:armor_stand",Tags:["c9_ent","c9_b"],NoGravity:1b,Invisible:1b,Rotation:[180f,0f]},{id:"minecraft:armor_stand",Tags:["c9_ent","c9_b"],NoGravity:1b,Invisible:1b,Rotation:[270f,0f]}]}
  5. /execute store result score #m c9_tick run scoreboard players get #t c9_tick
  6. /scoreboard players operation #m c9_tick %= #20 c9_tick
  7. /scoreboard players set #20 c9_tick 20
  8. /execute if score #m c9_tick matches 10 as @e[tag=c9_b] at @s run tp @s ~ ~ ~ ~90 ~
  9. /execute if score #m c9_tick matches 0 as @e[tag=c9_b] at @s positioned ^ ^ ^4 if entity @s[distance=..12] run tp @s ~ ~ ~ ~-90 ~
  10. /execute if score #m c9_tick matches 0..1 as @e[tag=c9_b] at @s run fill ~-2 ~-1 ~-2 ~2 ~3 ~2 yellow_terracotta
  11. /execute if score #m c9_tick matches 0..1 as @e[tag=c9_b] at @s run fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 stripped_birch_wood
  12. /execute if score #m c9_tick matches 0..1 as @e[tag=c9_b] at @s run fill ~-1 ~3 ~-1 ~1 ~3 ~1 sea_lantern
  13. /execute as @e[tag=c9_b] at @s run fill ~-1 ~ ~-1 ~1 ~2 ~1 air
  14. /execute as @e[tag=c9_b] at @s run particle dust{color:[1.0,0.95,0.5],scale:1.5} ~ ~1.5 ~ 0.8 0.8 0.8 0 6
  15. /execute if score #t c9_tick matches 180.. run scoreboard players set #t c9_tick 0

How it works

Frames from the test run

Infinite Monotone Corridor Generator - frame 1Infinite Monotone Corridor Generator - frame 2Infinite Monotone Corridor Generator - frame 3

Recorded on our own test server: 47 frames at about 6.6 fps. Our image check saw: A small sandstone core expands outward in four directions into a yellow cross-shaped corridor structure with sea lantern ceilings and a glowing block outline, while glowing cyan structures sit in the background.

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. Create a flat clearing at least 35x35 blocks wide so the corridor maze has room to expand.
  2. Run the 6 setup commands in your chat while standing in the exact middle of your clearing.
  3. Place a repeating command block set to Always Active at the center (or wrapped with execute positioned at the center).
  4. Chain 14 Always Active chain command blocks onto the repeating block and paste the 15 loop commands in order.
  5. Watch the yellow hallways build themselves outward, carving doorways and lighting up the rooms before resetting every 9 seconds.

Use it with real players

To let a player generate corridors by walking around instead of using the automatic demo builders, replace @e[tag=c9_b] in the loop commands with @a[tag=backrooms_walker] and remove the teleport commands (loop commands 8 and 9). Wherever tagged players walk, yellow wallpapered rooms will construct around them while carving an open path ahead.

Remove it again 3 commands

  1. /fill ~-15 ~ ~-15 ~15 ~5 ~15 air
  2. /kill @e[tag=c9_ent]
  3. /scoreboard objectives remove c9_tick

FAQ

Will this generator lag my world or grow forever?

No. The builders are strictly bounded within a 12-block radius of the center and the entire maze resets cleanly every 180 ticks (9 seconds).

Can I change the blocks used for the walls and floors?

Yes! Simply swap out yellow_terracotta, stripped_birch_wood, and sea_lantern in the loop /fill commands with any block IDs you like.

Commands used

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

Similar creations

Join 9Minecraft News & Guides