106: Security Key checking [Minecraft Map Making]
Ep106: Some ways to check for a keycard.
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. :)
The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.
Commands used:
Give KeyCard:
iun: give @p music_disc_blocks{RedKeycard:1b,display:{Name:'{"text":"Red Keycard","italic":false}',Lore:['{"text":"Allows access to the Red Sector"}']}} 1
***
Under Dropper:
iun: execute unless block ~ ~1 ~ dropper{Items:[{tag:{RedKeycard:1b}}]} run tellraw @p ["",{"text":"[System]:","color":"dark_red"},{"text":" Bzzzt! Red Keycard not detected.","color":"red"}]
cua: execute if block ~ ~1 ~-1 dropper{Items:[{tag:{RedKeycard:1b}}]} run tellraw @p ["",{"text":"[System]:","color":"dark_red"},{"text":" Bzzzt! Red Keycard detected.","color":"green"}]
cca: setblock ~ ~ ~2 redstone_block replace
***
Remote Button:
rua: execute if block ~ ~1 ~-3 polished_blackstone_button[powered=true] run setblock ~ ~ ~2 redstone_block replace
[Needs a comparator to stop repeated activation.]
iun: execute unless block ~ ~1 ~-5 hopper{Items:[{tag:{RedKeycard:1b}}]} run tellraw @p ["",{"text":"[System]:","color":"dark_red"},{"text":" Bzzzt! Red Keycard not detected.","color":"red"}]
cua: execute if block ~ ~1 ~-6 hopper{Items:[{tag:{RedKeycard:1b}}]} run tellraw @p ["",{"text":"[System]:","color":"dark_red"},{"text":" Bzzzt! Red Keycard detected.","color":"green"}]
cca: setblock ~ ~ ~2 redstone_block replace
***
Give Command Sign:
iun: give @p oak_sign{BlockEntityTag:{Text2:'{"text":"Keycard"}',Text3:'{"text":"Reader","clickEvent":{"action":"run_command","value":"setblock ~ ~-1 ~3 redstone_block replace"}}'}}
iun: execute if entity @p[nbt=!{SelectedItem:{tag:{RedKeycard:1b}}}] run tellraw @p ["",{"text":"[System]:","color":"dark_red"},{"text":" Bzzzt! Red Keycard not detected.","color":"red"}]
cua: execute if entity @p[nbt={SelectedItem:{tag:{RedKeycard:1b}}}] run tellraw @p ["",{"text":"[System]:","color":"dark_red"},{"text":" Bzzzt! Red Keycard detected.","color":"green"}]
cca: setblock ~ ~ ~2 redstone_block replace
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 182,939 views spread across 869 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.