Keep Some Inventory
Isn't it annoying when you die and your items are far away and surrounded by danger?
With this data pack no longer, since you keep your fighting equipment like weapons, tools and armor on you when dying!
Overview
Personally I don't like playing with the keepInventory gamerule set to true because it feels cheap to go somewhere dangerous without the risk of losing anything.
This data pack aims to give dangerous areas their risk back while still allowing you to use your best equipment that you spent hours on farming, crafting and enchanting.
Features
- When dying, you keep all your equipment on you while still dropping your resources.
- Your items will not splatter, they all stay at the exact location you died at, no items flying into lava or off of cliffs.
- At the location of your death you can collect all your experience and it is not limited to about 7 levels, like in vanilla minecraft.
- After dying, your items and experience will despawn after 10 minutes instead of despawning after the normal 5 minutes.
Compatability
- This pack will most likely not work together with grave packs or packs doing anything to items on death.
- This pack makes use of vanilla item tags and the convention of common
ctags used by mod loaders, and may therefore be compatible with mods - no guarantee. - You can modify the items that should be dropped on death by opening the zip/jar and modifying the tag located at
data/pskeep2/tags/item/drop.json.
CraftBukkit Servers (Spigot, Paper, Purpur, etc.)
This datapack works with CraftBukkit, provided you set /gamerule keepInventory true in each world, because CraftBukkit has separate gamerules for each world (the Nether and the End are considered separate worlds).
Not setting the keepInventory rule to true for a world or dimension will cause the default Minecraft death and drop item behaviour.
All Versions
+ Add Version- the correct amount of xp at levels 17+ is dropped now
- the correct amount of xp at levels 17+ is dropped now
- the correct amount of xp at levels 17+ is dropped now
- You **can no longer configure** the pack through a scoreboard, the settings should be like the default settings before
- Updated to **1.21+ only** for less code and better performance
- Experience orbs now also **stay for 10 minutes** instead of 5 minutes
- Items that should be dropped now include vanilla
minecrafttags and moddedctags for **better compatability** - Now uses an advancement to detect death instead of a scoreboard, making it **fully compatible** with the
doImmediateRespawngamerule - Uses macros to drop items and experience to **improve performance**
- You **can no longer configure** the pack through a scoreboard, the settings should be like the default settings before
- Updated to **1.21+ only** for less code and better performance
- Experience orbs now also **stay for 10 minutes** instead of 5 minutes
- Items that should be dropped now include vanilla
minecrafttags and moddedctags for **better compatability** - Now uses an advancement to detect death instead of a scoreboard, making it **fully compatible** with the
doImmediateRespawngamerule - Uses macros to drop items and experience to **improve performance**
- Fix all enchanted items getting deleted (vanishing cursed ones will still get deleted)
- Fix all enchanted items getting deleted (vanishing cursed ones will still get deleted)
- Fix dropping stone when dying with empty inventory
- Fix dropping stone when dying with empty inventory
- Update to 1.20.5+
- Update to 1.20.5+
- Actually fix 'unknown scoreboard' error
- Actually fix 'unknown scoreboard' error
- fix 'unknown scoreboard objective' typo
- update drop_on_death to newest version
- update config names (config will be reset in worlds where the pack was already installed and configured)
- fix 'unknown scoreboard objective' typo
- update drop_on_death to newest version
- update config names (config will be reset in worlds where the pack was already installed and configured)
- Updated for 1.20
- Updated for Paper
- Updated for 1.20
- Updated for Paper
- Fix a bug that sometimes deleted items
- Items with the Curse of Vanishing enchantment now properly vanish upon death
- Fix a bug that sometimes deleted items
- Items with the Curse of Vanishing enchantment now properly vanish upon death
- Updated to better standards
- Polished some art up
- Keep **more items when dying**
- Added stuff like Ender Pearls/Eyes, Torches, Mob Heads, ...
- Updated to better standards
- Polished some art up
- Keep **more items when dying**
- Added stuff like Ender Pearls/Eyes, Torches, Mob Heads, ...



