File Details
Locks Reforged 1.5.3 (Forge 1.20.1)
- R
- Apr 16, 2026
- 649.29 KB
- 223
- 1.20.1
- Forge
File Name
locks_reforged-1.5.3.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
1.5.3
Bug Fixes
- Fixed inability to place locks on containers in Adventure gamemode. Vanilla's
ItemStack.useOn()short-circuits whenmayBuildis false, which preventedLockItem.useOn()from ever firing. Lock placement now falls back to theRightClickBlockevent handler when sneak-clicking with a lock item in Adventure mode, matching how picking, relocking, and pickup already worked.
1.5.2
Bug Fixes
- Fixed keys, master keys, key rings, Awareness enchantment, and curio key rings being unable to re-lock unlocked lockables. The toggle logic only ran when at least one lockable was locked; unlocking all lockables at a position made re-locking impossible in all game modes.
- Fixed
NullPointerExceptioncrash inStructureTemplateMixinwhen the lockable handler capability is missing during structure copy or paste operations. - Fixed
Lock.fromBufcreating an all-zero pin combo on the client instead of generating a proper dummy combo from the lock's ID seed. - Fixed
KeyRingInventory.extractItemusinggetMaxStackSize()instead ofgetCount()as the extraction limit, violating theIItemHandlercontract. - Fixed
Transform.fromDirectionAndFacereturning null for unmapped direction/face combinations, which could causeNullPointerExceptionin lock state calculations. Now falls back toNORTH_MID. - Fixed
LockItem.isOpen()callinggetOrCreateTag()on read, which unnecessarily created empty NBT tags on items without existing data.
Loot-Scaled Lock Generation
- Chests whose loot value falls below all configured tier thresholds no longer receive a lock when loot-scaled locks are enabled. Previously, these low-value chests always received a wood lock despite the config description stating otherwise.
New Config
- Added Loot Table Injection Patterns server config option. Controls which loot tables receive lock pick and key loot injection. Default:
minecraft:chests/. Add entries likesome_mod:chests/to inject into modded dungeon chests.
Security
- Added additional server-side validation to lock picking packets: the server now re-checks that the lock is still locked and the player still holds a valid pick before processing each pin attempt.
Misc
- Invalid entries in the
Lockable Tagsconfig list now log a warning instead of being silently skipped.

