Picky Hoppers
Put an item frame on a hopper, put an item in the frame – the hopper now only takes that item.
No new blocks, no new items, no new textures. The mod runs on the server only, so players can join without installing anything.
What it does
A hopper with an item frame on it becomes a filter. The filter applies to everything that tries to get in:
- Containers above: the hopper skips items that do not match and takes the next one that does. The rest stays in the chest.
- Items lying on the hopper: matching items are picked up, the others stay where they are.
- Hoppers, droppers and other mods: whatever they push in is checked as well.
Without a frame, or with an empty frame, a hopper behaves as in vanilla. Redstone locking and comparators are untouched. One difference: right after a chunk loads, hoppers wait a moment until the item frames around them are loaded before they accept items (see FAQ).
How to use it
- Sneak and place an item frame (or a glow item frame) on any side of a hopper.
- Put an item in the frame.
- Right-click the item to rotate it. Each step switches the mode, and the mode appears above the hotbar:
| Rotation | Mode | Lets in |
|---|---|---|
| upright | Item type | the same item, whatever its enchantments, name or damage |
| 1 step | Exact match | only items that are exactly identical, including enchantments and name |
| 2 steps | Group | every item of the same group, for example all logs or all wool colours |
| 3 steps | Blocklist | everything except this item |
The eight positions of a frame run through the four modes twice.
Several frames on one hopper: an item gets in if it matches at least one of the allowing frames (item type, exact, group) and none of the blocklist frames. With only blocklist frames, everything else gets in.
Groups are item tags. If an item has several tags, the mod picks one from a fixed priority list (logs before planks before wool, and so on) and shows its name when you rotate the frame. You can change the list in the config.
A simple sorter: a row of hoppers passing items along, and a filter hopper with a chest under each of them.
Compatibility
- Minecraft 26.3 and 1.21.1, NeoForge and Fabric. Fabric API is not required.
- Server-side only. Install it on the server; players need nothing. It also works in singleplayer.
- Other mods: pipes and machines that insert items the usual way (NeoForge item capabilities, Fabric Transfer API) respect the filter.
- Lithium: supported (tested on Fabric).
- Safe to remove: frames and hoppers are plain vanilla, nothing is stored in the world.
Config
config/pickyhoppers.toml is created on first start and re-read on /reload. Every option has a comment.
| Option | Default | Meaning |
|---|---|---|
enabled |
true |
Master switch |
showModeMessages |
true |
Show the mode above the hotbar |
language |
"auto" |
Language of that message: each player's own (English or German), or a fixed one |
groupPriority |
list | Which tag stands for an item's group; first match wins |
groupFallback |
true |
If no listed tag fits, use the item's smallest other tag |
ignoredGroups |
list | Tags the fallback never picks |
FAQ
Do players need the mod? No. It only has to be on the server.
I already use item frames on hoppers as labels. What happens? They become filters as soon as the mod is
installed. Take the item out of the frame, or set enabled = false.
Can I still put items into the hopper by hand? Yes. The filter is for automation; the hopper's own inventory screen is not restricted.
Items float over my hoppers in a water stream and get stuck. An item the filter rejects stays lying in the hopper, as it would on any block, and blocks the stream. Feed filter hoppers from a hopper line or a chest above them instead.
Why do hoppers pause for a moment after a chunk loads? The game loads item frames slightly later than blocks. Until the frames are there, no hopper can know whether it is a filter, so it accepts nothing instead of letting the wrong items through. This lasts a few ticks and applies to all hoppers, with or without frames.
Do hopper minecarts filter? No, frames cannot hang on them.
The group mode picks the wrong group. Put the tag you want higher up in groupPriority. The mod shows
which group is used every time you rotate the frame.
Why does the message show something like #minecraft:logs? That is the id of the item tag. Players whose
game knows a name for the tag see the name instead.
Picky Hoppers (Deutsch)
Häng einen Rahmen an einen Trichter, leg ein Item hinein – der Trichter nimmt nur noch dieses Item.
Keine neuen Blöcke, keine neuen Items, keine neuen Texturen. Die Mod läuft nur auf dem Server. Spieler können beitreten, ohne etwas zu installieren.
Was die Mod macht
Ein Trichter mit einem Rahmen wird zum Filter. Der Filter gilt für alles, was in den Trichter will:
- Behälter darüber: Der Trichter überspringt Items, die nicht passen, und nimmt das nächste passende. Der Rest bleibt in der Kiste.
- Items, die auf dem Trichter liegen: Passende werden eingesammelt, die anderen bleiben liegen.
- Trichter, Werfer und andere Mods: Auch was sie hineinschieben, wird geprüft.
Ohne Rahmen oder mit leerem Rahmen verhält sich ein Trichter wie in Vanilla. Redstone-Sperre und Komparator bleiben unverändert. Ein Unterschied: Direkt nach dem Laden eines Chunks warten Trichter einen Moment, bis die Rahmen in ihrer Umgebung geladen sind, bevor sie Items annehmen (siehe FAQ).
So benutzt du sie
- Schleichen und einen Rahmen (auch einen Leuchtrahmen) an eine beliebige Seite eines Trichters setzen.
- Ein Item in den Rahmen legen.
- Mit Rechtsklick das Item drehen. Jeder Schritt wechselt den Modus, und der Modus erscheint über der Hotbar:
| Drehung | Modus | Lässt durch |
|---|---|---|
| aufrecht | Item-Typ | das gleiche Item, egal mit welcher Verzauberung, welchem Namen oder Schaden |
| 1 Schritt | Genau | nur exakt gleiche Items, mit Verzauberungen und Namen |
| 2 Schritte | Gruppe | alle Items derselben Gruppe, zum Beispiel alle Holzstämme oder alle Wollfarben |
| 3 Schritte | Sperrliste | alles außer diesem Item |
Die acht Stellungen eines Rahmens wiederholen die vier Modi zweimal.
Mehrere Rahmen an einem Trichter: Ein Item kommt durch, wenn es zu mindestens einem erlaubenden Rahmen passt (Item-Typ, Genau, Gruppe) und zu keinem Sperrlisten-Rahmen. Hängen nur Sperrlisten-Rahmen dran, kommt alles andere durch.
Gruppen sind Item-Tags. Hat ein Item mehrere Tags, wählt die Mod eines nach einer festen Prioritätenliste (Stämme vor Brettern vor Wolle usw.) und zeigt beim Drehen an, welche Gruppe gilt. Die Liste lässt sich in der Config ändern.
Ein einfacher Sortierer: eine Reihe Trichter, die Items weiterreichen, und unter jedem ein Filter-Trichter mit Kiste.
Kompatibilität
- Minecraft 26.3 und 1.21.1, NeoForge und Fabric. Fabric API wird nicht benötigt.
- Nur serverseitig. Auf dem Server installieren, Spieler brauchen nichts. Im Einzelspieler funktioniert sie ebenfalls.
- Andere Mods: Rohre und Maschinen, die Items auf dem üblichen Weg einfügen (Item-Capabilities von NeoForge, Transfer API von Fabric), beachten den Filter.
- Lithium: unterstützt (auf Fabric getestet).
- Gefahrlos entfernbar: Rahmen und Trichter sind reines Vanilla, in der Welt wird nichts gespeichert.
Config
config/pickyhoppers.toml wird beim ersten Start angelegt und bei /reload neu gelesen. Jede Einstellung ist
kommentiert.
| Einstellung | Standard | Bedeutung |
|---|---|---|
enabled |
true |
Hauptschalter |
showModeMessages |
true |
Modus über der Hotbar anzeigen |
language |
"auto" |
Sprache der Anzeige: die des jeweiligen Spielers (Deutsch oder Englisch) oder eine feste |
groupPriority |
Liste | Welches Tag für die Gruppe eines Items steht; der erste Treffer gilt |
groupFallback |
true |
Passt kein Tag der Liste, gilt das kleinste andere Tag des Items |
ignoredGroups |
Liste | Tags, die dabei nie gewählt werden |
FAQ
Brauchen Spieler die Mod? Nein. Sie muss nur auf dem Server liegen.
Ich nutze Rahmen an Trichtern schon als Beschriftung. Was passiert? Sie werden zu Filtern, sobald die Mod
installiert ist. Nimm das Item aus dem Rahmen oder setze enabled = false.
Kann ich weiter von Hand Items in den Trichter legen? Ja. Der Filter gilt für Automatik; das Inventar des Trichters ist nicht eingeschränkt.
Items treiben im Wasserkanal über meine Trichter und bleiben hängen. Ein Item, das der Filter ablehnt, bleibt im Trichter liegen wie auf jedem anderen Block und staut den Kanal. Speise Filter-Trichter stattdessen aus einer Trichterreihe oder einer Kiste darüber.
Warum pausieren Trichter kurz, nachdem ein Chunk geladen wurde? Das Spiel lädt Rahmen etwas später als Blöcke. Bis die Rahmen da sind, kann kein Trichter wissen, ob er ein Filter ist, und nimmt deshalb nichts an, statt falsche Items durchzulassen. Das dauert wenige Ticks und gilt für alle Trichter, mit und ohne Rahmen.
Filtern Trichterloren? Nein, an ihnen können keine Rahmen hängen.
Der Gruppen-Modus wählt die falsche Gruppe. Setz das gewünschte Tag in groupPriority weiter nach oben.
Die Mod zeigt bei jedem Drehen an, welche Gruppe gilt.
Warum steht in der Anzeige so etwas wie #minecraft:logs? Das ist die Kennung des Item-Tags. Spieler,
deren Spiel einen Namen für das Tag kennt, sehen stattdessen den Namen.