High-Speed Multi-Shape Maze Generator

Watch six glowing builders sprint across a dark canvas to carve an intricate, shifting multi-colored labyrinth with upright walls in real time.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
Glowing armor stands rapidly carve a color-coded geometric maze into a dark blackstone grid. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard objectives add c9_rng dummy
  3. /fill ~-14 ~-1 ~-14 ~14 ~-1 ~14 minecraft:polished_blackstone
  4. /fill ~-15 ~-1 ~-15 ~15 ~2 ~-15 minecraft:chiseled_deepslate
  5. /fill ~-15 ~-1 ~15 ~15 ~2 ~15 minecraft:chiseled_deepslate
  6. /fill ~-15 ~-1 ~-14 ~-15 ~2 ~14 minecraft:chiseled_deepslate
  7. /fill ~15 ~-1 ~-14 ~15 ~2 ~14 minecraft:chiseled_deepslate
  8. /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"}}
  9. /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}}}
  10. /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}}}

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

  1. /scoreboard players add #tick c9_t 1
  2. /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}}}
  3. /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}}}
  4. /execute as @e[tag=c9_b] store result score @s c9_rng run random value 0..3
  5. /execute as @e[tag=c9_b,scores={c9_rng=0}] at @s run tp @s ~ ~ ~ ~90 0
  6. /execute as @e[tag=c9_b,scores={c9_rng=1}] at @s run tp @s ~ ~ ~ ~-90 0
  7. /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
  8. /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
  9. /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
  10. /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
  11. /execute as @e[tag=c9_b] at @s unless block ^ ^-1 ^2 minecraft:chiseled_deepslate run tp @s ^ ^ ^2
  12. /execute as @e[tag=c9_b] at @s run fill ~-1 ~ ~-1 ~1 ~1 ~1 minecraft:deepslate_tile_wall keep
  13. /execute as @e[tag=c9_b] at @s run fill ~ ~ ~ ~ ~1 ~ minecraft:air
  14. /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 force

How it works

Frames from the test run

High-Speed Multi-Shape Maze Generator - frame 1High-Speed Multi-Shape Maze Generator - frame 2High-Speed Multi-Shape Maze Generator - frame 3

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.

Build it in your world

  1. Stand at the center of a flat open area with at least a 35x35 block clearance.
  2. Run all 10 setup commands in chat or a single impulse command block to build the blackstone canvas, outer border walls, and the initial two sea lantern builders.
  3. Place a row of 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks), all set to Always Active.
  4. Paste the 14 loop commands in order into the command blocks.
  5. Watch the six glowing builders rapidly carve out corridors and erect deepslate walls across the arena.
  6. To reset the canvas and watch a new maze generate, re-run the third setup command to refill the floor and clear the walls inside the border.

Use it with real players

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.

Remove it again 6 commands

  1. /kill @e[tag=c9_b]
  2. /kill @e[tag=c9_core]
  3. /scoreboard objectives remove c9_t
  4. /scoreboard objectives remove c9_rng
  5. /fill ~-15 ~ ~-15 ~15 ~4 ~15 minecraft:air
  6. /fill ~-15 ~-1 ~-15 ~15 ~-1 ~15 minecraft:grass_block

FAQ

Why do the builders move two blocks at a time instead of one?

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

Does the maze stop generating once the board is full?

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.

Commands used

/execute/fill/particle/random/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides