https://www.curseforge.com/minecraft/mc-mods/tidychunk
TidyChunk basically removes items on the ground after the chunk they're in are loaded so that you can explore without getting a lot of trash in your inventory and i also i think this can reduce a tiny bit of lag too.