A simple client-side mod that let you lock your slots.

Client StorageUtility

Created3 years ago
Updated2 years ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.


How it works:

The mod itself it's pretty simple, you only need to place your mouse above the slot you want to lock and press the slotlock keybind (Left Alt by default) and that's it. Locked slots cancel every keypress that tries to interact with it, so you can't accidentally throw an item you need in the trash, or store something in a chest you'll need later, or drop items without knowing.

Why does this exist:

I was throwing some items in the trash and accidentally clicked in my golden backpack with 1 hour worth of ores.

Known issues:

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.

- If you have wood in a locked slot and uses the recipe book (or REI) to place items in the crafting table, the wood will be moved.

  • If you have a locked slot with available space and walk over a dropped stack, the locked slot will be filled with the gathered item.
  • If you're quick moving items from a chest to your inventory, and the locked slot has available space, it will be filled.
  • If another mod tries to interact with your inventory, it'll probably work
    It's likely that this mod is going to have a lot of incompatibility with other mods. Feel free to report it as an issue in the mod's GitHub page.

Other information:

For bug reporting please proceed to the mod's GitHub repository:

If you have any other questions or suggestions, feel free to call me on Discord @D4rk#0693
You can find me in the Cafeteria Development guild.

External resources

Project members



Technical information

Client side
Server side
Project ID