Lock & Key
Modby ModdingLegacy
A mod that takes advantage of the vanilla tile entity locking system, making it accessible to survival players.
Type
Mod
CurseForge Downloads
111,104
CurseForge ID
412616
Last Updated
Jun 19, 2026
Description

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!
Català (Catalunya) translations by: Minaderm
Deutsch translations by: A1403
Español (Argentina) translations by: patriciofagetti
Español (España) translations by: Minaderm
Lietuvių translations by: WaryRGMCA
Vlaams (Vlaanderen) translations by: zjefken.decooman
Polski (Polska) translations by: filipwyjcii
Русский (Russkiy) translations by: NeonX
Türkçe (Türkiye) translations by: 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!
Similar Mods
Animal Origins - Infinite Origins
Ever wanted more animal based origins for your modpack or server? This is your mod! Forge and fabric compatible!
PolyPatcher
A Forge mod full of Vanilla bug fixes, Quality of Life improvements, and performance enhancements.
Limbs
Allowing you to wear mob limbs to replace yours
Leather To Rabbit Hide
A mod that lets you craft rabbit hide from 2 leather.
GenoMons [Cobblemon]
Another addon adding a bunch more Pokemon to cobblemon, but this time its from me
Dalek Mod [Forge]
Features from the TV show, "Doctor Who" like Daleks, Cybermen, and the TARDIS! [for Minecraft Forge]
