Lock And Key
ModModern Fabric Minecraft mod for Locks, Keys and other things
Type
Mod
Modrinth Downloads
1,389
Modrinth ID
8Cx7nAtb
Last Updated
Jul 29, 2026
Description
Lockkey
Lockkey is a Fabric mod that adds simple security mechanics for blocks and entities.
Features
- Lock and key system with items to control access to blocks and entities
- Add locks (with grooves data) to blocks and entities
- use the lockkey:all_blocks_lockable Gamerule to enable every block being lockable, not just the ones in the lcokkey:lockable block tag
- use keys with matching groove data to enable interaction / attacking / breaking with that block or entity
- for now (WIP) use the /lock commands to manage anything lock related, like setting grooves and managing lock states of entities and blocks manually
Requirements
- Fabric Loader
- Fabric API
Usage
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!
Planned Features and Content
- Better locking of multi-blocks, like doors and double chests (potentially providing an easy-to-use Mod API for other mods / datapacks)
Anything else? If you have any ideas, please let me know and open an Issue on GitHub
Credits
The textures of the lock and the key items have been cleaned up by Aethyus. Check them out!
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
RelicCraft
Find magical relics throughout the world!
Darwin
Adds mobs with genetics.
aerovive fix
Fixes an issue between Create Aeronautics and Vivecraft where the VR resolution drops while filling up envelopes with ho...
Leash Everything
Leash Everything allows you to attach leads to every living entity in the game (like villagers, creepers, endermen, etc...
TKVM Weapons
Adds a variety of medieval based weapons to minecraft!
DragonBlockZ
A mod addon for DragonBlockC mod