Instead of relying on complicated redstone filter setups, HopperLock allows you to lock items directly inside a hopper. When a hopper is locked, one item will always remain in each occupied slot, while any excess items can continue to flow through the hopper normally.
For example, a locked hopper containing:
Iron ×32 | Gold ×16 | Diamond ×8 | Redstone ×20 | Coal ×64
will continue transferring items until it reaches:
Iron ×1 | Gold ×1 | Diamond ×1 | Redstone ×1 | Coal ×1
The final item in each locked slot is preserved, allowing the hopper to remember which items belong in each slot and making it ideal for building simple, compact item sorting systems.
Features
Lock hopper slots with a simple command Keeps 1 item in every occupied slot Excess items continue transferring normally Empty slots remain unrestricted Locks persist across server restarts Designed for compact item filtering systems Lightweight and easy to use Simply fill the hopper with the items you want to reserve, look at the hopper, and use /hopperlock.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.2
- 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.
- Ships as HopperLock-1.1.2.jar — drop this file into the mods folder
- Download size: 5 KB
- Download link checked 12 Sept 2026 — working
These come from our own check of the pack file, not from the source page.