Description
This mod adds blocks and items to enable locking any vanilla door, trapdoor and fence gate.
Installation Requirements
This is a Fabric mod. Don’t ask for a Forge version, this is a basic mod I do on my spare time and I don’t have that much time.
How to Use
To craft a lockable block, simply put the corresponding vanilla block and a lock housing in a crafting table.
To install a lock on a block, simply right-click on the block with a keyed lock in your hand. The lock remover must be used to remove a lock from a lockable block.
When a block is equipped with a lock, you can lock/unlock it with the corresponding key by right-clicking. A locked block cannot be opened by hand nor redstone signals. When you craft a key or lock, it is blank and cannot be used yet. In order to make them usable, they need to be machined using the locksmithing station. Simply input the key’s/lock’s name in the top field then pick the item from the output slot. The key’s name appears in its tooltip but locks simply show the word “Keyed” in green. You can check if a key fits in a lock without mounting it on a block, put them in both hands and right-click.
For renaming already named keys, see Configuration and FAQ sections below.
Keys can be melted back to a single iron nugget in a furnace/blast furnace.
Blocks
Doors
All vanilla doors (including iron) are supported.
Trapdoors
All vanilla trapdoors (including iron) are supported.
Fence Gates
All vanilla fence gates are supported.
Items
Crafting
Lock Housing
Lock
Key
Lock Remover
Localization
- en_us: US English
- fr_fr: French
- eo_uy: Esperanto
Configuration (mod versions ≥ 1.1)
You can configure the mod by creating a file names "lockable_doors.json" in the "config" directory of your minecraft installation (directory that contains the "mods" directory).
This file may contain the following options:
- can_destroy_locked_blocks: boolean (defaults to true); if false, all locked blocks will not be breakable by non-creative players.
- can_rename_keys: [mod versions ≥ 1.1.1] boolean (defaults to false); if true, keys will be renamable, otherwise you will only be able to name them once and no more after that.
FAQ
Can I rename keys?
Only if you enable the feature from the config file.
Is the mod compatible with resource packs?
No, textures of lockable blocks are not using the same files as their vanilla counterpart, they are copies. You will have to create specific textures in your resource pack if you want to make it compatible.
License and Usage
This mod is available under the GPLv3 license.
You are free to use it in any modpack as long as you credit me as the original mod’s author.
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.