Uploaded September 2024 | Updated November 2026, 3 days ago
Minecraft snapshot 24w36a introduced a ton of new technical features, including Input Predicates!
World Download on Planet Minecraft:
planetminecraft.com/project/super-piglin-bros-snapshot-24w6a-map
These new predicates allow commands to check whether a player is pressing a variety of inputs, including movement, jumping, sneaking, and sprinting. This will make a ton of datapack creations a lot more streamlined, but the application I'm most interested in is minigames.
The input predicates work while the player is in spectator mode, even when they are spectating another entity. With this setup, we can capture all of the player's inputs while maintaining total control over the player's camera. I've used this to recreate SMB 1-1 in Minecraft.
Join the Command Block Cove on Discord: discord.com/invite/Vr9vfP6EqH
Conure's video on the snapshot: youtube.com/watch?v=twyazOZDvwE
SlicedLime's video on the snapshot: youtube.com/watch?v=riIq7IPSBRU
Minecraft snapshot 24w36a introduced a ton of new technical features, including Input Predicates!
World Download on Planet Minecraft:
planetminecraft.com/project/super-piglin-bros-snapshot-24w6a-map
These new predicates allow commands to check whether a player is pressing a variety of inputs, including movement, jumping, sneaking, and sprinting. This will make a ton of datapack creations a lot more streamlined, but the application I'm most interested in is minigames.
The input predicates work while the player is in spectator mode, even when they are spectating another entity. With this setup, we can capture all of the player's inputs while maintaining total control over the player's camera. I've used this to recreate SMB 1-1 in Minecraft.
Join the Command Block Cove on Discord: discord.com/invite/Vr9vfP6EqH
Conure's video on the snapshot: youtube.com/watch?v=twyazOZDvwE
SlicedLime's video on the snapshot: youtube.com/watch?v=riIq7IPSBRU



![Simple Midair Block Placement in Minecraft
Heres a simple 3 command block method for allowing block placement in midair, using the structure void block. Just set up the three command blocks, use the tag command to give yourself an air_placer tag, and youre good to go!
Command Block 1 (Repeating)
`execute as @p[tag=air_placer] at @s run fill ~-4 ~-4 ~-4 ~4 ~4 ~4 minecraft:air replace minecraft:structure_void`
Command Block 2 (Chain, Unconditional)
`execute as @p[tag=air_placer] at @s anchored eyes if block ^ ^ ^3 minecraft:air run setblock ^ ^ ^3 minecraft:structure_void`
Command Block 3 (Chain, Conditional) (Optional)
`execute as @p[tag=air_placer] at @s anchored eyes positioned ^ ^ ^3 align xyz positioned ~0.5 ~0.5 ~0.5 run particle minecraft:dust 0 0.9 0.6 1 ~ ~ ~` Simple Midair Block Placement in Minecraft](https://i.ytimg.com/vi/Ex9wro51_WQ/mqdefault.jpg)
![My Most Compact Maze Generator Yet
Questions about this episode or want help on your own Minecraft creations? Join the Command Block Cove on Discord: https://discord.gg/Vr9vfP6EqH
Thank you for making Season 1 of Five Block Fridays fantastic! Ill be taking a break for a bit to hopefully work on some larger projects.
Be on the lookout for a technical deep-dive on this creation sometime next week, as well as a world tour and download next Friday.
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 ~5 ~1 minecraft:birch_leaves[persistent=true] replace air
Command 2 - Rotate Unvisited Neighbors
execute as @e[name=maze_walker] at @s 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:
0:00 - Intro
0:56 - Depth First Search explained
3:10 - Demos
5:00 - Timelapse
8:15 - Outro My Most Compact Maze Generator Yet](https://i.ytimg.com/vi/GPdRnhVGasc/mqdefault.jpg)





