
Lock and Key
I don't know my version or loader
Allows you to lock your doors, trapdoors, chests, barrels, and pots with a Trial Key.
Watch the video to see it in action:
Locking
Shift right-click on a block with a trial key to lock it.
The key will be given a unique ID (like maps).
Locked blocks can't be interacted with or broken.
Unlocking
Right-click with the correct key to unlock a block.
Key Cloning
Use a Bolt Armor Trim, a Trial Key, and a Copper Ingot to clone a key in a smithing table.
The cloned key will work anywhere the original key does.
Lost Keys
If you lose a key, you will have to break back into any locked blocks.
For example, TNT can be used to blast your way into these blocks.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
- Downloads as lock_and_key.zip
- Download size: 47 KB
- Download link checked 28 Aug 2026 — working
These come from our own check of the pack file, not from the source page.