Gloppers!
Gloppers (from the words glob and hoppers) is a Minecraft modification that allows filtering items in hoppers by renaming them using glob patterns.
The idea came from LiveOverflow's Minecraft letsplay, where these features were quietly implemented on his server to simplify the creation of a storage system.

How to Use
First, install the mod. This modification works only on the server side and has no effect on the client (unless you are playing in singleplayer mode).
After installation, rename a hopper on an anvil by adding an exclamation mark at the beginning. Then specify glob patterns matching the identifiers of the items you want to filter, separating them with commas.
Examples of patterns:
!ore— Matches all ores!iron— Matches all iron items!totem_of_undying— Matches only the Totem of Undying!oak,cherry— Matches all oak and cherry wood items
Please note that you must use the internal identifiers of the items, not their display names (for example, writable_book instead of Book and Quill). Do not add the namespace (the "minecraft" part).
Advantages Over Vanilla
- Only iron and wood are required for use (no redstone)
- Occupies a 1x1x1 space compared to the popular 4x3x1 design
- Ability to filter non-stackable items
- No junk items required
Application in Storage Systems
Gloppers are most useful in storage systems. Instead of complex redstone circuits that take up a lot of space, you can simply design the system as follows:

Items will be sucked from the top row into the bottom glopper only if they match the pattern.
Mod Compatibility
- Lithium conflicts with Gloppers, and you need to disable its hopper optimizations in the
lithium.propertiesfile (mixin.block.hopper=false).