Uploaded December 2021 | Updated November 2026, 5 hours ago
The Sierpinski triangle is a simple fractal where each triangle is made out of three scaled down sub-triangles. In this video, I use a datapack to generate a Sierpinski triangle as a giant Christmas tree using the "Chaos Game" method.
To generate a Sierpinski triangle using this method, an (invisible) armor stand is placed at each corner of the outer triangle, with a fourth armor stand starting on top of the trunk. Each tick, one of the corner armor stands is randomly selected, then the last armor stand moves halfway towards it and a leaf is placed. The longer this process continues, the more complete the triangle is.
A breakdown of this method and other shapes that similar methods can produce can be found on Numberphile: youtube.com/watch?v=kbKtFN71Lfs
The Sierpinski triangle is a simple fractal where each triangle is made out of three scaled down sub-triangles. In this video, I use a datapack to generate a Sierpinski triangle as a giant Christmas tree using the "Chaos Game" method.
To generate a Sierpinski triangle using this method, an (invisible) armor stand is placed at each corner of the outer triangle, with a fourth armor stand starting on top of the trunk. Each tick, one of the corner armor stands is randomly selected, then the last armor stand moves halfway towards it and a leaf is placed. The longer this process continues, the more complete the triangle is.
A breakdown of this method and other shapes that similar methods can produce can be found on Numberphile: youtube.com/watch?v=kbKtFN71Lfs

![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)








