
Lock & Key
A mod that takes advantage of the vanilla tile entity locking system, making it accessible to survival players
About this Mod
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 Discord server where we can help you!
Available Versions
How to Install Lock & Key on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "Lock & Key". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 1.21.8, 1.21.7 (+1 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Lock & Key server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is Lock & Key compatible with forge and neoforge?
Lock & Key officially supports forge, neoforge for Minecraft 26.1.2, 1.21.8, 1.21.7. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Lock & Key – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lock & Key consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Lock & Key with just one click on your server.
