Uploaded July 2023 | Updated September 2026, 1 week ago
Check out my maze generator web app - dqwertyc.github.io/unity-maze-generator
Join the Command Block Cove on Discord - discord.gg/Vr9vfP6EqH
In this video, I demonstrate a redstone maze generator designed using a variant of the recursive division algorithm. Each step through the algorithm, the existing maze is divided into quarters, and the quarters are connected by one door on three of the sides. Each quarter is then generated using the same process, until the maze is filled with 2x2 mazes.
Check out these other awesome redstone maze generators:
Hunt-And-Kill by CaptainLuma - youtube.com/watch?v=u5gFsCU_MK0
Prim's Algorithm by RaPsCaLLioN1138 - youtube.com/watch?v=q2ZceGqyvJ4
Music by Gravity Sound Studio.
Check out my maze generator web app - dqwertyc.github.io/unity-maze-generator
Join the Command Block Cove on Discord - discord.gg/Vr9vfP6EqH
In this video, I demonstrate a redstone maze generator designed using a variant of the recursive division algorithm. Each step through the algorithm, the existing maze is divided into quarters, and the quarters are connected by one door on three of the sides. Each quarter is then generated using the same process, until the maze is filled with 2x2 mazes.
Check out these other awesome redstone maze generators:
Hunt-And-Kill by CaptainLuma - youtube.com/watch?v=u5gFsCU_MK0
Prim's Algorithm by RaPsCaLLioN1138 - youtube.com/watch?v=q2ZceGqyvJ4
Music by Gravity Sound Studio.



![Langtons Ant in Minecraft (Just 5 Commands)
This week, were creating Langtons Ant in Minecraft with just 5 commands!
Langtons Ant is a simple 2-D system where an ant traverses a field of cells, and changes direction each turn based on the color of the cell beneath it. These simple rules lead to fairly complicated behavior. You can read more about Langtons Ant on Wikipedia: https://en.wikipedia.org/wiki/Langton%27s_ant
Langtons Ant was featured in Minecrafts 2020 April Fools update (Snapshot 20w14∞). By typing the command /warp ant, players would be teleported to a superflat dimension containing a single ant following its simple routine.
Here are the commands used in this episode:
Command 1 - Check for white concrete and turn right:
execute as @e[type=armor_stand,name=Langton] at @s if block ~ ~-1 ~ minecraft:white_concrete run tp @s ~ ~0.25 ~ ~90 0
Command 2 - Check for black concrete and turn left:
execute as @e[type=armor_stand,name=Langton] at @s if block ~ ~-1 ~ minecraft:black_concrete run tp @s ~ ~0.75 ~ ~-90 0
Command 3 - Toggle white concrete:
execute as @e[type=armor_stand,name=Langton] at @s align y if entity @s[distance=0.2..0.3] run setblock ~ ~-1 ~ minecraft:black_concrete
Command 4 - Toggle black concrete:
execute as @e[type=armor_stand,name=Langton] at @s align y if entity @s[distance=0.7..0.8] run setblock ~ ~-1 ~ minecraft:white_concrete
Command 5 - Move forward:
execute as @e[type=armor_stand,name=Langton] at @s rotated as @s positioned ^ ^ ^1 align xyz run tp @s ~0.5 ~ ~0.5
Chapters:
0:00 Overview and Demo
3:42 Command 1
4:37 Command 2
4:56 Command 3
5:49 Command 4
6:06 Command 5
7:11 Timelapse
8:24 Outro Langtons Ant in Minecraft (Just 5 Commands)](https://i.ytimg.com/vi/N9c_IPjx-Jo/mqdefault.jpg)





![Minecraft 1.20.6: Mini Cap for Redstone Builds
I was working on a Redstone project, and found that the new Scale attribute is actually pretty nifty for building. Heres a silly video showing it off!
This is the full give command, barely inside the character limit for chat:
/give @p leather_helmet[minecraft:dyed_color=2129920,minecraft:custom_name={text:Mini Cap,italic:false},minecraft:attribute_modifiers=[{type:minecraft:generic.scale,slot:head,uuid:[I;0,0,0,1],name:s,amount:-0.75,operation:add_value}]]
Join the Command Block Cove: https://discord.com/invite/Vr9vfP6EqH Minecraft 1.20.6: Mini Cap for Redstone Builds](https://i.ytimg.com/vi/O7ivSqE-4_0/mqdefault.jpg)
![The Five Command Maze Generator Explained
Questions about this episode or want help on your own Minecraft creations? Join the Command Block Cove on Discord: https://discord.gg/Vr9vfP6EqH
Be on the lookout for a world tour and download sometime next week!
Commands:
Command 1 - Reset the Maze
execute if entity @e[type=snowball,nbt={Item:{tag:{display:{Name:{text:Reset}}}}}] at @e[name=maze_walker] unless entity @e[name=maze_tile,distance=0..0.5] run execute as @e[name=maze_tile] at @s store success entity @s NoBasePlate byte 0 run fill ~-1 ~2 ~-1 ~1 ~3 ~1 minecraft:gray_concrete replace air
Command 2 - Rotate Unvisited Neighbors
execute at @e[name=maze_walker] as @e[name=maze_tile,nbt={NoBasePlate:0b},distance=1.5..2.5] at @s facing entity @e[name=maze_walker,sort=nearest,limit=1] eyes run tp @s ~ ~ ~ ~ 0
Command 3 - Teleport to Random Neighbor
execute at @e[name=maze_walker] as @e[name=maze_tile,nbt={NoBasePlate:0b},distance=1.5..2.5,sort=random,limit=1] store success entity @s NoBasePlate byte 1 run tp @e[name=maze_walker,sort=nearest,limit=1] @s
Command 4 - Carve Out Walls
execute as @e[name=maze_walker] at @s rotated as @e[name=maze_tile,distance=0..0.5,sort=nearest,limit=1] rotated ~ 0 store success entity @s NoBasePlate byte 1 run fill ^ ^3 ^ ^ ^5 ^2 minecraft:air
Command 5 - Backtrack if Necessary
execute as @e[name=maze_walker,nbt={NoBasePlate:0b}] at @s rotated as @e[name=maze_tile,sort=nearest,distance=0..0.5,limit=1] run tp @s ^ ^ ^2
Chapters:
00:00 - Introduction
00:23 - Depth First Search Algorithm
02:30 - Command 1
05:18 - Command 2
06:39 - Command 3
07:42 - Command 4
10:01 - Command 5
10:45 - Outro The Five Command Maze Generator Explained](https://i.ytimg.com/vi/P7C73oJ16ys/mqdefault.jpg)