The problem You clear a few zombies and your hotbar is full of rotten flesh. You walk past a spider and pick up spider eyes you will never use. Vanilla picks up everything you touch, so the slots you need get clogged.
Where you see it There is no menu, no key and no HUD. You see it on the ground and in your hotbar. Walk over an item on your list and nothing happens: it stays lying where it is. Walk over anything else and it goes into your hotbar exactly as in vanilla.
What you can do
Do nothing. Out of the box, rotten flesh, poisonous potato and spider eye are skipped.
Change the list. The first time the game starts, the mod creates config/item-pickup-filter.json:
{ "blacklist": [ "minecraft:rotten_flesh", "minecraft:poisonous_potato", "minecraft:spider_eye" ] }
Add or remove item ids (the same ids you type in /give, for example minecraft:gunpowder), save the file and restart the game. Ids of items added by other mods work too (checked on the Minecraft 26.3 build).
Get an item back. Take it off the list and restart. The mod never deletes or changes items.
The result Your hotbar and inventory hold what you chose to keep. Skipped items lie on the ground and despawn after 5 minutes as usual.
Good to know
Where to install it
Requirements Fabric Loader. Available for Minecraft 1.21.11 and 26.3 (pick the file for your version). Fabric API is not needed.
Known limitations
Source: https://github.com/hullspark/fabric-mods
Disclosure: this mod was developed with AI assistance (Claude) and reviewed by the author. It does not reuse code or assets from other mods. It does not collect or transmit any data.