Home›Java›Mods›Door Lock
Door Lock
ModsJava

Door Lock

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by Vassbo · on CurseForge

⬇ Download on CurseForge

The author built this one for Minecraft 1.21–1.21.1 on Fabric. On other versions it may install and then do nothing.

Door Lock — screenshot 1Door Lock — screenshot 2Door Lock — screenshot 3Door Lock — screenshot 4Door Lock — screenshot 5

Door Lock — Minecraft Java mod, screenshot 1

Door Lock

Door Lock is a simple Minecraft Fabric mod to lock doors, trapdoors, fence gates & chests.

Version

Currently working on Minecraft 1.21! Because this is Fabric you will also need the Fabric API!

You are free to include this in a modpack.

How does it work?

This mod adds 3 keys to the game; a normal iron "Key", a "Golden Key", and a "Universal key"!

The "Key" & "Golden Key" are the same, but visually different, right click a lockable block with the key to lock the block. To open, right click with the correct key in hand, or use the universal key.

You can also lock iron block types, this will allow you to open iron doors/trapdoors with the correct key in hand. By default the Universal key will not work on iron types.

When a block is locked, any redstone interaction is disabled by default, but that can be toggled in the config.

To remove a lock sneak (shift) right click on the block with the correct key in hand or the universal key. Breaking the block will also remove the key.

Lockable blocks

Here's a list of the currently supported blocks a key can lock:

Setting a password

Each key needs a unique password, you can add a password by renaming in an anvil and adding #password (Item Name #my_secret_password), as shown in the image below. (NOTE: taking the item out normally will remove the #password in the name, but shift clicking to take it will keep the full name!)

Screenshots

screenshot screenshot

Crafting

Here's how you craft the "Key":

screenshot

And here's how the "Golden key" is crafted:

screenshot

The "Universal key" is only obtainable from commands, or the creative inventory.

Mod Config

Mod Commands

License

Door Lock is licensed under the CC0-1.0 license. Read more here.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more