Fabulocks!
Fabulocks! 是一款为 Minecraft 添加完整上锁和开锁系统的模组,包含钥匙、开锁工具、类似《上古卷轴》(Skyrim)的开锁小游戏,以及自然生成在结构中的锁。
⚠️ 原名 Lock'n'Pick — 本模组已更名为 Fabulocks!。从旧版本更新到世界是安全的:世界中已放置的锁会被保留并继续正常工作。然而,由于更名导致物品 ID 发生变化,存储在背包和容器中的任何锁、钥匙、钥匙扣或开锁工具将会消失。
加入我们的 Discord
想保护更大的区域?来看看 Claimorous!


特性
? 锁与等级
- 可制作 4 个等级的锁和开锁工具:铜、铁、钻石和下界合金。高等级锁更难撬开,高等级开锁工具更耐用。
- 潜行 + 右键点击带有锁的方块即可将其锁定:你将获得原始钥匙。一旦上锁,该方块只能由其钥匙打开,并且只有锁的所有者(或管理员)可以破坏它。
- 支持多部分方块:锁定门、双开门、双箱或床会保护其所有部分。
- 每个方块都可以被保护。默认设置包括主要的可交互原版方块(箱子、 barrels、潜影盒、门、活板门、栅栏门、末影箱),但你可以通过 ID 或标签添加任意你希望的方块(拉杆、按钮、模组机器等)。
- 观察已锁定的方块会显示一个由锁等级着色的小型挂锁指示器,让你始终清楚哪些受保护以及破解难度如何。
?️ 钥匙
- 钥匙:每把锁都有特定的原始钥匙。使用它潜行 + 右键点击以移除锁并收回锁物品——它会保持配对关系,因此你可以用同一把钥匙在其他地方重新应用。
- 钥匙毛坯:在原始钥匙旁边制作毛坯以创建副本。副本可以打开锁,但只有原始钥匙才能移除它。
- 钥匙扣:一种可染色的捆绑类物品,用于将所有钥匙集中在一起——在背包中右键点击钥匙以合并或分离它们。
- 万能钥匙:仅限创造模式,可打开所有锁。
- 你不会意外把自己锁在外面:模组防止将钥匙存储在其所开启的容器中。
? 开锁小游戏
使用开锁工具右键点击已锁定的方块会启动一个灵感源自《上古卷轴》的小游戏:
- 移动工具在锁周围寻找最佳位置
- 一旦工具就位,旋转圆柱体——如果强行插入错误的位置,开锁工具会受损甚至可能断裂
- 如果成功,锁将被破坏,方块恢复未保护状态
- 锁的等级决定了最佳位置的狭窄程度;可选的视觉提示有助于找到它
- 所有内容均在服务器端验证:最佳位置存在于服务器上,且尝试受到速率限制,因此客户端无法作弊

?️ 结构中的锁定战利品
生成的结构中的箱子、桶和床——沉船、要塞、沙漠神殿、堡垒遗迹、废弃传送门、掠夺者前哨站、村庄、堡垒废墟、远古城市等——可以已经上锁并随机分配等级。进入的唯一方法是使用开锁工具或爆炸性的“谈判”手段……而且锁定的容器甚至可能隐藏根据保护它们的锁等级缩放的额外战利品。
⚙️ 完全可配置
模组附带灵活的配置系统 (fabulocks.json),允许你调整:
- 哪些方块可以被锁定(使用方块 ID 或标签)
- 每个等级的锁难度和开锁工具耐久度
- 哪些方块和结构可以生成预上锁的状态,以及每种锁等级的生成几率
- 钥匙扣可以容纳多少钥匙,所有者是否需要钥匙,锁在被破坏时是否掉落
- 还有更多——在专用服务器上,服务器配置会同步给每个连接的客户端
配置参数
sweetSpotHint: 启用或禁用帮助在游戏中找到最佳位置的视觉提示
damageChance: 在错误位置强行开锁时损坏开锁工具的几率(最小 0,最大 1)
keychainMaxKeys: 钥匙扣可容纳的最大钥匙数量(最小 2)
lockVisibility: 在已锁定的方块上显示按等级着色的挂锁指示器
dropLockOnBreak: 当所有者破坏受保护的方块时掉落锁物品
ownersNeedKey: 所有者是否仍需钥匙才能打开自己上锁的方块
lockpickDurabilityCopper / Iron / Diamond / Netherite: 各等级的开锁工具耐久度
lockDifficultyCopper / Iron / Diamond / Netherite: 每个锁等级的破解难度(1-10)
protectableBlockIds / protectableBlockTags: 可以被锁定的方块
enableStructureLocks: 启用或禁用结构中生成锁
structureLockableBlocks: 可以在结构中生成锁定的方块
affectedStructureIds: 可以生成锁的结构白名单(空 = 所有结构)
structureImproveLockedLootChance: 锁定容器获得根据其锁等级缩放的额外战利品的几率
copperLockChance / ironLockChance / diamondLockChance / netheriteLockChance: 每种锁等级在结构中的方块生成几率
非常适合自定义世界或服务器的挑战难度。
“再撬一把锁……然后我就完成了。我发誓。”
Fabulocks!
Fabulocks! is a mod that adds a full lock and lockpicking system to Minecraft, complete with keys, lockpicks, a Skyrim-style lockpicking minigame, and locks that spawn naturally in generated structures.
⚠️ Previously Lock'n'Pick — This mod was renamed to Fabulocks!. Updating from the old version is safe for your world: locks already placed in the world are preserved and keep working. However, item IDs changed with the rename, so any locks, keys, keychains or lockpicks stored in inventories and containers will disappear.
Join Us on Discord
Do you want to protect something bigger? Give a look to Claimorous!


