promotional bannermobile promotional banner

Locks Reforged

The "Locks" mod updated to work with 1.20.1 and 1.21.1; includes all features of the original with full configurability, new content and some bug fixes.
Back to Files

Locks Reforged 1.6.1 (Forge 1.20.1)

File namelocks_reforged-1.6.1.jar
Uploader
OtectusOtectus
Uploaded
Jun 24, 2026
Downloads
2.1K
Size
663.8 KB
Mod Loaders
Forge
File ID
8313670
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:locks-reforged-1467684:8313670")

Learn more about Curse Maven

What's new

1.6.1

Respawning Structures Compatibility

  • Added compatibility with the Respawning Structures mod (someaddons/respawningstructures). When that mod regenerates a structure, it re-places the structure's chests and loot by replaying its structure pieces, which does not re-run biome decoration — so our LockChestsFeature never fired again and respawned chests came back unlocked. Locks Reforged now re-locks the chests of a respawned structure automatically.
  • Implemented as a soft dependency via Respawning Structures' public StructureRespawnEvents.AFTER_RESPAWN_EVENT callback (wired by reflection, so there is no hard dependency and no effect when the mod is absent). After a structure respawns, stale lockables overlapping the structure footprint are cleared and the freshly placed chests are re-locked using the same rules as world generation (generation chance, loot-scaled tiers, and enchant chance), so the lock distribution matches a newly generated structure. Double chests receive a single lock spanning both halves.
  • Extracted the per-chest lock selection logic into a shared LocksUtil.createChestLockable(...) helper so world generation and the respawn path stay identical; normal world-generation behavior is unchanged.

This mod has no additional files