Uploaded September 2024 | Updated November 2026, 3 hours ago
I may have gone a bit overboard with the new input predicates...
World Download: planetminecraft.com/project/datapack-arcade-snapshot-24w37a
Command Block Cove Discord: discord.com/invite/Vr9vfP6EqH
00:00 - Intro
01:06 - MC Paint
02:15 - Snake
03:21 - Pac-Mine
05:36 - DIY Arcade Cabinet
13:43 - Outro
I may have gone a bit overboard with the new input predicates...
World Download: planetminecraft.com/project/datapack-arcade-snapshot-24w37a
Command Block Cove Discord: discord.com/invite/Vr9vfP6EqH
00:00 - Intro
01:06 - MC Paint
02:15 - Snake
03:21 - Pac-Mine
05:36 - DIY Arcade Cabinet
13:43 - Outro




![How YOU Can Add Fireflies to Minecraft with Just Five Commands
Welcome to the first Episode of Five Block Fridays! This week, were adding fireflies to Minecraft with just five command blocks!
Do you have a challenge youd like to see me tackle in just five blocks?
Heres the commands from this video for your own use!
Command 1:
execute as @e[type=item,nbt={Item:{id:minecraft:mangrove_propagule},Age:1s}] unless data entity @s Thrower at @s run summon minecraft:bat ~ ~ ~ {Tags:[firefly],Silent:1b,PersistenceRequired:1b}
Command 2:
effect give @e[tag=firefly] minecraft:invisibility 1 0 true
Command 3:
execute at @e[tag=firefly] run particle minecraft:electric_spark ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
Command 4:
execute at @e[tag=firefly] run fill ~-1 ~-1 ~-1 ~1 ~1 ~1 minecraft:air replace minecraft:light
Command 5:
execute at @e[tag=firefly] run fill ~ ~ ~ ~ ~ ~ minecraft:light[level=8] replace minecraft:air
Chapters:
0:00 Preview
0:12 Intro
1:18 Demo
3:44 Command 1
5:53 Command 2
6:13 Command 3
8:00 Command 4
8:28 Command 5
9:22 Outro How YOU Can Add Fireflies to Minecraft with Just Five Commands](https://i.ytimg.com/vi/LC1k2Q2lmKc/mqdefault.jpg)




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