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 feedback with the number of protected items 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.
All Versions
+ Add Version- Added support for Minecraft 1.21 (should support 1.13.2 as well if your loader API supports it, not tested)
- Added
protected_from_despawntag so you can easily exclude protected items by it from auto-clearing in your mod/plugin/datapack - Tweaked the feedback message
- Fixed links, license and other data (again)
- Added support for Minecraft 1.13.2 and 1.21+
- Added
protected_from_despawntag so you can easily exclude protected items by it from auto-clearing in your mod/plugin/datapack - Tweaked the feedback message
- Despawn protection mechanic
- Optional feedback with number of saved items (disabled by default)
- despawn protection mechanic
- optional feedback with number of saved items (disabled by default)