Watch a glowing constructor drone rapidly build a procedural deepslate labyrinth outward from a central crystal shrine, complete with buzzing ceiling lights.
Spawners & GeneratorsTechnologyDarkMysticBlackCyanBlueMini-gameMap MakingBuilding ToolBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
From a glowing crystal shrine at the center, a hovering beacon drone shoots outward across the grass, raising uniform deepslate_bricks walls, carving 3-wide corridors, and switching on overhead sea_lantern lights as it goes.
Each run generates a brand-new branching maze using a growing-tree algorithm driven entirely by marker entities. When a corridor hits the outer border or runs out of room, the drone warps back to an active junction to sprout another wing until the whole grid is filled with sparking ceiling lights.
/fill ~-18 ~-1 ~-18 ~18 ~-1 ~18 minecraft:polished_deepslate/fill ~-14 ~-1 ~-14 ~14 ~-1 ~14 minecraft:grass_block/fill ~-2 ~-1 ~-2 ~2 ~2 ~2 minecraft:polished_deepslate hollow/summon minecraft:end_crystal ~ ~3.2 ~ {ShowBottom:0b,Invulnerable:1b,Tags:["c9_core"]}/summon minecraft:marker ~ ~3 ~ {Tags:["c9_front"]}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_head"],block_state:{Name:"minecraft:beacon"},glowing:1b,brightness:{sky:15,block:15},teleport_duration:1,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,1.2f,-0.4f],scale:[0.8f,0.8f,0.8f]}}/summon minecraft:marker ~ ~ ~ {Tags:["c9_dir"],Rotation:[0.0f,0.0f]}/summon minecraft:marker ~ ~ ~ {Tags:["c9_dir"],Rotation:[90.0f,0.0f]}/summon minecraft:marker ~ ~ ~ {Tags:["c9_dir"],Rotation:[180.0f,0.0f]}/summon minecraft:marker ~ ~ ~ {Tags:["c9_dir"],Rotation:[-90.0f,0.0f]}/tag @e[type=marker,tag=c9_dir] remove c9_valid/tag @e[type=marker,tag=c9_dir] remove c9_pick/execute at @e[type=block_display,tag=c9_head] as @e[type=marker,tag=c9_dir] rotated as @s if block ^ ^-1 ^4 minecraft:grass_block run tag @s add c9_valid/execute as @e[type=marker,tag=c9_valid,sort=random,limit=1] run tag @s add c9_pick/execute if entity @e[type=marker,tag=c9_pick] at @e[type=block_display,tag=c9_head] rotated as @e[type=marker,tag=c9_pick,limit=1] run tp @e[type=block_display,tag=c9_head] ^ ^ ^4/execute if entity @e[type=marker,tag=c9_pick] at @e[type=block_display,tag=c9_head] run fill ~-2 ~-1 ~-2 ~2 ~2 ~2 minecraft:deepslate_bricks/execute if entity @e[type=marker,tag=c9_pick] at @e[type=block_display,tag=c9_head] run fill ~-1 ~0 ~-1 ~1 ~2 ~1 minecraft:air/execute if entity @e[type=marker,tag=c9_pick] at @e[type=block_display,tag=c9_head] rotated as @e[type=marker,tag=c9_pick,limit=1] run fill ^-1 ^0 ^-2 ^1 ^2 ^-2 minecraft:air/execute if entity @e[type=marker,tag=c9_pick] at @e[type=block_display,tag=c9_head] run setblock ~ ~3 ~ minecraft:sea_lantern/execute if entity @e[type=marker,tag=c9_pick] at @e[type=block_display,tag=c9_head] run summon minecraft:marker ~ ~3 ~ {Tags:["c9_light","c9_front"]}/execute unless entity @e[type=marker,tag=c9_pick] at @e[type=block_display,tag=c9_head] run tag @e[type=marker,tag=c9_front,distance=..3.5] remove c9_front/execute unless entity @e[type=marker,tag=c9_pick] at @e[type=marker,tag=c9_front,sort=random,limit=1] run tp @e[type=block_display,tag=c9_head] ~ ~-3 ~/execute at @e[type=block_display,tag=c9_head] run particle minecraft:dust{color:[0.15,0.95,1.0],scale:1.4} ~ ~1.6 ~ 0.6 0.6 0.6 0 8/execute at @e[type=marker,tag=c9_light,sort=random,limit=6] run particle minecraft:electric_spark ~ ~ ~ 0.35 0.15 0.35 0.02 4setup #1 Prepares the outer <code>polished_deepslate</code> border and inner 29x29 grass grid; the border stops corridors cleanly at the edge of the stage.setup #6 Summons the glowing beacon <code>block_display</code> drone with <code>teleport_duration:1</code> so it glides smoothly between cells.loop #3 Uses the four rotated <code>c9_dir</code> markers to check 4 blocks ahead in each cardinal direction for unvisited <code>grass_block</code> floor.loop #8 After raising a new cell's walls and hollowing the room, carves a 3x3 doorway back toward the previous cell.loop #11 When no unvisited neighbors remain, prunes the dead-end <code>c9_front</code> marker and jumps the drone to another active frontier junction.loop #14 Spawns buzzing <code>electric_spark</code> particles around random ceiling lights across all built corridors.


Recorded on our own test server: 47 frames at about 9.4 fps. Our image check saw: An overhead view of a completed deepslate-brick labyrinth with 3-wide corridors, overhead sea lanterns, a central end crystal, and a blue particle-emitting beacon nearby, though no active building motion is visible across the three nearly identical frames.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
This creation runs automatically around its starting point with no special items required. Players can walk directly into the central shrine and explore the corridors as they build, or run the remove and setup commands at a new location to generate a fresh maze layout.
/kill @e[tag=c9_head]/kill @e[tag=c9_core]/kill @e[tag=c9_dir]/kill @e[tag=c9_light]/kill @e[tag=c9_front]/fill ~-18 ~0 ~-18 ~18 ~5 ~18 minecraft:air/fill ~-18 ~-1 ~-18 ~18 ~-1 ~18 minecraft:grass_blockRun the <code>remove</code> commands to reset the grass platform, then run the <code>setup</code> commands again. Because directions and frontier jumps use <code>sort=random</code>, every run creates a unique labyrinth.
Once all 49 cells in the 7x7 grid have been built and every dead end has been checked, all <code>c9_front</code> markers are cleared. The maze is complete while the ceiling lights keep buzzing.
▶Runic Obelisk Mob Wave SummonerSpawners & GeneratorsHard25 cmds
▶Bézier Curve Path BuilderSpawners & GeneratorsHard22 cmds
▶Vortex Suction DispenserSpawners & GeneratorsMedium26 cmds
▶Tesla Coil Lightning Arc SpawnerSpawners & GeneratorsMedium24 cmds
▶Hurdy-Gurdy Rosin-Wheel Boss SummonerSpawners & GeneratorsHard24 cmds
▶Marionette Wooden-Crossbar String Puppeteer SpawnerSpawners & GeneratorsHard24 cmds