Locks-Unofficial-Legacy
Adds flexible, universal locks and a lock-picking minigame to any block — unofficial 1.12.2 recompile with a crash fix.
介绍
**Locks (Unofficial Legacy Build)**
An unofficial recompile of *Locks* by Melonslise for Minecraft 1.12.2. This isn’t a fork in the GitHub sense — it’s rebuilt from scratch against current tooling — but all original design and code credit belongs to Melonslise. Not affiliated with or endorsed by the original author.
The official 1.12.2 release (Locks-1.12.2-3.0.0) shipped in December 2021 and hasn’t been touched since. It no longer builds against current ForgeGradle/Mixin tooling, so this exists to keep it compiling and playable — nothing about what the mod does has changed.
Locks lets you attach flexible, universal locks to almost any block: chests, doors, furnaces, hoppers, dispensers, and blocks added by other mods too. Locked blocks open with the matching key, or can be cracked with a lock-picking minigame. Locks can be enchanted, and dungeon-generated chests can spawn already locked.
**What’s different from the original**
– Recompiled to work with current ForgeGradle/Mixin tooling
– No longer ships a private copy of Mixin — relies on MixinBooter instead
– Fixed a crash triggered when some mods (Vanilla Builders Extension is the one that surfaced it) call `Block.getExplosionResistance` with a null `World` during block construction
**Requirements**
– Minecraft 1.12.2, Forge 14.23.5.2864 or newer
– MixinBooter (confirmed on 11.15) — required, the mod won’t launch without it
**License**
Licensed under CC BY-NC 3.0, the same terms as the original — non-commercial use only. See `LICENSE` for the full text.
**Source & issues**
Source and build notes: https://github.com/DirazCoder/Locks-Unofficial-Legacy
Known issues: see `KNOWN_ISSUES.md`
**Credits**
Original mod, design, and code: Melonslise (CurseForge page: https://www.curseforge.com/minecraft/mc-mods/locks)
Recompiled and maintained (this build): DirazCoder
Full list of additional contributors credited from the original mod: see `CREDITS.txt`
常见问题
Locks-Unofficial-Legacy 支持哪些 Minecraft 版本?
Locks-Unofficial-Legacy 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Locks-Unofficial-Legacy 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分