- check_circle Advancements
- check_circle Functions
- 2,761 views, 32 today
- 493 downloads, 3 today
57
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!
Personally I don't like playing with the KeepInventory true gamerule because it feels cheap to go somewhere dangerous without the risk loosing anything. This data pack aims to give dangerous areas the risk back they deserve while still allowing you to use your best equipment that you spent hours on farming, crafting and enchanting.
Items normally despawn after 5 minutes.
This data pack extends that to 10 minutes for items dropped by dying although this can be changed with the in game config.
The following Items are kept when dying:
Swords, Bows, Crossbows, Tridents, Tools, Armor, Elytra, Potions, Golden Apples, Written Books, Boats, Compasses, Clocks, Maps, Totems, Flint and Steals, Shears, Water Buckets, Fishing Rods, Spyglasses, Carrots on Sticks, Fungi on Sticks and Firework Rockets
The data pack is highly configurable:
You can change what items are kept/dropped by modifying the item tag at /data/ps_keep/tags/items/drop_on_death.json
The config can be changed ingame by any admin by typing /function config:keep_some_inventory
This data pack should be compatible with most other data packs.
If you find any incompatibilities or other bugs, just let me know in a comment below!
I have only tested this data pack in 1.18.2 but it should work from 1.15 to the newest version - let me know if this is not the case. :)
With this data pack no longer, since you keep your fighting equipment like weapons, tools and armor on you when dying!
Personally I don't like playing with the KeepInventory true gamerule because it feels cheap to go somewhere dangerous without the risk loosing anything. This data pack aims to give dangerous areas the risk back they deserve while still allowing you to use your best equipment that you spent hours on farming, crafting and enchanting.
Items normally despawn after 5 minutes.
This data pack extends that to 10 minutes for items dropped by dying although this can be changed with the in game config.
The following Items are kept when dying:
Swords, Bows, Crossbows, Tridents, Tools, Armor, Elytra, Potions, Golden Apples, Written Books, Boats, Compasses, Clocks, Maps, Totems, Flint and Steals, Shears, Water Buckets, Fishing Rods, Spyglasses, Carrots on Sticks, Fungi on Sticks and Firework Rockets
The data pack is highly configurable:
You can change what items are kept/dropped by modifying the item tag at /data/ps_keep/tags/items/drop_on_death.json
The config can be changed ingame by any admin by typing /function config:keep_some_inventory
This data pack should be compatible with most other data packs.
If you find any incompatibilities or other bugs, just let me know in a comment below!
I have only tested this data pack in 1.18.2 but it should work from 1.15 to the newest version - let me know if this is not the case. :)
Compatibility | Minecraft 1.15 |
to | Minecraft 1.19 |
Tags |
1 Update Logs
Small Clean Up : by PuckiSilver 04/25/2022 11:04:46 pmApr 25th
- deleted some unused folders/files
- Now properly works with other data packs
- Now properly works with other data packs
tools/tracking
5548012
119
keep-some-inventory-don-t-lose-weapons-tools-and-armor-upon-death
Create an account or sign in to comment.
nice work!
edit: now i remember, we used KeepInventory but only in combat events. and not everyone was convinced.