📦 Smart Filter
"The ultimate inventory management utility for organized adventurers."

Tired of your inventory filling up with cobblestone, dirt, and seeds while you are mining or farming? Smart Filter is a lightweight, high-performance utility mod for NeoForge 1.21.1 that introduces the "Smart Filter" item, allowing you to decide exactly what enters your pockets.
✨ Features
- 🖥️ Visual Interface (GUI): Now featuring a "Simple Chest" style interface. Manage your filtered items in a clean, organized 9-slot row.
- 👻 Ghost Slots: Configure your filter without losing your items. Simply click an item into the GUI slot; the filter registers the item type without consuming the actual item.
- ⚡ High Performance: Built using the latest Minecraft 1.21 Data Components and NeoForge TriState logic. Zero lag, even in heavy modpacks.
- 🔄 Toggleable Modes: Instantly switch between Whitelist (pick up ONLY specific items) and Blacklist (pick up everything EXCEPT specific items).
- 🎒 Multi-Filter Support: Carry multiple filters in your inventory to handle different tasks (one for ores, one for wood) simultaneously.
🎮 How to Use
1. Opening the Interface & Configuring
Hold the Smart Filter in your hand and Right-Click (while standing) to open the configuration GUI.
- Add Items: Click on any of the top 9 slots with an item in your cursor. The item will appear there visually, but the stack stays in your hand!
- Remove Items: Click with an empty hand on a configured item in the GUI to remove it from the filter.
- Duplicate Prevention: The system automatically organizes your list, ensuring the same item doesn't take up multiple slots.
2. Changing Modes
To quickly swap how the filter behaves without opening the GUI:
- Hold the filter and Shift + Right-Click.
- Whitelist (Green Mode): You will ONLY pick up items listed in the filter.
- Blacklist (Red Mode): You will pick up everything EXCEPT the items listed in the filter.
3. Automatic Filtering
Once configured, simply keep the filter anywhere in your inventory. As you walk over items on the ground, the mod automatically checks your rules. If an item is forbidden by your filter, it will remain on the ground!
Tip: You can also quick-configure the filter in the world by holding Shift + Right-Click on a block to add or remove it without opening the interface!