Minecraft Data Packs / Other

Lockable Chests (Deprecated)

  • check_circle Functions
  • check_circle Recipes
  • 20,919 views, 4 today
  • 1,529 downloads, 0 today
  • 22
  • 23
  • 21
Ant_Redstone avatar Ant_Redstone
Level 54 : Grandmaster Cake
Lockable Chests

EDIT: This datapack is old and won't receive any further update. It does have plenty of bugs in newer versions of minecraft, and isn't 100% safe

I'm developing a better version of this datapack without exploits and bugs, with better looking and easier to use, I'll put the link here after be done.

I'v released an redesigned version of this datapack to 1.16

I'm happy to announce a true Lockable Chest, where you create a key using a Writable Book and lock your chest.

Created a Add-On to that which allows you to sell items in locked chests, check it out

PS: Video Tutorial is from Version 1.0, It's not the latest version and the way you Lock your chest changed a bit

How to use:
1. Get a Writable Book, then type at first page #Lock# then at second page type your "chest password" then Hit Done (Necessaryly click Done before signing up)
2. Sign your Book then just place your book at last slot of your chest (I recomend you to do a copy before, is better don't live your chest without keys)

That datapack allows any player to lock the chests in minecraft vanilla survival mode.
Also Allows anyone in creative get a Universal Key, following the steps of a normal key but instead of #Lock# do #UniversalKey#


1. Players can Lock Chests.

2. Creative Players can create Universal keys to Chests

3. Players can't break protected chests manually

4. If a protected chest breaks, it will warn on chat, saying who's the book author as he's owner

5. Compatibility to my Player Shops datapack

6. Works with Any Container

How to Install:
1. Download the zip file and place it in [​your world]/datapacks
2. do /reload and now its installed.

Future Features:
1. Add compatibility to others containers
2. Add Configs like toggle protection system

Feel Free to Donate if you want to ^^
   Lockable Chests (Deprecated) Minecraft Data Pack

This Datapack have been tested and created in minecraft 19w09a
CompatibilityMinecraft 1.14

7 Update Logs

Update v1.6 : by Ant_Redstone 03/16/2019 1:05:48 amMar 16th, 2019

Fixed a Bug where Shulker boxes would get glitched if had a key inside but not at last slot

Create an account or sign in to comment.

03/29/2020 12:55 pm
Level 1 : New Miner
pattle_bass avatar
Hi! My friend has UID 0 for some reason and that seems to have broken things
03/17/2020 7:24 pm
Level 1 : New Miner
pianoboy913 avatar
I want to use the player shops datapack but I don't really care about the locked chest datapack. Is there any way to use shops but not the custom lock thing? Like maybe I use a command. What functions could I modify or delete to allow it to work independently?
03/18/2020 1:46 am
Level 54 : Grandmaster Cake
Ant_Redstone avatar
Hey, those both datapacks are old, I do have an better player shop datapack done but not released, but it's different from this one, maybe I'll release it this week
03/11/2020 9:08 am
Level 44 : Master uwu
KapceRBLX avatar
Please add 1.16 support :)
03/11/2020 9:25 pm
Level 54 : Grandmaster Cake
Ant_Redstone avatar
12/22/2019 5:35 am
Level 9 : Apprentice Explorer
KittenKatja avatar
There is a bug, I got that bug on a server before, but tested it in singleplayer till I got the same result in trying to get my items back on the server. Result: Impossible.
The bug occurs, when the floating chest disappears.
Please use an armor stand instead of an item for the indication of the owner.
The item can be removed with fire, lava, hopper, explosions, pistons, clearlagg plugin, item stacker plugin, and other things, but the armor stand does not.
It also seems like a double chest needs 2 of such books for the floating chest feature to trigger.
12/23/2019 8:49 pm
Level 54 : Grandmaster Cake
Ant_Redstone avatar
if the chest disappears is a visual glitch, u'r still able to get the items if u go to it, btw, ofc clearlagg plugin will kill it '-' that's what it does, same for item stacker.. idk what u mean by pistons, and hoppers u'r right.

Double chests is intended

Btw, this datapack is discontinued, I'm not going to update it, only do another one that's safer and more practical, but only when I get back to datapack develop bcs I'm busy with other things, and as I get no return from it, It's not my priority
12/20/2019 1:24 pm
Level 32 : Artisan Dragon
_Jack_93_ avatar
Not working on 1.15.1, same with player chest shop.
The old chests with yet a Lock are working, but when I try to create another book/lock... The Fuction remai stucked in "Please, Hit Done Button before signing your book".
11/19/2019 7:38 am
Level 2 : Apprentice Ninja
KPXGCraft avatar
it didn't work for me
11/19/2019 8:41 am
Level 54 : Grandmaster Cake
Ant_Redstone avatar
sorry for that, but that's a discontinued project, I do have plans to make a new version of it, but I have 2 more things in front of that
Planet Minecraft


© 2010 - 2022