
Lock & Key
A mod that provides access to Minecraft's built-in entity locking system for survival mode players.
📄 Feature Overview
This mod utilizes the game's native entity locking system, adapting it to work with a single key. This key can lock and unlock any lockable entities (typically those containing inventories).
🗝️ Obtaining the Key
The key crafting recipe will appear in the recipe book as soon as you obtain a gold ingot or gold nugget. In any case, you can craft it using the shown pattern.
🔐 System Usage
Once you have the key, you can lock appropriate game entities. You need to name the key on an anvil first, then click on the entity you want to lock. The entity must be programmed as lockable, otherwise the key won't work.
After locking, the entity cannot be broken unless unlocked or when attempting to break it with the key in hand. To unlock an entity, crouch and right-click with the key.
If you lose your key, you can create a new one with the same name - it will work (be careful not to share your key's name!).
📖 Curse of Vanishing
Similar to compasses, the key can be enchanted with Curse of Vanishing, causing it to disappear when you die. This helps prevent access to your valuable items by those who might kill you.