14/11/2021
Minecraft Command Tutorial Series
Ep. 1 - Lockers
- how to lock your storages using only one command.
Things needed:
- Atleast 1 Item of your choice as a key
- 1 Anvil
- Atleast 1 storage (like chest, barrels, etc.) as your storage
- 1 Command block (or just use the chatbox to type the command)
Procedure:
1. Rename your item (your key) to whatever you like
2. Stand above your storage as it will be your locker
3. Type in the chatbox:
/data merge block ~ ~ ~ {Lock:"your key name"}
and press enter