Minecraft Item Sorter (Bedrock)
An item sorter routes specific items into their own chests automatically. A comparator reads a hopper pre-filled with filter items, and the tiny signal it produces unlocks the hopper only for matches.
How does an item sorter work?
An item sorter takes a mixed stream of items and drops each type into its own chest with no clicking. The heart of it is a comparator reading a hopper that you've pre-loaded with one of each item you want to filter. The trick: the comparator's output strength depends on how full that hopper is, and you set it up so a match tips the strength just high enough to release the items below.
The comparator filter trick
A comparator measures how full a container is and outputs a proportional signal. The classic filter primes a hopper so it sits just under the next signal step — for example, holding stacks plus a few items so it reads a low strength like 1. When a matching item arrives it stacks onto the filter items, nudges the fill level up a notch, and the comparator's signal rises enough to unlock the hopper underneath, letting the sorted item fall through to its chest. Non-matching items can't stack with the filter, so the signal never rises and they pass on to an overflow.
Chaining sorters in a row
Real sorters line up many filter modules along a shared hopper line, one chest per item type. Each module only reacts to its own filter item, so a stream of mixed loot fans out into neatly labelled chests. The big design concern is signal bleed: if one filter overflows badly, its comparator signal can spill into the neighbour and unlock the wrong chest. Overflow-safe layouts keep the signal low enough that a full filter hopper still won't disturb the module next to it.
Key facts
- A comparator reads a container's fill level as an analog signal.
- Pre-load the filter hopper so it sits one step below the trigger level.
- A matching item stacks with the filter and bumps the signal up to unlock the chest.
- Non-matching items can't stack, so they flow on to an overflow line.
- Space modules to prevent signal bleed between neighbours.
- Comparators must face out of the container they read.
Bedrock vs. Java: this build travels well
The comparator-and-hopper sorter works on both editions — the comparator reads container fullness the same way on Bedrock as on Java, so the core design ports cleanly. Watch two things on Bedrock: hopper item-transfer timing can differ slightly, and there's no quasi-connectivity, so if any module uses a piston, power it directly. This simulator follows Bedrock rules.