Overflow-Proof Stackable Item Sorter

Standard item sorters require 41 of your target item trapped inside the filter hopper plus one more stuck in the hopper below, which is painful when sorting diamonds or netherite. This A/B tileable Bedrock Edition sorter isolates each slice's redstone signal so you only ever lose a single target item inside the filter while remaining completely overflow-proof. It works at standard hopper speed for both 64-stackable and 16-stackable items.

Item CircuitsIntermediateBedrock Edition
Overflow-Proof Stackable Item Sorter video tutorial

Video: New! Overflow proof stackable item sorter. by Eggfur

How to build it

  1. Place the Storage Chests and Hoppers

    Stack double chests three rows high for as many slices as you want to build, then place a glass block on top of each top chest. Behind the chests, crouch-place a row of filter hoppers pointing forward into the glass blocks (never downwards), and below them place hoppers pointing into the backs of every chest.

  2. Build Slice A: Comparator Output

    This design alternates between two slice patterns (A and B). Behind the first filter hopper (Slice A) and every other slice after it, place a solid block with a redstone comparator reading the filter hopper, then extend two solid blocks backward from the comparator.

  3. Complete Slice A: Torch and Repeater Lock

    Put two redstone dust on the two blocks in front of the comparator and attach a redstone torch to the back face of the farthest block. Directly below that torch, run a block with redstone dust forward into a solid block holding a redstone repeater pointing toward the chest hoppers, and place a solid block in front of the repeater so it locks the hopper right below the filter.

  4. Build Slice B: Pistons and Obsidian

    On the alternating slices (Slice B), place a regular piston directly behind the filter hopper facing downward, and a second downward-facing piston diagonally below and behind the first one (against the middle chest hopper). Place an obsidian block directly underneath the lower piston so it cannot extend.

  5. Add the Slice B Torch and Comparator

    Place a redstone torch on top of the lower piston (because the upper piston faces downward into the torch, it will not be powered). Behind the upper piston, place a solid block with a redstone comparator reading the filter hopper right through the piston, and place a solid block in front of that comparator.

  6. Wire Slice B with Glass Insulation

    Place a glass block (or top slab) behind the redstone torch to allow signal to travel down without powering adjacent blocks. Place a solid block underneath the glass and another one step further back (below the block in front of the comparator), then put redstone dust on both of those bottom blocks.

  7. Configure the Filter Hoppers

    Open each filter hopper and place 18, 1, 1, and 1 renamed filler items across the right four slots (21 filler items total), then put 1 of the 64-stackable item you want to sort in the far-left slot. For 16-stackable items like snowballs or ender pearls, use 12, 1, 1, and 1 filler items in the right four slots instead.

  8. Add the Input Line or Water Stream

    Run a line of hoppers across the very top pointing from an input chest into an overflow chest at the far end, or run a water stream across the filter hoppers. Items matching a filter will drop straight into the bottom chest without leaving an extra item trapped in the lower hoppers.

How it works

Standard tileable sorters require 41 target items because all adjacent redstone lines touch; if a chest fills up and a slice reaches signal strength 3, it bleeds into neighboring slices unless the threshold is kept at strength 3. This design makes the sorter A/B tileable so neighboring redstone dust lines sit at different heights and never connect.

  • Signal Strength 2 Threshold: Because slices cannot cross-talk, each filter only needs to reach signal strength 2 (23 total items for 64-stackables) to unlock its own hopper. Filling the last four slots with 18 + 1 + 1 + 1 = 21 renamed filler items plus 1 target item holds the hopper at 22 items (signal strength 1). The moment a second target item enters, the count hits 23 (signal strength 2).
  • Slice A Operation: Signal strength 2 travels two blocks out of the comparator, turning off the back redstone torch, unpowering the lower dust and repeater, and briefly unlocking the middle hopper so the extra item falls straight into the chests.
  • Slice B Bedrock Mechanics: On Bedrock Edition, comparators can read a container through a piston, and a redstone torch placed on a piston turns off when that piston is powered. When the comparator reaches signal strength 2, it powers the block in front of it, sending power down through the glass-insulated dust line into the lower obsidian-blocked piston. That powers the piston, turns off the torch on top of it, and unlocks the middle hopper without powering the hopper next to it.
  • Zero Trapped Hopper Items: Because of the timing of the torch and piston/repeater lock, the sorted item passes all the way through the lower hoppers into the chest rather than leaving 1 item permanently stuck inside the locked hopper.

Tips & variations

  • Bedrock Exclusive: This build relies on two Bedrock-only mechanics—reading a hopper with a comparator through a piston, and soft-inverting a redstone torch placed directly on a blocked piston. It will not work on Java Edition.
  • Always Rename Filler Items: Use an anvil to rename stackable junk blocks (like dirt or cobblestone) for the 18-1-1-1 filler slots so accidental items entering the system can never stack with your filter slots.
  • Sorting 16-Stackable Items: Items that stack to 16 give off more signal strength per item. Change the four filler slots from 18-1-1-1 to 12-1-1-1 (15 filler items total) and put 1 of your 16-stackable item in the first slot.
  • Hopper Direction Mistake: Make sure the top filter hoppers point horizontally into the glass blocks above the chests. If they point straight down into the lower hoppers, they will push all their filler items out before the redstone can lock them.

Frequently asked questions

Why does this sorter only need 1 filter item instead of 41?
By alternating between two different slice designs (A and B), the redstone dust lines on neighboring slices never touch. Since signals cannot bleed into adjacent tiles, each filter can trigger at signal strength 2 using just 1 target item and 21 filler items, and overflowing a chest will still never break the slices next to it.
Does this item sorter work on Minecraft Java Edition?
No. Slice B reads a hopper through a piston with a comparator and turns off a redstone torch by powering the piston it is attached to, both of which are Bedrock Edition exclusive mechanics.
Why is there obsidian under the bottom piston in Slice B?
The lower piston is only used as a special block that turns off the redstone torch on top of it when powered, without powering the adjacent hopper. The obsidian stops the piston from actually extending and breaking the circuit.
Can I sort 16-stackable items like ender pearls or snowballs?
Yes. Put 1 of the 16-stackable item in the first slot and reduce the filler items in the remaining four slots to 12, 1, 1, and 1 instead of 18, 1, 1, and 1.

Components used

More overflow protection