ModsFinder

SlotLock

by D4rkness_King

SlotLock lets a player lock individual inventory slots so items cannot be moved out of them by accident, and it works on the client alone.

FabricClient-side onlyMozilla Public License 2.0Open source1.16.5 – 1.19.2

What it does

A locked slot refuses to give up its contents when a player clicks, shift-clicks or throws items, which protects things such as a golden backpack from being dropped by mistake. Locked slots can be set in the inventory and in container screens, and they stay locked until the player turns the lock off again.

Because the mod runs on the client only, players can install it on a multiplayer server's client without the server needing anything. Server-side operations ignore locked slots entirely, so the lock is a player-side guard rather than a rule the server enforces. The mod requires Fabric API and is published for Fabric across seven release versions, 1.16.5 – 1.19.2. It is open source under the Mozilla Public License 2.0, and the source code and issue tracker are public.

Key features

  1. Per-slot locking

    Any single inventory slot can be locked, so a chosen stack stays in place while other slots are used normally.

  2. Protection from accidental clicks

    Shift-clicks, drops and throws that would empty a locked slot are blocked, guarding items the player wants to keep.

  3. Interaction with other mods

    When another mod tries to move items through the inventory, locked slots are generally left untouched, though the behavior depends on how that mod is written.

  4. Bug reports

    Problems with the lock behavior are reported through the GitHub issue tracker linked from the project page.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.19.21.1.1-BETA+1.19
1.18.21.1.1-BETA+1.18
1.18.11.0.4-BETA+1.18
1.181.0.4-BETA+1.18
1.17.11.0.4-BETA+1.17
1.171.0.4-BETA+1.17
1.16.51.0.4-BETA+1.16
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

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Protecting valuable items

A player can lock a backpack or a stack of rare items so a quick inventory sort or a mis-click does not discard them.

Who it’s for: Players who keep important items in their inventory during play and want a guard against losing them to accidental clicks. Storage-focused players who sort often are the main audience.

How it compares

Full comparison

Inventory Profiles Next is open source under the GNU Affero General Public License v3.0 or later, is client-side only and covers Fabric, Forge, NeoForge and Quilt for 1.14.1 – 26.3, which is a much wider range than SlotLock. Trash Slot is a client and server mod under a custom license, with Fabric and Forge files for 1.12.2 – 26.2, so it needs the server side as well.

ModLoadersGame versionsEnvironmentUpdated
SlotLockFabric1.16.5 – 1.19.2Client-side only2022-09-04
Inventory Profiles NextFabric, Forge, NeoForge and Quilt1.14.1 – 26.3Client-side only2026-09-27
Trash SlotFabric and Forge1.12.2 – 26.2Client and server2026-08-29

Questions

Does SlotLock need Fabric API?

Yes. Fabric API is required, and the mod is published for Fabric only, so Forge and NeoForge are not covered.

Does the server have to run SlotLock?

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

Which game versions does SlotLock support?

Files exist for 1.16.5 – 1.19.2, with 1.1.1-BETA+1.19 for 1.19.2 as the latest Fabric file.

In the catalog

SlotLock is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 12,559 mods support Minecraft 1.19.2.

More from D4rkness_King

All projects

Similar mods

What the author says

I was throwing some items in the trash and accidentally clicked in my golden backpack with 1 hour worth of ores. Due to this being a client-side mod, all server-side operations will completely ignore your locked slots. The following list of things will not work and will not be fixed.
D4rkness_King, on the Modrinth page

Official listing

Owner
D4rkness_King
Published
2021-06-05
Updated on Modrinth
2022-09-04
Facts verified
2026-10-15

Tags