Hopper Item Sorter Mechanics

An automatic item sorter uses hopper push-pull priorities and a comparator to pull specific items out of a transport line into storage chests while letting unwanted items pass by. It is an essential circuit for organizing farm drops—like separating gold nuggets from rotten flesh and swords—and building clean, lag-friendly survival storage rooms.

Item CircuitsBeginnerJava Edition
Hopper Item Sorter Mechanics video tutorial

Video: How do Item Sorters Work? Storage Tech No. 2 by Nico is LOST

How to build it

  1. Place the Storage Chest and Bottom Hopper

    Place your storage chest where you want sorted items to end up. Crouch and attach a hopper behind it pointing directly into the back of the chest.

  2. Add the Sideways Filter Hopper

    Place a second hopper directly on top of the first one, but aim its nozzle sideways into a non-container block (such as air or the comparator you will place next). This disables the hopper's push action so items only move down when the bottom hopper pulls them.

  3. Lock the Bottom Hopper with a Torch

    Behind the bottom hopper, place a solid block with a redstone torch attached to it so the torch powers and locks the bottom hopper. This prevents the filter hopper above from draining completely.

  4. Read the Filter Hopper with a Comparator

    Place a solid block behind the filter hopper and put a redstone comparator on top of it, facing away from the hopper. The comparator will measure how many items are currently inside the filter hopper.

  5. Wire the Signal StrengthLine

    For a basic Signal Strength 2 filter, run two pieces of redstone dust out from the comparator across solid blocks. For a 1-wide tileable Signal Strength 3 filter (recommended), extend the top line by one extra block so you have three pieces of redstone dust in a row.

  6. Connect the Repeater Inverter

    Under the end of your redstone dust line, place a redstone repeater pointing toward the block holding the redstone torch. When the dust at the end of the line powers the block behind/above the repeater, the repeater turns off the redstone torch and unlocks the bottom hopper.

  7. Configure the Filter Slots

    Open the top filter hopper and place 1 inert filler item (an item renamed in an anvil that will never enter your sorting line) into each of the four rightmost slots. In the first (leftmost) slot, place the item you want to sort—18 items for a 2-dust filter, or 41 items for a 3-dust tileable filter.

  8. Run the Input Stream Above

    Run your main hopper pipe (pointing sideways across the top of the filter hopper) directly above the filter hopper. Matching items passing overhead will be pulled down and sorted into your chest.

How it works

To understand why this circuit works, you have to look at hopper push and pull mechanics:

  • Push vs. Pull: Every hopper can push items out of its nozzle and pull items from the container above it. Within a single hopper, pushing always happens before pulling, followed by an 8-game-tick cooldown.
  • Disabling the Push: If the top filter hopper pointed straight down into the bottom hopper, both hoppers would move items—the top would push and the bottom would pull. By aiming the filter hopper sideways into air or a comparator, its push action is completely disabled. It can still pull items from the input stream above, because it is never powered by redstone.
  • Controlling the Pull: Since the top hopper cannot push, the only way items leave it is when the bottom hopper pulls them. A redstone torch keeps the bottom hopper powered (locked) by default.
  • Comparator Thresholds: A hopperAlways drains from its leftmost slot first. In a Signal Strength 2 (SS2) filter, 22 total 64-stackable items output signal strength 1. As soon as a 23rd item enters the first slot, the comparator outputs signal strength 2, reaching the second dust, powering the repeater, and turning off the torch for a moment so the bottom hopper pulls 1 item into the chest.
  • Overflow Protection (SS3): In an SS2 filter, if the chest fills up and the filter hopper backs up to 46+ items, the comparator outputs signal strength 3, which bleeds into adjacent slices and drains their filters. Extending the dust line by 1 block creates a Signal Strength 3 (SS3) filter (41 target items + 4 filler items = 45 baseline, triggers at 46). Because a completely full stack (64 + 4 = 68 items) still only outputs signal strength 3, the signal can never reach strength 4 and will never break neighboring slices.

Tips & variations

  • Always Use Renamed Filler Items: Never fill all 5 slots with the item you are sorting in a tileable system. Use 4 named barrier/junk items (like renamed sticks or cobble) in slots 2–5 so the hopper acts as a single-slot filter and cannot overflow into signal strength 4.
  • Vertical Chest Silos Fill Bottom-Up: If you stack multiple chests and hoppers below your sorter, items will automatically trickle all the way to the bottom chest first because each hopper goes on an 8-game-tick cooldown after pulling, allowing the hopper below to pull the item before it can be pushed sideways.
  • SS2 vs. SS3 Trade-off: The 2-dust (SS2) design only requires 18 filter items locked in the hopper (great for expensive items like diamonds if built standalone), whereas the 3-dust (SS3) design requires 41 filter items in the first slot (or 41 filler items spread across slots 2–5 and 1 target item in slot 1, though keeping 1 filler per slot in 2–5 is safest against backstuffing).

Frequently asked questions

Why does the filter hopper have to face sideways instead of straight down?
If the filter hopper faces down, it will actively push items into the bottom hopper even when the bottom hopper is locked by the redstone torch, draining your filter items into the chest. Pointing it into air or a comparator disables its push ability.
Why did my adjacent item sorters break when one chest filled up?
You likely built a Signal Strength 2 filter (2 redstone dust). When a slice backs up past 45 items, it outputs signal strength 3, which crosses over and unlocks the hoppers next to it. Extend the top dust line to 3 blocks (Signal Strength 3 filter) to make it truly 1-wide tileable.
Why do stacked storage chests fill from the bottom chest first?
When the top hopper pulls an item, it enters an 8-game-tick cooldown before it can push into its chest. During that cooldown, the hopper below it pulls the item down first, repeating until the item reaches the lowest empty hopper and chest.

Components used

More item sorter