How To Fix Villagers Not Picking Up Items - Minecraft 1.18 And 1.19 - Vanilla And Forge/Fabric

Forge mod: https://www.curseforge.com/minecraft/mc-mods/better-mob-griefing-control
Fabric mod: https://www.curseforge.com/minecraft/mc-mods/convenient-mobgriefing

mobGriefing needs to be set to true to allow villagers to pick up items like food. Many set mobGriefing to false to prevent creepers from exploding or endermen moving blocks without knowing that it also breaks villagers abilities to fully function.