64: Item frame combo lock [Minecraft Map Making]

Subscribers:
4,230
Published on ● Video Link: https://www.youtube.com/watch?v=QH1enoxKeoo



Minecraft
Game:
Minecraft (2011)
Duration: 7:32
49 views
4


Ep64: Combination lock using item frame rotation values.

Originally for Udemy, but uploaded here.
Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG

Udemy notes. YouTube formatting may make some of these wrong. :)

Commands used:
Make the item frame:
summon item_frame 33 57 -17 {Tags:["lock1"], Facing:2b,}

Output a comparator signal:
execute if entity @e[tag=lock1, nbt={ItemRotation:0b}]


Check all item frames:
execute if entity @e[tag=lock1, nbt={ItemRotation:0b}] run execute if entity @e[tag=lock2, nbt={ItemRotation:1b}] run execute if entity @e[tag=lock3, nbt={ItemRotation:2b}] run execute if entity @e[tag=lock4, nbt={ItemRotation:3b}]

Set redstone if successful:
CONDITIONAL: setblock ~-3 ~ ~ redstone_block replace

Set white wool if not successful:
execute if block ~2 ~ ~ repeating_command_block{SuccessCount:0} run setblock ~-2 ~ ~ white_wool replace







Tags:
minecraft
adventure map
map making
commands
command blocks
1.16
1.17
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 184,447 views spread across 877 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.