Tired of having to get your loot back when you die, but you don't want to turn on keep inventory ?
Keep Inventory Updated will make you keep everything in your hotbar, your offhand and your armor slots, but will drop the rest of your inventory when you die!

Does this work with the ImmediateRespawn gamerule ?
- Yes !
What will happen to my exp when I die ?
- You will keep all your exp
What will happen if I have an item enchanted with curse of vanishing ?
- The curse is still working, the item will be gone forever.
How can I make sure this datapack is working ?
- If you type /datapack list in game "keep_inventory_updated" should appear!
Why can't I modify the keepinventory gamerule ?
- this datapack make sure that keepinventory stay enabled in order to work as intended.
If you have any issue/question, contact me on discord! (@nugrevan) : https://discord.gg/SxarRKTw8k, any feedback will be greatly appreciated, thanks !
How to Install Keep Inventory Updated (Datapack)
Keep Inventory Updated by nugrevan is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3 (latest release: 26.3+mod, file size: 578 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Keep Inventory Updated file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.