Compatibility
Minecraft: Java Edition
1.21–1.21.1
Platforms
Links
Creators
Details
Licensed MIT
Published 5 days ago
Updated last week
Based on PuckiSilver's Keep Some Inventory datapack.
Keep Some Modded Inventory is an alternative to Minecraft's keepInventory
: you can keep your equipment (swords, pickaxes, etc.), but your other items (food, torches, etc.) will drop on death. This means it is much easier to get back to your stuff, but dying still has a penalty. Additionally, it has some small QoL features to make dying less of a chore.
Features
- Vanilla and modded equipment will stay in your inventory when you die.
- Your resources will drop exactly where you died, with no splattering.
- Your items will never despawn.
- 100% of your experience will drop
- Compatability with gravestone mods.
- Compatability with Accessories. (Most likely compatable with Trinkets and Curios too, but I haven't tested it.)
- Fully configurable!
Configuring
This mod can be configured in the mod menu, as well as with datapacks.
Configuration properties
Property | Description | Default |
---|---|---|
Mod enabled | Whether the mod is enabled. | true |
Keep enchantable items | When true, enchantable items not in any item tags will be kept in inventory. | true |
Keep damageable items | When true, items with the max_damage component that are not in any item tags will be kept in inventory. | true |
Item velocity multiplier | How much items should be flung when you die. 1 is vanilla's default. | 0.1 |
Experience dropped | What percent of experience should be dropped vs. lost. 1 means 100% of the player's experience is dropped. | 1.0 |
Datapack configuration
Datapacks can be used to have full control over what items drop on death. KSMI
provides two item tags: #keepsomemoddedinventory:never_drop
and #keepsomemoddedinventory:always_drop
. These tags take precidence over the predicates in the config.