Simple datapack to protect your items from despawning after 5 minutes from the character death. No more worrying that your equipment and resources will disappear while you spend too long attempting to find the place where the fatal damage parted you.
This datapack works unnoticeably and leaves no consequences after its removal. It doesn't contain any ticking or even loading functions, so by itself it won't affect Minecraft performance in any way.
If you want, you can enable receiving feedback about the number of items that have been protected from despawn using this command:
/tag @s add get_feedback
If you have a mod, plugin or datapack that automatically clears dropped items, you can exclude the protected items by tag protected_from_despawn
.