Build a self-driving Minecraft dungeon generator with vanilla commands! Watch a glowing architect core scan and stamp down connected, open-top gilded chambers.
Self-building StructuresTechnologyMedievalCyanBlueGoldBuilding ToolMap MakingAdventure MapBlock displaysBlock building (fill/setblock/clone)Rotation math21+ commands
The Autonomous Room-Stitching Engine is a self-driving dungeon generator powered purely by vanilla Minecraft commands. When activated, a spinning holographic architect core hovers across the platform, projecting cyan laser grids onto empty space before stamping down walled stone brick chambers, gilded blackstone floors, and glowing sea lanterns.
Unlike enclosed boxes that hide the interior, this generator builds open-top cut-away dungeon wings around a central sanctuary and automatically carves arched doorways and glowing gold floor paths between every adjacent room as it expands.
/scoreboard objectives add c9_timer dummy/scoreboard objectives add c9_step dummy/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 deepslate_tiles/fill ~-16 ~-1 ~-1 ~16 ~-1 ~1 polished_blackstone_bricks/fill ~-1 ~-1 ~-16 ~1 ~-1 ~16 polished_blackstone_bricks/fill ~-3 ~-1 ~-3 ~3 ~3 ~3 stone_bricks hollow/fill ~-2 ~3 ~-2 ~2 ~3 ~2 tinted_glass/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 gilded_blackstone/setblock ~ ~-1 ~ sea_lantern/summon block_display ~ ~4.5 ~ {Tags:["c9_core"],Glowing:1b,block_state:{Name:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.4f,1.4f,1.4f],translation:[-0.7f,-0.7f,-0.7f]}}/scoreboard players add @e[tag=c9_core] c9_timer 1/execute as @e[tag=c9_core,scores={c9_timer=18..}] run scoreboard players add @s c9_step 1/execute as @e[tag=c9_core,scores={c9_timer=18..}] run scoreboard players set @s c9_timer 0/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~12 ~/execute at @e[tag=c9_core] run particle dust{color:[0.0,0.95,1.0],scale:2.0} ~ ~-1.5 ~ 2.4 1.5 2.4 0 25/execute at @e[tag=c9_core] run particle end_rod ~ ~-2 ~ 1.5 1.2 1.5 0.03 8/execute as @e[tag=c9_core,scores={c9_timer=1,c9_step=1}] run tp @s ~6 ~4.5 ~/execute as @e[tag=c9_core,scores={c9_timer=1,c9_step=2}] run tp @s ~6 ~4.5 ~6/execute as @e[tag=c9_core,scores={c9_timer=1,c9_step=3}] run tp @s ~ ~4.5 ~6/execute as @e[tag=c9_core,scores={c9_timer=1,c9_step=4}] run tp @s ~-6 ~4.5 ~6/execute as @e[tag=c9_core,scores={c9_timer=1,c9_step=5}] run tp @s ~-6 ~4.5 ~/execute as @e[tag=c9_core,scores={c9_timer=1,c9_step=6}] run tp @s ~-6 ~4.5 ~-6/execute as @e[tag=c9_core,scores={c9_timer=1,c9_step=7}] run tp @s ~ ~4.5 ~-6/execute at @e[tag=c9_core,scores={c9_timer=10,c9_step=1..7}] run fill ~-3 ~-5.5 ~-3 ~3 ~-1.5 ~3 stone_bricks outlinesetup #10 Summons the scaled-up glowing beacon block_display entity tagged <code>c9_core</code> at 4.5 blocks above the floor so it stays clearly visible above the dungeon walls.loop #5 Projects a dense cyan laser dust grid underneath the hovering architect core to simulate spatial room scanning before construction.loop #7 Moves the architect core along a 6-block grid perimeter around the central hub room on each step of the generation cycle.loop #14 Stamps a 7x5x7 stone brick room structure below the architect core on tick 10 of each step, automatically stitching walls onto the neighboring chambers.


Recorded on our own test server: 39 frames at about 6.4 fps. Our image check saw: A glowing spinning core hovers with blue particles, automatically building stone brick structures over a dark platform.
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 manually steer where rooms are stitched, replace the automated step teleport commands (loop commands 7 through 13) with /execute at @p run tp @e[tag=c9_core] ^ ^3 ^6 so the architect core hovers 6 blocks ahead of wherever you look and builds dungeon rooms along your path.
/kill @e[tag=c9_core]/scoreboard objectives remove c9_timer/scoreboard objectives remove c9_step/fill ~-16 ~ ~-16 ~16 ~8 ~16 air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 grass_blockHovering at Y+4.5 keeps the glowing beacon core directly above the 4-block-tall stone brick walls so you can always see it scanning and stamping rooms from a high camera angle.
Yes! Edit the final loop command's relative coordinates and block type (for example, changing stone_bricks to deepslate_bricks) to customize every room the core stamps down.
▶Automated Procedural Maze BuilderSelf-building StructuresHard24 cmds
▶Automated Spire ConstructorSelf-building StructuresMedium19 cmds
▶Colossal Algorithmic Maze BuilderSelf-building StructuresHard22 cmds
▶Da Vinci Flying Machine AssemblySelf-building StructuresHard24 cmds
▶Procedural Dungeon GeneratorSelf-building StructuresExpert24 cmds
▶Autonomous Dungeon ArchitectSelf-building StructuresExpert24 cmds