Mineuniverse
Log in Register
Mods

Lock & Key

A mod that takes advantage of the vanilla tile entity locking system, making it accessible to survival players.
by ModdingLegacy
Download Claim this project
111,273 downloads
0 likes
Updated Jun 30, 2026
0 hypes

undefined

Modding Legacy Discord Server Contribute to Lock & Key by helping break the language barrier by translating on Weblate! If you like what we do, please consider supporting us on Ko-fi! Thank you! Built with NeoForge

Follow us! ModdingLegacy Twitter Follow us! moddinglegacy.com Bluesky Subscribe to us on YouTube!

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.

Crafting

🔐 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 for Català (Catalunya) Català (Catalunya) translations by: Minaderm
Flag for Deutsch Deutsch translations by: A1403
Flag for Español (Argentina) Español (Argentina) translations by: patriciofagetti
Flag for Español (España) Español (España) translations by: Minaderm
Flag for Lietuvių Lietuvių translations by: WaryRGMCA
Flag for Vlaams (Vlaanderen) Vlaams (Vlaanderen) translations by: zjefken.decooman
Flag for Polski (Polska) Polski (Polska) translations by: filipwyjcii
Flag for Русский (Russkiy) Русский (Russkiy) translations by: NeonX
Flag for Türkçe (Türkiye) 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!

Modding Legacy Discord Server

Lock & Key 26.1.2-v1.2.1
MC Client, NeoForge, Server, 26.1.2
Release 2026-04-29 Get
Lock & Key 1.21.7-v1.2.1
MC 1.21.8, Client, NeoForge, 1.21.7, Server
Release 2025-07-07 Get

More from ModdingLegacy

Ender Chested
843,253
Blue Skies
66,454,610
Pop!
625,161
Lucent
5,958,833
Rediscovered
570,582
​pack.png
5,695

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579