Watch four glowing builder cubes march across a 4-block grid, automatically assembling an open-top stone brick dungeon with chiseled pillars and soul lanterns.
Self-building StructuresMedievalMysticDarkCyanBlueBuilding ToolAdventure MapMap MakingBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands
Four glowing cyan builder cubes rise from a central chiseled shrine and glide outward across an empty field along a 4-block grid. Every 14 ticks they step forward, turn corners in formation, and construct an open-top stone brick dungeon fortress in real time.
Because the chambers leave the top open, you can clearly watch each room form with chiseled corner pillars, stone brick floors, wide arched doorways connecting the halls, and glowing soul lanterns lighting the walls at night.
/scoreboard objectives add c9_t dummy/fill ~-16 ~ ~-16 ~16 ~8 ~16 air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 grass_block/fill ~-2 ~-1 ~-2 ~2 ~3 ~2 chiseled_stone_bricks/fill ~-1 ~ ~-1 ~1 ~3 ~1 air/setblock ~ ~ ~ soul_lantern/summon block_display ~ ~ ~ {Tags:["c9_gen","c9_b"],Rotation:[180f,0f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:6,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,4.0f,-0.45f]}}/summon block_display ~ ~ ~ {Tags:["c9_gen","c9_b"],Rotation:[0f,0f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:6,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,4.0f,-0.45f]}}/summon block_display ~ ~ ~ {Tags:["c9_gen","c9_b"],Rotation:[-90f,0f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:6,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,4.0f,-0.45f]}}/summon block_display ~ ~ ~ {Tags:["c9_gen","c9_b"],Rotation:[90f,0f],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:6,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,4.0f,-0.45f]}}/scoreboard players add #c9_core c9_t 1/execute at @e[tag=c9_b] run particle dust{color:[0.15,0.95,1.0],scale:1.8} ~ ~3.5 ~ 1.0 1.2 1.0 0 10/execute if score #c9_core c9_t matches 14 as @e[tag=c9_b] run scoreboard players add @s c9_t 1/execute if score #c9_core c9_t matches 14 as @e[tag=c9_b] at @s run tp @s ^ ^ ^4/execute if score #c9_core c9_t matches 14 at @e[tag=c9_b] if block ~-2 ~4 ~-2 air run fill ~-2 ~-1 ~-2 ~2 ~3 ~2 chiseled_stone_bricks/execute if score #c9_core c9_t matches 14 at @e[tag=c9_b] if block ~-2 ~4 ~-2 air run fill ~-1 ~-1 ~-2 ~1 ~2 ~2 stone_bricks/execute if score #c9_core c9_t matches 14 at @e[tag=c9_b] if block ~-2 ~4 ~-2 air run fill ~-2 ~-1 ~-1 ~2 ~2 ~1 stone_bricks/execute if score #c9_core c9_t matches 14 at @e[tag=c9_b] if block ~-2 ~4 ~-2 air run fill ~-1 ~ ~-1 ~1 ~3 ~1 air/execute if score #c9_core c9_t matches 14 at @e[tag=c9_b] if block ~-2 ~4 ~-2 air run setblock ~-2 ~4 ~-2 soul_lantern/execute if score #c9_core c9_t matches 14 at @e[tag=c9_b] positioned ^ ^ ^-2 run fill ~-1 ~ ~-1 ~1 ~2 ~1 air/execute if score #c9_core c9_t matches 14 as @e[tag=c9_b,scores={c9_t=3}] at @s run tp @s ~ ~ ~ ~90 ~/execute if score #c9_core c9_t matches 14 as @e[tag=c9_b,scores={c9_t=6}] at @s run tp @s ~ ~ ~ ~90 ~/execute if score #c9_core c9_t matches 14 run kill @e[tag=c9_b,scores={c9_t=9..}]/execute if score #c9_core c9_t matches 14 run scoreboard players set #c9_core c9_t 0setup #7 Summons a glowing sea lantern <code>block_display</code> tagged <code>c9_b</code> with <code>teleport_duration:6</code> so each 4-block step glides smoothly above the walls at height 4 while its logical position stays on the ground.loop #1 Advances the fake player <code>#c9_core</code> on objective <code>c9_t</code> every tick so all four builders step together once every 14 ticks.loop #5 Checks that the northwest pillar top is still <code>air</code> so already-built rooms are not overwritten, then lays down a 5x5 chiseled frame.loop #6 Replaces the north and south wall segments and floor with <code>stone_bricks</code> while leaving the four corner blocks as <code>chiseled_stone_bricks</code> pillars.loop #10 Uses <code>positioned ^ ^ ^-2</code> behind each builder to carve a 3x3 doorway beneath the chiseled lintel, linking each new room to the previous one.loop #11 Turns each builder 90 degrees right on steps 3 and 6 so the four wings close into a symmetrical 29x29 dungeon complex before removing the builders at step 9.


Recorded on our own test server: 50 frames at about 8.3 fps. Our image check saw: Glowing cyan sea-lantern cubes with blue particles finish constructing a large, open-top grid of chiseled stone brick dungeon corridors and rooms, then disappear.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To trigger a single builder path from where you are standing instead of the four-way demo, give yourself a marker command or run /summon block_display ~ ~ ~ {Tags:["c9_gen","c9_b"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:6,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,4.0f,-0.45f]}} with your current yaw, and keep the 14 loop command blocks active in a loaded chunk.
/kill @e[tag=c9_gen]/scoreboard objectives remove c9_t/fill ~-16 ~ ~-16 ~16 ~8 ~16 air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 grass_blockStep 9 completes the outer square ring and links each wing back into the neighboring corridor, then kills the c9_b entities so they do not keep marching outside the cleared area.
Change the number 14 in loop commands 3 through 14 to a larger number such as 20 for slower steps, or 10 for faster steps.
▶Procedural Dungeon BuilderSelf-building StructuresHard26 cmds
▶Procedural Floating Dungeon ComplexSelf-building StructuresExpert24 cmds
▶Self-Assembling LabyrinthSelf-building StructuresMedium22 cmds
▶Self-Building Procedural DungeonSelf-building StructuresHard24 cmds
▶Self-Carving LabyrinthSelf-building StructuresHard24 cmds
▶Self-Generating Dungeon MazeSelf-building StructuresExpert24 cmds