Uploaded November 2024 | Updated November 2026, 5 hours ago
There are a ton of resources out there going over different maze generation algorithms. Probably the most helpful single resource has been Jamis Buck's Blog, which has interactive versions of many of these generators: weblog.jamisbuck.org/2011/2/7/maze-generation-algorithm-recap.html
I've also been working on an updated version of my maze generator web-app, which you can find here: dqwertyc.github.io/maze-generator
To discuss these algorithms, or any of my creations, join the Command Block Cove on Discord: discord.com/invite/Vr9vfP6EqH
Part 2: youtube.com/watch?v=o7OhjEqCvSo
Part 3: youtube.com/watch?v=_32AtO09228
00:00 Intro
00:36 Ranking Rules
01:24 Hunt and Kill
03:13 Recursive Backtracker
04:49 Prim's Algorithm
06:50 Growing Tree
08:47 Kruskal's Algorithm
10:24 Eller's Algorithm
12:21 Sidewinder
13:53 Binary Tree
15:30 Recursive Division
17:06 Binary Division
19:17 Wilson's Algorithm
22:06 Aldous-Broder Algorithm
24:03 Aldous-Broder-Wilson Hybrid
25:55 Origin Shift
28:43 Outro
There are a ton of resources out there going over different maze generation algorithms. Probably the most helpful single resource has been Jamis Buck's Blog, which has interactive versions of many of these generators: weblog.jamisbuck.org/2011/2/7/maze-generation-algorithm-recap.html
I've also been working on an updated version of my maze generator web-app, which you can find here: dqwertyc.github.io/maze-generator
To discuss these algorithms, or any of my creations, join the Command Block Cove on Discord: discord.com/invite/Vr9vfP6EqH
Part 2: youtube.com/watch?v=o7OhjEqCvSo
Part 3: youtube.com/watch?v=_32AtO09228
00:00 Intro
00:36 Ranking Rules
01:24 Hunt and Kill
03:13 Recursive Backtracker
04:49 Prim's Algorithm
06:50 Growing Tree
08:47 Kruskal's Algorithm
10:24 Eller's Algorithm
12:21 Sidewinder
13:53 Binary Tree
15:30 Recursive Division
17:06 Binary Division
19:17 Wilson's Algorithm
22:06 Aldous-Broder Algorithm
24:03 Aldous-Broder-Wilson Hybrid
25:55 Origin Shift
28:43 Outro
![Conways Game of Life using just 5 Commands
This week, were creating Conways Game of Life in Minecraft using just 5 commands!
Conways Game of Life is probably the most famous 2D cellular automata. It features a grid of cells that can either be alive or dead. Each tick, dead cells with exactly 3 living neighbors come to life, and living cells with less than 2 or more than 3 living neighbors die. From these simple rules, extremely complex behavior arises. Learn more about Conways Game of Life here: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Check out my older Game of Life Datapack here: https://www.youtube.com/watch?v=oNfI54A3USI
Here are the commands used in this episode:
Command 1 - Count living neighbors:
execute as @e[type=armor_stand,name=Conway] at @s store result entity @s ArmorItems[3].tag.neighbors byte 1 if entity @e[name=Conway,distance=0.5..1.5,nbt={ArmorItems:[{},{},{},{tag:{display:{color:16383998}}}]}]
Command 2 - Bring cells to life:
execute as @e[type=armor_stand,name=Conway,nbt={ArmorItems:[{},{},{},{tag:{display:{color:1908001}}}]}] if entity @s[nbt={ArmorItems:[{},{},{},{tag:{neighbors:3b}}]}] run data merge entity @s {ArmorItems:[{},{},{},{id:minecraft:leather_helmet,Count:1b,tag:{neighbors:3b,display:{color:16383998}}}],Invisible:1b,Marker:1b,Rotation:[0.0f,0.0f],Pose:{Head:[0.0f,0.0f,0.0f],Body:[0.0f,0.0f,0.0f]}}
Command 3 - Kill cells:
execute as @e[type=armor_stand,name=Conway,nbt={ArmorItems:[{},{},{},{tag:{display:{color:16383998}}}]}] unless entity @s[nbt={ArmorItems:[{},{},{},{tag:{neighbors:2b}}]}] unless entity @s[nbt={ArmorItems:[{},{},{},{tag:{neighbors:3b}}]}] run data merge entity @s {ArmorItems:[{},{},{},{id:minecraft:leather_helmet,Count:1b,tag:{display:{color:1908001}}}],Invisible:1b,Marker:1b,Rotation:[0.0f,0.0f],Pose:{Head:[0.0f,0.0f,0.0f],Body:[0.0f,0.0f,0.0f]}}
Command 4 - Set concrete beneath dead cells:
execute as @e[type=armor_stand,name=Conway,nbt={ArmorItems:[{},{},{},{tag:{display:{color:1908001}}}]}] at @s if block ~ ~-1 ~ minecraft:white_concrete run setblock ~ ~-1 ~ minecraft:black_concrete
Command 5 - Set concrete beneath living cells:
execute as @e[type=armor_stand,name=Conway,nbt={ArmorItems:[{},{},{},{tag:{display:{color:16383998}}}]}] at @s if block ~ ~-1 ~ minecraft:black_concrete run setblock ~ ~-1 ~ minecraft:white_concrete
Chapters:
0:00 Intro
2:30 Command 1
4:04 Command 2
5:30 Command 3
6:04 Command 4
6:25 Command 5
6:40 Large Scale Demo Conways Game of Life using just 5 Commands](https://i.ytimg.com/vi/1lFEBVORybQ/mqdefault.jpg)


![A Closer Look at the Double Jump Elytra
Questions about this episode or want help on your own Minecraft creations? Join the Command Block Cove on Discord: https://discord.gg/Vr9vfP6EqH
This mid-week episode is a deep dive look at the five commands used in last weeks Double Jump Enchantment episode: https://youtu.be/x87YrS_TCOQ
Command 1- Modify Elytra:
execute as @e[type=minecraft:item,nbt={Item:{tag:{BlockEntityTag:{Items:[{Slot:4b,id:minecraft:lapis_lazuli,Count:3b},{Slot:12b,tag:{Potion:minecraft:leaping},Count:1b},{Slot:13b,id:minecraft:elytra,Count:1b},{Slot:14b,tag:{Potion:minecraft:leaping},Count:1b},{Slot:22b,id:minecraft:experience_bottle,Count:48b}]}}}},nbt=!{Item:{tag:{BlockEntityTag:{Items:[{Slot:13b,tag:{DoubleJump:1b}}]}}}}] at @s if block ~ ~ ~ minecraft:enchanting_table store success entity @s Item.tag.BlockEntityTag.Items[{Slot:13b}].tag.DoubleJump byte 1 run data modify entity @s Item.tag.BlockEntityTag.Items[{Slot:13b}].tag.display.Lore append value {text:Double Jump,italic:false,color:gray}
Command 2 - Replace Shulker Chest with Elytra:
execute as @e[type=minecraft:item,nbt={Item:{tag:{BlockEntityTag:{Items:[{Slot:4b,id:minecraft:lapis_lazuli,Count:3b},{Slot:12b,tag:{Potion:minecraft:leaping},Count:1b},{Slot:13b,id:minecraft:elytra,Count:1b},{Slot:14b,tag:{Potion:minecraft:leaping},Count:1b},{Slot:22b,id:minecraft:experience_bottle,Count:48b}]}}}}] at @s if block ~ ~ ~ minecraft:enchanting_table store result entity @s Item.tag.Enchantments[{id:fbf:double_jump}].lvl short 1 run data modify entity @s Item set from entity @s Item.tag.BlockEntityTag.Items[{Slot:13b}]
Command 3 - Create Scoreboard:
scoreboard objectives add double_jump_tracker minecraft.custom:minecraft.jump
Command 4 - Add Levitation:
execute as @a[nbt={Inventory:[{Slot:102b,id:minecraft:elytra,tag:{DoubleJump:1b}}],FallFlying:1b},scores={double_jump_tracker=2..}] store result score @s double_jump_tracker run effect give @s minecraft:levitation 1 16 true
Command 5 - Remove Levitation:
effect clear @a[nbt={ActiveEffects:[{Id:25,Duration:16,Amplifier:16b}]}] minecraft:levitation
Chapters:
00:00 - Intro
00:33 - Command 1
06:48 - Command 2
08:36 - Command 3
08:50 - Command 4
10:28 - Command 5
10:56 - Outro A Closer Look at the Double Jump Elytra](https://i.ytimg.com/vi/5_8wupRHq_U/mqdefault.jpg)






