A messy storage room is the silent endgame boss of every Minecraft world. The fix is an automatic item sorter: a quiet line of hoppers and comparators that drops cobblestone in one chest, iron in another and never asks you to organise anything again. The good news is that the core machine is simple, cheap and built almost entirely from one block you probably already mass-produce. This guide walks through exactly how the redstone works, gives you a single reliable single-item sorter, then shows how to repeat that tile into a full storage wall.
The two parts that do all the work: hoppers and comparators
An item sorter only needs to understand two blocks. The first is the hopper. A hopper has 5 slots of inventory space, and it pulls items from a container directly above it and pushes them into the container its output tube points toward. That tube can face straight down or sideways, and you choose the direction by aiming at the surface you want the output to face when you place it. After each transfer a hopper enters an 8-game-tick cooldown (0.4 seconds, barring lag), which works out to a transfer rate of roughly 2.5 items per second. One more rule matters enormously: when a hopper receives a redstone signal, all of its functions stop. A powered hopper is a locked hopper.
The second block is the redstone comparator. A hopper does not emit a signal on its own, but a comparator placed beside it (facing away from the hopper) can read how full it is. The output follows the wiki’s container formula, and the practical takeaway is the only number you need to memorise: a hopper containing just 1 item produces a comparator signal strength of 1, an empty hopper outputs 0, and a completely full hopper outputs 15. That tiny “is there at least one item in here?” reading is the entire brain of the sorter.
How a hopper filter actually decides what to keep
The clever bit is the filter hopper. You pre-fill it so that every one of its 5 slots is occupied: a large stack of the item you want to sort in the first slot, and a single junk item in each of the other four. Because no slot is ever completely empty and free for a new item type, a non-matching item flowing along the top of the machine has nowhere to land and simply keeps travelling down the line to the next sorter. A matching item, however, can stack onto the existing pile in the first slot. That brief change in fullness is exactly what the comparator beside the filter hopper detects.
That comparator signal is wired so it normally keeps the output hopper below locked. When a matching item arrives and the signal updates, the circuit lets the lower hopper pull the sorted item down into your storage chest. Two practical notes straight from the wiki: hoppers always work from the leftmost available slot, and you should use clearly identifiable junk in the filter (the wiki suggests cheap items stackable to 64, ideally distinct ones) so you never accidentally feed the system an item identical to your filler, which would break the overflow logic.
| Mechanic | Verified value |
|---|---|
| Hopper inventory slots | 5 |
| Transfer cooldown | 8 game ticks (0.4s) |
| Transfer rate | ~2.5 items/second (barring lag) |
| Comparator signal, 1 item in hopper | 1 |
| Comparator signal, full hopper | 15 |
| Effect of redstone power on a hopper | Locks it (all functions stop) |
| Filter hopper setup (example from wiki) | 41 of the target item + 1 junk item in each of the other 4 slots |
A simple, reliable single-item sorter
Start with one tile so you understand it before scaling. The wiki’s example fills the filter hopper with 41 of the item being sorted in the first slot and 4 cheap items stackable to 64 spread one-per-slot in the other four. From bottom to top, a working single sorter looks like this:
- Storage chest on the floor, with a hopper pointing down into it. This is where your sorted item ends up.
- The filter hopper sits feeding that output, pre-loaded with the target item plus the four junk items so every slot is occupied.
- A comparator reads the filter hopper from the side, facing away from it, feeding a short locking circuit (a redstone block or repeater arrangement) that holds the output hopper locked until a matching item lands.
- An input hopper line or item stream runs along the top, carrying your mixed items across the filter. Items that don’t match keep moving; matching items get caught and dropped into the chest.
To feed it, you need a way to move items across the top of the sorter. The wiki notes this can be a hopper pipe transporting items over the top, or a water (or ice) stream pushing item entities along into a collection hopper at the start of the line. Either works; hopper pipes are compact, water streams are cheap and great for long runs.
Scaling one tile into a sorting wall
The beauty of this design is that it tiles. Place identical sorter modules side by side, each with its own filter hopper holding a different target item, and run a single input line across the top of the whole row. Items travel along the line and drop out at the first sorter that matches; everything else continues. Repeat for as many items as you want a dedicated chest for, and you have a wall.
Two things make a wall behave. First, calibration: the wiki’s example produces a comparator signal of strength 3 from the filled filter hopper, which is just strong enough to unlock the hopper below without leaking power into neighbouring sorters. Keep your locking circuit tight so adjacent tiles stay independent. Second, always end the line with an overflow chest. As the wiki puts it, this catches “any items that didn’t get sorted for some reason,” which is helpful if a valuable tool or an unsorted item type ever reaches the end. Without it, unmatched items pile up and eventually jam the input.
Troubleshooting and edition notes
- Items aren’t being caught: a slot in the filter hopper is empty, letting non-matching items slip in. Re-fill so all 5 slots are occupied.
- Neighbouring sorters steal items: your comparator signal is too strong and bleeding into the next tile. Tighten the locking circuit.
- The chest never fills: the output hopper may be stuck locked. Check that the comparator/redstone is releasing the lock when a match arrives.
The exact best-performing redstone layout has shifted across versions and differs slightly between Java and Bedrock Edition, so test your build in your specific version rather than assuming a YouTube tutorial from years ago still applies frame-for-frame. The fundamentals above (5-slot hoppers, the 8-tick cooldown, comparator fullness reading and redstone locking) hold across editions; the precise wiring around them is what varies.
FAQ
Why does my filter hopper need junk items in it?
Filling every slot is what makes the filter selective. With all 5 slots occupied, a non-matching item has no free slot to enter, so it travels on to the next sorter. Only an item that can stack onto your target stack gets kept, which is the entire trick.
How fast can a hopper sorter move items?
Each hopper has an 8-game-tick (0.4 second) cooldown after a transfer, giving a rate of about 2.5 items per second, barring lag. For very high-throughput farms you may need multiple parallel input lines, but for general storage a single hopper line keeps up fine.
What happens to items the sorter doesn’t recognise?
They travel all the way to the end of the line and drop into the overflow chest you place there. This is why the overflow chest is essential: it catches anything without a dedicated sorter, including tools or rare items that accidentally enter the system.
If you want to set this up once and share the storage room with friends so everyone’s loot lands in the right chest, it’s worth running your world on a dedicated Minecraft server that stays online around the clock. For step-by-step server configuration and redstone-friendly settings, see the Minecraft server documentation.
Building out the rest of your base? Pair your storage wall with a steady supply line from a fast wood farm, then go gather rare loot to fill those chests in the Trial Chambers or while braving the Deep Dark and its Warden.
Ready to play?
Run your own Minecraft server with XGamingServer
Spin up an always-on Minecraft server your friends can join in minutes — no port-forwarding, no tech headaches.






