
ModsJava
Inventory Lock
Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.
⬇ Download on Modrinth
This mod allows you to lock slots meaning that you e.g. cannot use them in hotbar, cannot select them in hotbar, cannot put any items in them, etc. You can do this with commands or other mods can use the (quite horrible) API.
This mod is compatible with modded inventories, unlike other implementations.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Ships as inventorylock-1.0.0+1.20.1.jar — drop this file into the mods folder
- Download size: 178 KB
- Download link checked 11 Oct 2026 — working
These come from our own check of the pack file, not from the source page.