Lock And Key
ModModern Fabric Minecraft mod for Locks, Keys and other things
Type
Mod
Modrinth Downloads
208
Modrinth ID
8Cx7nAtb
Last Updated
May 15, 2026
Description
Lock and Key
Lock and Key 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
- Minecraft (26.1.1)
- Fabric Loader
- Fabric API
Installation
- Install Fabric Loader for your Minecraft version
- Download and install Fabric API
- Place the mod .jar file into your mods folder
- Launch the game using the Fabric profile
Usage
Craft locks and keys to secure blocks and entities. Place locker blocks and choose a variant depending on the intended function.
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 others to use)
- Better Item Textures (yeah they are only Programmer art...)
Anything else? If you have any ideas, please let me know and open an Issue on GitHub
Compatibility
Mod Loaders
Game Versions
Similar Mods
Nie's Higher Build Limit (512)
A Datapack and or Mod which increases the build limit from 320 to 512.
Phantoms in the End
Moves phantoms from the Overworld to the End
Biomer Fog
Uses the new Environmental Attributes to change fog color and strength in certain biomes. Probably not Combatable with o...
AutoTool Switcher
Automatically equips the most efficient tool for breaking blocks.
JourneyFactions
Companion mod for compat between Factions and JourneyMap
FishOnMC Extras R
A FishOnMC enhancing mod that focuses on QOL and immersion