跳到正文

Locksmith

作者:Z2SIX

Craft keys and lock any block!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Locksmith title banner

Allows the locking of blocks using physical keys instead of permissions.

By default, vanilla doors, chests, and trapped chests are supported.
Additional blocks — including modded ones — can be configured server-side.

Features banner

🔑 Craft iron keys and register them with a secret passphrase

🔒 Lock doors, chests, and other blocks using those keys

📋 Duplicate keys safely (master & copied key system)

🚪 Optional auto-opening/closing for locked doors (incl. double-doors)

🧩 Supports modded blocks via simple configuration

🌐 Fully server-authoritative & multiplayer-safe

🛠️ Curios compatibility (Key slot)

How-to banner

1️⃣ Craft an iron key (1x iron ingot, 2x iron nugget below)

2️⃣ Right-click while holding the key to register it.

3️⃣ Enter a secret passphrase when prompted.

4️⃣ Right-click a door or chest with the registered key to lock it.

5️⃣ Duplicate keys using the minting recipe if multiple players need access.
Players without a matching key will be unable to open the locked block.

Customize banner

Server administrators can define exactly which blocks are lockable.
This includes vanilla blocks as well as blocks added by other mods.

Example: adding a custom door:

{
  "id": "my_mod_doors",
  "type": "door",
  "blocks": [
    "modid:steel_door",
    "modid:reinforced_door"
  ],
  "render": {
    "offsetX": -0.05,
    "offsetY": 0.5,
    "offsetZ": -0.5,
    "rotX": 0.0,
    "rotY": 0.0,
    "rotZ": 0.0,
    "scale": 0.75,
    "hingeNudgeLeft": 0.18,
    "hingeNudgeRight": 0.325
  }
}

These profiles control locking behavior only.
They do not affect block hardness or explosion resistance.

💡 Tips

This mod does not make locked blocks invulnerable.
I’d strongly recommend combining this mod with something
like OpenPAC (this mod was built exactly for that scenario).

📝 Licensing and distribution

Locksmith is released under the Z2SIX Mod License.

常见问题

Locksmith 支持哪些 Minecraft 版本?

Locksmith 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Locksmith 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Z2SIX 的其他作品

查看全部 →