DropsToInventory
With this plugin blocks and drops of animals, creatures and players will not drop on the ground. Instead they will be transferred directly to inventory of the player who broke the block / killed the entity.
Another rewrite for Bukkit/Spigot/Paper 1.18 (1.18.2): This is a very simplistic implementation that tries to be simple and fast and without any configuration, commands or permissions. I'd like to fix this at least for some major things but I give no guarantees that I'll ever get to it.
If you want anything more complex look somewhere else - I stumbled across "Drops2Inventory Plus" on Spigot and it looks decent (though it's paid).
Please see the GitHub repository for more information (present in the README).
Sounds epic :) Can't wait until its available for download :)