Lock & Key
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 2.1% endorsement rate — high engagement, a strong quality signal
- 🏆 #157 of 369 forge mods in this game by downloads
📋 About This Mod
<br> <center> <img src="https://cdn.moddinglegacy.com/710555029744149535-10-15-2020-1602787744.png" alt="undefined" /> </center> <br> <center> <a href="https://discord.gg/rDSWDYR"><img src="https://img.shields.io/discord/223938153260515328.svg?color=7289DA&label=discord&logo=discord&logoColor=FFFFFF&style=for-the-badge" alt="Modding Legacy Discord Server" /></a> <a href="https://weblate.moddinglegacy.com"><img src="https://img.shields.io/badge/translate-weblate-2ECCAA?style=for-the-badge&logo=weblate&logoColor=white" alt="Contribute to Lock & Key by helping break the language barrier by translating on Weblate!" /></a> <a href="https://ko-fi.com/ModdingLegacy"><img src="https://img.shields.io/badge/ko--fi-support-FF5E5B?style=for-the-badge&logo=ko-fi&logoColor=white" alt="If you like what we do, please consider supporting us on Ko-fi! Thank you!" /></a> <a href="https://neoforged.net"><img src="https://img.shields.io/badge/BUILT_WITH-NEOFORGE-d7742f?style=for-the-badge&logo=neoforge&logoColor=white" alt="Built with NeoForge" /></a> <br> <br> <a href="https://twitter.com/ModdingLegacy"><img src="https://img.shields.io/twitter/follow/ModdingLegacy?style=social" alt="Follow us! ModdingLegacy Twitter" /></a> <a href="https://bsky.app/profile/moddinglegacy.com"><img src="https://img.shields.io/badge/moddinglegacy.com-0285FF?logo=bluesky&logoColor=00&style=social" alt="Follow us! moddinglegacy.com Bluesky" /></a> <a href="https://youtube.com/channel/UCUhDvKdbaKHrKvV5kcKqqiQ"><img src="https://img.shields.io/youtube/channel/subscribers/UCUhDvKdbaKHrKvV5kcKqqiQ?sub_confirmation=1&style=social&label=@ModdingLegacy" alt="Subscribe to us on YouTube!" /></a> <br><br> A mod that takes advantage of the vanilla tile entity locking system, making it accessable to survival players. <br><hr /> </center> <br> <h2>📄 Summary</h2> This mod takes advantage of vanilla's tile entity locking system, reworking it to only work with a single key. This key can be used to lock, and unlock any lockable tile entity (usually ones with inventories).<br><br> <h2>🗝️ Obtaining</h2> The recipe for the key will appear in the recipe book as soon as you obtain a golden ingot, or a golden nugget. Regardless, you can craft it as shown.<br><br> <br> <center> <img src="https://cdn.moddinglegacy.com/431018480556990558-key-crafting.png" alt="Crafting" /> </center> <br> <h2>🔐 How to Use</h2> Once obtained, the key may be used to lock applicable tile entities, you must name the key in an anvil, and then click on the tile entity you would like to lock. The tile entity must be programmed to be lockable, otherwise the key will not work. Once locked, the tile entity cannot be broken by a player unless unlocked, or broken with the key in hand. You may unlock a tile entity by sneaking and right-clicking with the key. If you loose your key, you can create another one under the same name, and it will work (Be careful not to give out your key's name!).<br><br> <h2>📖 Curse of Vanishing</h2> Similar to compasses, the key may be enchanted with Curse of Vanishing, so when you die the key will disappear. This is good for preventing others who might kill you from obtaining your key, and therefore access to your precious items at home.<br><hr /> <br> <h2>🌐 Translate Lock & Key - Help break the language barrier!</h2> All translators are credited here. Thank you to everyone who helps make this mod accessible! | Flag | Language | Translators | |------|----------|-------------| | <img src="https://cdn.moddinglegacy.com/flags/pixel/spain.png" width="24" alt="Català (Catalunya)" /> | **Català (Catalunya)** | Minaderm | | <img src="https://cdn.moddinglegacy.com/flags/pixel/germany.png" width="24" alt="Deutsch" /> | **Deutsch** | A1403 | | <img src="https://cdn.moddinglegacy.com/flags/pixel/argentina.png" width="24" alt="Español (Argentina)" /> | **Español (Argentina)** | patriciofagetti | | <img src="https://cdn.moddinglegacy.com/flags/pixel/spain.png" width="24" alt="Español (España)" /> | **Español (España)** | Minaderm | | <img src="https://cdn.moddinglegacy.com/flags/pixel/lithuania.png" width="24" alt="Lietuvių" /> | **Lietuvių** | WaryRGMCA | | <img src="https://cdn.moddinglegacy.com/flags/pixel/belgium.png" width="24" alt="Vlaams (Vlaanderen)" /> | **Vlaams (Vlaanderen)** | zjefken.decooman | | <img src="https://cdn.moddinglegacy.com/flags/pixel/poland.png" width="24" alt="Polski (Polska)" /> | **Polski (Polska)** | filipwyjcii | | <img src="https://cdn.moddinglegacy.com/flags/pixel/russia.png" width="24" alt="Русский (Russkiy)" /> | **Русский (Russkiy)** | NeonX | | <img src="https://cdn.moddinglegacy.com/flags/pixel/turkey.png" width="24" alt="Türkçe (Türkiye)" /> | **Türkçe (Türkiye)** | mafic60523 | <hr /> <br> <span><strong>🤚 Support: If you have questions or any issues with our mods, read the FAQ! You can also either <a href="https://gitlab.com/groups/modding-legacy/-/issues">submit an issue on the issue tracker</a>, or come into our Dis
A mod that takes advantage of the vanilla tile entity locking system, making it accessable to survival players.
📄 Summary
This mod takes advantage of vanilla's tile entity locking system, reworking it to only work with a single key. This key can be used to lock, and unlock any lockable tile entity (usually ones with inventories).🗝️ Obtaining
The recipe for the key will appear in the recipe book as soon as you obtain a golden ingot, or a golden nugget. Regardless, you can craft it as shown.
🔐 How to Use
Once obtained, the key may be used to lock applicable tile entities, you must name the key in an anvil, and then click on the tile entity you would like to lock. The tile entity must be programmed to be lockable, otherwise the key will not work. Once locked, the tile entity cannot be broken by a player unless unlocked, or broken with the key in hand. You may unlock a tile entity by sneaking and right-clicking with the key. If you loose your key, you can create another one under the same name, and it will work (Be careful not to give out your key's name!).📖 Curse of Vanishing
Similar to compasses, the key may be enchanted with Curse of Vanishing, so when you die the key will disappear. This is good for preventing others who might kill you from obtaining your key, and therefore access to your precious items at home.🌐 Translate Lock & Key - Help break the language barrier!
All translators are credited here. Thank you to everyone who helps make this mod accessible!| Flag | Language | Translators |
|------|----------|-------------|
|
| Català (Catalunya) | Minaderm |
|
| Deutsch | A1403 |
|
| Español (Argentina) | patriciofagetti |
|
| Español (España) | Minaderm |
|
| Lietuvių | WaryRGMCA |
|
| Vlaams (Vlaanderen) | zjefken.decooman |
|
| Polski (Polska) | filipwyjcii |
|
| Русский (Russkiy) | NeonX |
|
| Türkçe (Türkiye) | mafic60523 |
🤚 Support: If you have questions or any issues with our mods, read the FAQ! You can also either submit an issue on the issue tracker, or come into our Dis
📊 Mod Details
- Game
- Minecraft Mods
- Author
- ModdingLegacy
- Version
- 1.2.1
- Downloads
- 662
- Endorsements
- 14
- Category
- forge
- Created
- 5/22/2023
- Updated
- 4/29/2026
- Game Versions
- 26.1.2
- Tags
- game-mechanics
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Lock & Key support?
The author lists 26.1.2. Other versions may work but are untested by the author.
What is the latest version of Lock & Key?
Version 1.2.1, published 2026-04-29 with 662 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await