LOCKPICKING WITH NO MODS | Minecraft Commands
Quick and easy way to make a unique lockpicking system in vanilla Minecraft 1.17 with no mods required!
Commands:
Get Lockpicks:
give @p stick{display:{Name:'{"text":"Lockpick","italic":false}'}} 64
Start Lockpicking:
execute if block 823 58 -180 dropper{Items:[{Slot:4b,id:"minecraft:stick",Count:1b,tag:{display:{Name:'{"text":"Lockpick","italic":false}'}}}]} run tp @p[tag=!Picking] 832 57 -182 270 0
Add Tag Picking:
tag @p add Picking
Replace Dropper:
setblock 823 58 -180 dropper[facing=up]
Add Effects:
execute as @a[tag=Picking] run effect give @s minecraft:blindness 2 0 true
execute as @a[tag=Picking] run effect give @s minecraft:night_vision 2 0 true
Detect Failure:
execute at @p[tag=Picking] if block ~ ~-1 ~ minecraft:black_concrete run tp @p[tag=Picking] 821 57 -181 270 0
Remove Tag Picking:
tag @p[tag=Picking] remove Picking
Fail Message:
tellraw @p {"text":"Lockpick broke","color":"red"}
Detect Win:
execute at @p[tag=Picking] if block ~ ~-1 ~ minecraft:white_concrete run tp @p[tag=Picking] 821 57 -181 270 0
Set Redstone Torch:
setblock 823 55 -181 minecraft:redstone_torch
Success Message:
tellraw @p {"text":"Lockpicking successful","color":"green"}
Timestamps:
0:00 Intro
0:06 Demo
0:50 Commands
3:54 Outro
Other Videos By Batakanta
Other Statistics
Minecraft Statistics For Batakanta
Batakanta presently has 419,445 views for Minecraft across 8 videos, with his channel publishing less than an hour of Minecraft content. This makes up 31.55% of the content that Batakanta has uploaded to YouTube.