Item Filters
by latvian.dev
Item Filters, a library mod, adds one filter item that matches items by several rules, and other catalog mods build on it.
What it does
The filter item selects items by logical combinations of child filters: NOT inverts a child, OR matches when any child matches, AND matches when all children match, and XOR matches when exactly one of two children matches. Other filter types match by ore dictionary name, creative tab or source mod. The NOT, OR, AND and XOR filters have no editing screens yet.
Other mods use the library, and developers can add their own filter types through its API. A filter is created in creative mode, then right-click edits it. An item task can take its item from the player's inventory, and its icon scrolls through the valid matches, while the task title must be set by hand.
The mod requires Architectury API on both loaders and Fabric API on Fabric. Item Filters runs on client and server and is published for Fabric and Forge for 1.19.2 and 1.20.1, with the 2001.1.0-build.53 beta file for 1.20.1. It is open source under the GNU General Public License v3.0 only.
Key features
Single filter item
One filter item holds the matching rules, so a filter can be configured without crafting several separate items.
Logical combinations
NOT, OR, AND and XOR join child filters, letting a match rule express exclusion or pairing.
Ore dictionary matching
A filter can match items by their ore dictionary name, such as ingotCopper.
Creative tab and mod matching
Filters can select items by the creative tab they belong to or by the mod that added them.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Quest item tasks
A quest task can accept any item that passes a filter, rather than one fixed item.
Who it’s for: Modpack authors and developers who need item selection in quests, pipes or their own mods.
Questions
Does Item Filters need Architectury API?
Can the server run without Item Filters?
Can a developer add their own filter types?
In the catalog
Item Filters is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from latvian.dev
Similar mods
What the author says
Item Filters is a library mod that is used by mods like FTB Quests, Modular Pipes and QNet. It adds a single item, "Item Filter" which allows advanced filtering/item selection. You can easily add your own filters with the API. If you want to use it in quests, cheat in any filter (or you can use existing one and…
Official listing
- Modrinth page
- modrinth.com/mod/item-filters
- Owner
- latvian.dev
- Published
- 2023-08-07
- Updated on Modrinth
- 2023-08-22
- Facts verified
- 2026-10-15
