Is there a command or command with which all items (including those in chests)
Can despawn in an MC world?
For items:
/ kill @e [type = item]
For chests:
/ fill x y z x1 y2 z3 chest replace chest
However, it has a limit of 32,768 blocks in total.
Thank you☺