ModsFinder

Lockkey

by ShiroJR

Lockkey is a Fabric mod that adds a lock and key system, so items control which blocks and entities can be accessed.

FabricClient and serverMIT LicenseOpen source26.1.1 – 26.1.2

What it does

Locks are crafted and fitted with grooves, and a matching key opens the block or entity that carries that groove. Interaction, attacking and breaking can each be gated by the key, which gives simple security to chests, doors and other containers. Blocks become lockable through the lockkey:lockable block tag, and the lockkey:all tag or a gamerule can make every block lockable instead.

Lock states on blocks and entities can be set manually, and multi-block objects such as doors and double chests are handled together so a lock covers the whole structure. Lock commands are planned to manage grooves and lock states, but for now grooves are set only with those commands, and the project is still a work in progress.

Installation needs Fabric Loader and Fabric API, and the mod runs on both client and server, so the server and every player need it. Files are published for 26.1.1 and 26.1.2, with 0.1.3 for 26.1.2 as the latest file on the beta channel. Lockkey is open source under the MIT License.

Key features

  1. Lock and key items

    Locks and keys are crafted items, and a key only works on a lock with a matching groove.

  2. Lockable block tag

    Blocks join the lockable set through a block tag, or all blocks can be made lockable with a gamerule.

  3. Interaction control

    Keys can gate interaction, attacking and breaking on a locked block or entity.

  4. Manual lock states

    Lock states on blocks and entities can be set by hand, including multi-block objects such as doors.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
26.1.20.1.3
26.1.10.1.3
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Protecting containers on a server

Server owners can lock chests or storage blocks so only players holding the matching key can open them.

Adventure and roleplay maps

Map makers can place locked doors and containers whose keys are found or crafted during play.

Who it’s for: Server owners and adventure map makers who want key-based access control on blocks and entities. Because the mod is still a work in progress, its behavior may change between builds.

Questions

Does Lockkey need Fabric API?

Yes. Fabric API is required, along with Fabric Loader, and the mod is published only for Fabric.

Does the server need Lockkey installed?

Yes. The server and every player need the mod installed.

How are grooves set on a lock?

Grooves are set only with lock commands at the moment, since the management commands are still in progress.

In the catalog

Lockkey is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 15,189 mods support Minecraft 26.1.2.

More from ShiroJR

All projects

Similar mods

What the author says

Lockkey is a Fabric mod that adds simple security mechanics for blocks and entities. Craft locks and keys to secure blocks and entities. This mod is still work in progress! Currently, you can only set lock and key grooves by using the /lock commands!
ShiroJR, on the Modrinth page

Official listing

Owner
ShiroJR
Published
2026-05-03
Updated on Modrinth
2026-05-26
Facts verified
2026-10-15

Tags