Modscraper Modscraper Minecraft
Lock and Key logo

Lock and Key

Mod

Use trial keys to lock chests, doors, etc.

Type

Mod

Modrinth Downloads

6,276

Modrinth ID

1y2mi6PU

Last Updated

Aug 22, 2026

Description

Allows you to lock your doors, trapdoors, chests, barrels, and pots with a Trial Key.

Watch the video to see it in action:

Locking

Shift right-click on a block with a trial key to lock it.

The key will be given a unique ID (like maps).

Locked blocks can't be interacted with or broken.

Unlocking

Right-click with the correct key to unlock a block.

Key Cloning

Use a Bolt Armor Trim, a Trial Key, and a Copper Ingot to clone a key in a smithing table.

The cloned key will work anywhere the original key does.

Lost Keys

If you lose a key, you will have to break back into any locked blocks.

For example, TNT can be used to blast your way into these blocks.

Compatibility

Mod Loaders

Datapack Fabric Forge Neoforge Quilt

Game Versions

1.21 1.21.1

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Screenshots

Similar Mods

Included in Modpacks (1)

External Resources