Simple Locks

Quick rating

Simple Locks

No reviews yet

Simple Locks is a simple mod that adds locks, keys, and lockpick.

Adventure/Exploration
QoL & Tweaks
Mod Loaders
Forge
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
Simple Locks 1.0.0 for Forge 1.20-1.20.1
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Simple Locks

Simple Locks is a simple mod that adds locks, keys, and lockpick.

description_f1d8bba0-1612-4c48-a5bb-70e8d40d6820.png


Lockpicking Mechanics

The lockpicking mechanic requires players to use a lockpick to push the pins up and set them into place. The sequence of these pins is completely random. Some pins will not settle at the top on the first try and will begin to fall back down at varying speeds—sometimes slowly, sometimes quickly. For these descending pins, you must press Space or Click before the pin drops below the "2nd zone," as shown in the image below. If you make a mistake and all the pins drop, the pin sequence itself does not change, but which pins fail to settle on the first try will be randomized again. However, if your lockpick breaks, the entire sequence of the pins will be reset and completely randomized. 

description_4ff5a3d5-0a15-4361-af4e-00143b7568f4.png

description_545cdce4-6c68-49e2-8ee7-c2fc85bde1d6.png

description_68dfefe0-3a90-4c56-a185-dcedd0ee25a0.png


Commands

/simple_locks lockpick [enable/disable]

Enables or disables lockpicks. Enabled by default.

/simple_locks lockpickBreakChance <lock> <0 - 100 | default>

Sets the lockpick breakage chance for a specific lock. Accepts values from 0 to 100, or 'default'. The 'default' option applies the base value of that lock. Valid locks: ironLock, goldLock, diamondLock, netheriteLock Example : /simple_locks lockpickBreakChance ironLock 50

/simple_locks multiLock [enable/disable]

Enables or disables the ability to lock and unlock multiple locks with a single key (a key can only unlock the locks it has locked). When disabled, one key is bound to a single lock. Enabled by default.

/simple_locks keyReset [eneble/disable]

Enables or disables the ability to clear a used key. When enabled, placing a key with a lock ID into any crafting grid will return a blank key of the same material with no ID. Enabled by default.

/simple_locks unlock

Unlocks the locked block the player is currently looking at without requiring a key.


Configurations

This mod generates a simple_locks.json file inside the Minecraft config folder. You can make any vanilla Minecraft block—or blocks from other mods—lockable by adding their specific identifiers to this file.

Example:

{

"lockable_blocks": 

"minecraft:tnt",

"minecraft:furnace"

]

}

With the configuration above, you can now place locks on TNT and furnaces. You are not limited to vanilla Minecraft blocks; you can add block identifiers from other mods into this JSON file to make them lockable as well.

When a lock is placed on a block and is in the locked state, the block gains the following properties until it is unlocked with the correct key:

  • It cannot be broken.
  • Items cannot be inserted into or extracted from it (e.g., via hoppers).
  • It becomes completely immune to redstone signals.
  • It cannot be moved by pistons.

Note: Adding certain complex or incompatible blocks to this list may cause the game to crash. Proceed with caution when adding modded blocks.

description_e6a722e4-c3bb-428a-9816-9ba7b3b894d3.png

description_df65f486-94ee-4cb6-a58c-a4c78e5a274e.png

 

Simple Locks

Simple Locks is a simple mod that adds locks, keys, and lockpick.

lock

Lockpicking Mechanics

The lockpicking mechanic requires players to use a lockpick to push the pins up and set them into place. The sequence of these pins is completely random. Some pins will not settle at the top on the first try and will begin to fall back down at varying speeds—sometimes slowly, sometimes quickly. For these descending pins, you must press Space or Click before the pin drops below the "2nd zone," as shown in the image below. If you make a mistake and all the pins drop, the pin sequence itself does not change, but which pins fail to settle on the first try will be randomized again. However, if your lockpick breaks, the entire sequence of the pins will be reset and completely randomized. 1 2 3

Commands

  • /simple_locks lockpick [enable/disable]

Enables or disables lockpicks. Enabled by default.

  • /simple_locks lockpickBreakChance <0 - 100 | default>

Sets the lockpick breakage chance for a specific lock. Accepts values from 0 to 100, or 'default'. The 'default' option applies the base value of that lock. Valid locks: ironLock, goldLock, diamondLock, netheriteLock Example : /simple_locks lockpickBreakChance ironLock 50

  • /simple_locks multiLock [enable/disable]

Enables or disables the ability to lock and unlock multiple locks with a single key (a key can only unlock the locks it has locked). When disabled, one key is bound to a single lock. Enabled by default.

  • /simple_locks keyReset [eneble/disable]

Enables or disables the ability to clear a used key. When enabled, placing a key with a lock ID into any crafting grid will return a blank key of the same material with no ID. Enabled by default.

  • /simple_locks unlock

Unlocks the locked block the player is currently looking at without requiring a key.

Configurations

This mod generates a simple_locks.json file inside the Minecraft config folder. You can make any vanilla Minecraft block—or blocks from other mods—lockable by adding their specific identifiers to this file.

Example:

{
  "lockable_blocks": [
  "minecraft:tnt",
  "minecraft:furnace"
  ]
}

With the configuration above, you can now place locks on TNT and furnaces. You are not limited to vanilla Minecraft blocks; you can add block identifiers from other mods into this JSON file to make them lockable as well.

When a lock is placed on a block and is in the locked state, the block gains the following properties until it is unlocked with the correct key:

  • It cannot be broken.
  • Items cannot be inserted into or extracted from it (e.g., via hoppers).
  • It becomes completely immune to redstone signals.
  • It cannot be moved by pistons.

Note: Adding certain complex or incompatible blocks to this list may cause the game to crash. Proceed with caution when adding modded blocks. 1 2

Screenshots

Gallery

  • 16
    16
  • 17
    17
  • 15
    15
  • 14
    14
  • 13
    13
  • 12
    12
  • 11
    11
  • 10
    10
  • 9
    9
  • 8
    8 8
  • 9
    9 9
  • 7
    7
  • 6
    6
  • 5
    5
  • 4
    4
  • 3
    3
  • 2
    2
  • 1
    1

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Total Downloads
CurseForge
~1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works