ModsFinder

ItemLocks

by Kirdow

With ItemLocks, a player can lock individual inventory slots so that items in them cannot be moved by accident during a fight or while carrying gear.

FabricForgeNeoForgeClient-side onlyAll rights reserved1.18.2 – 26.3

What it does

ItemLocks lets a player lock single inventory slots. Holding the LOCK key (default C) while left clicking a slot toggles its lock. A locked slot resists moves, drops and other accidental changes, so a weapon or armor piece stays where it was placed. Holding the BYPASS key (default B) and interacting with a slot skips the lock for that action, and emptying a slot this way does not remove its lock. Empty slots cannot be locked yet, and a lock on an empty slot clears once an item is placed there.

Lock states are stored separately for each world and server, so the setup carries over without any manual saving. The settings screen opens from the mod list or with the OPTIONS key (default N), and every option can be adjusted there. Cloth Config API is required, and Mod Menu and Mouse Tweaks are optional. The mod runs on the client only and is published for Fabric, Forge and NeoForge across 28 release versions, 1.18.2 – 26.3. All rights reserved applies to the code, so the mod is not open source.

Key features

  1. Per-slot locks

    Any inventory slot can be locked or released with a click while the LOCK key is held.

  2. Bypass key

    Holding the BYPASS key lets a player move a locked item when it is needed, without removing the lock.

  3. Saved per world or server

    Lock layouts are kept for each world and server and reapplied automatically on return.

  4. Configurable settings

    Options are reachable from the mod list or the OPTIONS key and cover the key layout and lock behavior.

  5. Lock clears on empty slots

    An empty slot with a lock releases itself until an item is placed in it again.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.326.3-1.3.14Not available26.3-1.3.14
26.226.2-1.3.14Not available26.2-1.3.14
26.1.226.1.2-1.3.14Not available26.1.2-1.3.14
26.1.126.1.1-1.3.14Not available26.1.1-1.3.14
26.126.1-1.3.14Not available26.1-1.3.14
1.21.x12 of 12 versions with builds
1.21.111.21.11-1.3.13Not available1.21.11-1.3.13
1.21.101.21.10-1.3.13Not available1.21.10-1.3.13
1.21.91.21.9-1.3.13Not available1.21.9-1.3.13
1.21.81.21.8-1.3.13Not available1.21.8-1.3.13
1.21.71.21.7-1.3.13Not available1.21.7-1.3.13
1.21.61.21.6-1.3.13Not available1.21.6-1.3.13
1.21.51.21.5-1.3.13Not available1.21.5-1.3.13
1.21.41.21.4-1.3.131.21.4-1.3.111.21.4-1.3.13
1.21.31.21.2-1.3.91.21.3-1.3.111.21.3-1.3.13
1.21.21.21.2-1.3.13Not availableNot available
1.21.11.21-1.3.91.21.1-1.3.111.21.1-1.3.13
1.211.21-1.3.13Not availableNot available
1.20.x7 of 7 versions with builds
1.19.x3 of 3 versions with builds
1.18.x1 of 1 version with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Cloth Config APIConfiguration Library for Minecraft Mods
Required

Optional 2

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional
Mouse TweaksEnhances inventory management by adding various functions to the mouse buttons.
Optional

Required by 1 mod

Use cases

Protecting gear in combat

A player locks the weapon or armor slot before a fight so that a panicked key press does not drop it.

Reserving a hotbar slot

A builder keeps a key tool in a locked hotbar slot while moving stacks around the inventory.

Who it’s for: Players who want to protect specific items from accidental moves in survival, PvP or multiplayer games.

How it compares

Full comparison

LockItem-Fabric is Fabric only, for 1.21.1, with the client-side only environment and an MIT License that is not open source. Locked In Slots is open source under the Mozilla Public License 2.0, client-side only and published for Fabric, Forge and NeoForge across 1.20.4 – 26.3. Simple Locks is client and server, open source is not claimed, and it is published for 1.18.2 – 26.2 under the MIT License. ItemLocks itself is client-side only and not open source.

ModLoadersGame versionsEnvironmentUpdated
ItemLocksFabric, Forge and NeoForge1.18.2 – 26.3Client-side only2026-09-17
LockItem-FabricFabric1.21.1Client-side only2025-10-31
Locked In SlotsFabric, Forge and NeoForge1.20.4 – 26.3Client-side only2026-09-23
Simple LocksFabric, Forge and NeoForge1.18.2 – 26.2Client and server2026-07-12

Questions

Does ItemLocks need Cloth Config API?

Yes. Cloth Config API is a required dependency and must be installed alongside ItemLocks on every loader.

Does the server need ItemLocks?

No. Only the player's game needs it, and servers run without it.

Which loader should be used with ItemLocks?

The mod is published for Fabric, Forge and NeoForge. The latest Fabric and NeoForge files target 26.3, while the latest Forge file targets 1.20.4.

Can the lock be bypassed when an item is needed?

Yes. Holding the BYPASS key, default B, lets a locked slot be used without removing its lock.

In the catalog

ItemLocks is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 8,071 mods support Minecraft 26.3.

More from Kirdow

All projects

Similar mods

What the author says

ItemLocks allows you to lock item slots in your inventory, preventing you from moving items unwillingly. Ever been in a tight PvP situation, or just minding your own business, and suddenly that one guy shows up? Well luckily you used this mod, locked the sword slot, and kept your weapon steady despite pressing Q in…
Kirdow, on the Modrinth page

Official listing

Owner
Kirdow
Published
2023-08-09
Updated on Modrinth
2026-09-17
Facts verified
2026-10-15

Tags