I know how to use the /setblock command and the /data command to lock chests, but I was wondering if there was a way to use a /give command to give yourself an already locked chest, so when you place it down, it is already locked. I have tried /give @p chest{Lock:”password”} but it doesn’t seem to work. Does anyone know a way you can give yourself pre-locked chests? It would be really helpful.
Create an account or sign in to comment.
2
Never mind I fixed it its give @p chest{Lock:password} without the quotes