Watch six glowing builders sprint across a dark canvas to carve an intricate, shifting multi-colored labyrinth with upright walls in real time.
Self-building StructuresMysticTechnologyPurpleCyanBlackMini-gameBuilding ToolMap MakingBlock displaysArmor standsSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
The High-Speed Multi-Shape Maze Generator uses six glowing builder entities to carve intricate, shifting geometric mazes on a dark blackstone canvas in seconds. As the builders sprint along a strict two-block grid, they leave behind color-coded corridors and upright barrier walls that intersect into a shifting labyrinth.
Each builder belongs to one of three distinct architectural groups—oxidized copper, purpur, or gilded blackstone—creating a glowing patchwork of pathways surrounded by swirling dust particles and a floating central beacon.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_rng dummy/fill ~-14 ~-1 ~-14 ~14 ~-1 ~14 minecraft:polished_blackstone/fill ~-15 ~-1 ~-15 ~15 ~2 ~-15 minecraft:chiseled_deepslate/fill ~-15 ~-1 ~15 ~15 ~2 ~15 minecraft:chiseled_deepslate/fill ~-15 ~-1 ~-14 ~-15 ~2 ~14 minecraft:chiseled_deepslate/fill ~15 ~-1 ~-14 ~15 ~2 ~14 minecraft:chiseled_deepslate/summon minecraft:block_display ~-0.5 ~3.5 ~-0.5 {Tags:["c9_core"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"}}/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_b","c9_b1"],Invisible:1b,NoGravity:1b,Glowing:1b,Rotation:[0f,0f],equipment:{head:{id:"minecraft:sea_lantern",count:1}}}/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_b","c9_b1"],Invisible:1b,NoGravity:1b,Glowing:1b,Rotation:[180f,0f],equipment:{head:{id:"minecraft:sea_lantern",count:1}}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 2..3 run summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_b","c9_b2"],Invisible:1b,NoGravity:1b,Glowing:1b,Rotation:[90f,0f],equipment:{head:{id:"minecraft:shroomlight",count:1}}}/execute if score #tick c9_t matches 4..5 run summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_b","c9_b3"],Invisible:1b,NoGravity:1b,Glowing:1b,Rotation:[270f,0f],equipment:{head:{id:"minecraft:amethyst_block",count:1}}}/execute as @e[tag=c9_b] store result score @s c9_rng run random value 0..3/execute as @e[tag=c9_b,scores={c9_rng=0}] at @s run tp @s ~ ~ ~ ~90 0/execute as @e[tag=c9_b,scores={c9_rng=1}] at @s run tp @s ~ ~ ~ ~-90 0/execute as @e[tag=c9_b,tag=c9_b1] at @s unless block ^ ^-1 ^2 minecraft:chiseled_deepslate run fill ^ ^-1 ^1 ^ ^-1 ^2 minecraft:oxidized_cut_copper/execute as @e[tag=c9_b,tag=c9_b2] at @s unless block ^ ^-1 ^2 minecraft:chiseled_deepslate run fill ^ ^-1 ^1 ^ ^-1 ^2 minecraft:purpur_block/execute as @e[tag=c9_b,tag=c9_b3] at @s unless block ^ ^-1 ^2 minecraft:chiseled_deepslate run fill ^ ^-1 ^1 ^ ^-1 ^2 minecraft:gilded_blackstone/execute as @e[tag=c9_b] at @s unless block ^ ^-1 ^2 minecraft:chiseled_deepslate run fill ^ ^ ^1 ^ ^1 ^2 minecraft:air replace minecraft:deepslate_tile_wall/execute as @e[tag=c9_b] at @s unless block ^ ^-1 ^2 minecraft:chiseled_deepslate run tp @s ^ ^ ^2/execute as @e[tag=c9_b] at @s run fill ~-1 ~ ~-1 ~1 ~1 ~1 minecraft:deepslate_tile_wall keep/execute as @e[tag=c9_b] at @s run fill ~ ~ ~ ~ ~1 ~ minecraft:air/execute at @e[tag=c9_b] run particle minecraft:dust{color:[0.2,1.0,0.9],scale:1.5} ~ ~1.5 ~ 0.25 0.25 0.25 0 4 forceloop #2 Uses <code>run summon</code> on ticks 2 and 3 to spawn two glowing shroomlight-headed builders facing East, bringing the builder count up without exceeding limits.loop #4 Generates a random number between 0 and 3 for every builder each tick using the <code>/random</code> command, determining whether the builder turns 90 degrees left, right, or continues straight.loop #7 Checks that the block two spaces ahead is not the outer border wall, then paints a 2-block floor segment of oxidized cut copper using local <code>^ ^ ^</code> coordinates.loop #10 Carves a 2-block-tall doorway forward through any existing deepslate tile walls before the builder steps forward two blocks on the grid.loop #12 Places a 3x2x3 ring of deepslate tile walls around the builder's new position using <code>keep</code> so existing corridors aren't overwritten, followed by clearing the builder's own center tile.


Recorded on our own test server: 57 frames at about 9.5 fps. Our image check saw: Glowing armor stands move across a dark blackstone grid, leaving behind corridors of purple amethyst, oxidized copper, andilded blackstone.
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 real player carve the maze manually as they walk, add the tag c9_b and c9_b1 to yourself with /tag @s add c9_b and disable loop commands 4, 5, and 10 so you control your own movement and rotation while walls and floors generate around you.
/kill @e[tag=c9_b]/kill @e[tag=c9_core]/scoreboard objectives remove c9_t/scoreboard objectives remove c9_rng/fill ~-15 ~ ~-15 ~15 ~4 ~15 minecraft:air/fill ~-15 ~-1 ~-15 ~15 ~-1 ~15 minecraft:grass_blockMoving in two-block steps ensures that every corridor is separated by a 1-block-thick wall on an even-odd grid, creating real maze walls instead of a hollow room.
The builders continue patrolling and re-carving shifting pathways through existing walls, turning the arena into an ever-changing labyrinth that never gets players permanently stuck.
▶Automated Spire ConstructorSelf-building StructuresMedium19 cmds
▶Colossal Algorithmic Maze BuilderSelf-building StructuresHard22 cmds
▶Glitching Farlands Wall GeneratorSelf-building StructuresMedium24 cmds
▶Automated Orbital Dome BuilderSelf-building StructuresMedium23 cmds
▶Autonomous Colossus Orb BuilderSelf-building StructuresHard23 cmds
▶Autonomous Dungeon ArchitectSelf-building StructuresExpert24 cmds