Download Lock & Key — Minecraft Mods — MetaMods

Lock & Key

Active

Downloads

0

Last update

3 months ago

Versions

1.19.4 — 1.21.8
Client and server
Forge
Neoforge
Game mechanics
Storage
Utils

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.

Key Crafting

🔐 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.

Subscribe to us on YouTube!
Project members
KingPhygieBoo

KingPhygieBoo

Developer

ModdingLegacy

ModdingLegacy

Created: 22 May 2023

ID: 18704