This is a datapack for TerraFirmaCraft (for Minecraft 1.18.2) which modifies the loot tables of non-grass standard and tall plants (read: the ones that clutter up your inventory) to have the following behavior:
Broken with hand: no drop (default behavior)
Broken with knife: 40% chance to drop straw (drops self by default)
Broken with shears: drops self (no drop by default)
Broken with shovel: drops self (no drop by default)
Download Terrafirmacraft for Forge 1.18.2 here: https://www.curseforge.com/minecraft/mc-mods/terrafirmacraft