Features
? Locks and Tiers
- Craftable locks and lockpicks in 4 tiers: Copper, Iron, Diamond and Netherite. Higher-tier locks are harder to pick, higher-tier lockpicks last longer.
- Sneak + right-click a block with a lock to secure it: you'll receive the original key. Once locked, a block can be opened only with its key and broken only by the lock owner (or admins).
- Multi-part blocks are covered: locking a door, a double door, a double chest or a bed protects all of its parts.
- Every block can be protected. Default settings include the main interactable vanilla blocks (chests, barrels, shulker boxes, doors, trapdoors, fence gates, ender chest) but you can add whatever block you want through IDs or Tags (levers, buttons, modded machines and so on).
- Looking at a locked block shows a small padlock indicator colored by lock tier, so you always know what is protected and how hard it would be to crack.
?️ Keys
- Keys: each lock has a specific original key. Sneak + right-click with it to remove the lock and get the lock item back — it keeps its pairing, so you can re-apply it elsewhere with the same key.
- Key Blanks: craft a blank next to an original key to create a duplicate. Duplicates open the lock but only the original can remove it.
- Keychain: a dyeable, bundle-like item to group all your keys in one place — right-click keys in your inventory to merge or unmerge them.
- Master Key: creative-only, opens every lock.
- You can't accidentally lock yourself out: the mod prevents storing a key inside the very container it opens.
? Lockpicking Minigame
Right-clicking a locked block with a lockpick brings up a Skyrim-inspired minigame:
- Move the pick around the lock to find the sweet spot
- Once the pick is in place, rotate the cylinder — if you force it in the wrong spot, the lockpick takes damage and might break
- If you succeed, the lock is destroyed and the block is left unprotected
- The lock's tier decides how narrow the sweet spot is; an optional visual hint helps you find it
- Everything is validated server-side: the sweet spot lives on the server and attempts are rate-limited, so clients can't cheat

?️ Locked Loot in Structures
Chests, barrels and beds in generated structures — shipwrecks, strongholds, desert pyramids, fortresses, ruined portals, pillager outposts, villages, bastions, ancient cities and more — can spawn already locked with a random tier. The only ways in are lockpicks or explosive methods of negotiation… and locked containers can even hide bonus loot scaled to the tier of the lock protecting them.
⚙️ Fully Configurable
The mod comes with a flexible config system (fabulocks.json) that lets you tweak:
- Which blocks can be locked (both using block IDs or tags)
- Lock difficulty and lockpick durability per tier
- Which blocks and structures can generate pre-locked, and the spawn chance per lock tier
- How many keys a keychain can hold, whether owners need their key, whether locks drop when broken
- And much more — and on a dedicated server, the server config is synced to every connected client
Config Parameters
sweetSpotHint: Enable or disable the visual hint that helps find the sweet spot during the minigame
damageChance: Chance to damage the lockpick when forcing the lock in the wrong spot (min 0, max 1)
keychainMaxKeys: Maximum number of keys a keychain can hold (min 2)
lockVisibility: Show the tier-colored padlock indicator on locked blocks
dropLockOnBreak: Drop the lock item when the owner breaks a protected block
ownersNeedKey: Whether the owner still needs the key to open their own locked blocks
lockpickDurabilityCopper / Iron / Diamond / Netherite: Lockpick durability per tier
lockDifficultyCopper / Iron / Diamond / Netherite: How hard each lock tier is to pick (1-10)
protectableBlockIds / protectableBlockTags: Which blocks can be locked
enableStructureLocks: Enable or disable locks spawning in generated structures
structureLockableBlocks: Which blocks can spawn locked in structures
affectedStructureIds: Whitelist of structures that can generate locks (empty = all structures)
structureImproveLockedLootChance: Chance for a locked container to receive bonus loot scaled to its lock tier
copperLockChance / ironLockChance / diamondLockChance / netheriteLockChance: Per-block spawn chance of each lock tier in structures
Perfect for customizing the challenge in your world or server.
“Just one more lock to pick… then I’m done. I swear.”
评论 0
登录后参与评分
还没有评论,来抢沙发吧