Lockable Chests [Archived]

How to lock chests in Minecraft with a key and make them explosion-proof

YouTube Video

Please note:

For Java Edition only!

Minecraft Java Edition Version 1.16x

Yes, of course!

Pls giv credit ­čŚ┐


If you drop a tripwire hook with a four-digit code as its name on a chest, it will be locked and can only be opened again with that code.
You can also drop an obsidian block on an already locked chest to make it explosion-proof!


Reading Changelog...

Suggestions or ideas can be sent to me with this form.

Installation tutorial

Instructions can also be found in the following video.


Click on the download button, select your Minecraft version and download the .zip file


Move the .zip file

Move the .zip file into the datapacks folder of your world



Ingame enter the command /reload

Made with Mobirise ‌

HTML Site Builder