Configurable KeepInventory
Modby BlackAuresArt
Like KeepInventory, but with configurable save slots and exp!
Downloads
727,946
Type
Mod
CurseForge ID
960027
Last Updated
Apr 11, 2026
Description

■ This mod does not affect the vanilla /gamerule KeepInventory, but adds a config (keepinventory-common.toml) that allows you to customize which slots should be kept after death, experience, saturation and other things. You may also apply durability penalty for items with durability if you want some punishment for death. It is comfortable and not overly casual like the vanilla gamerule.
■ Features
- By default the mod save the score, experience, hotbar (0, 1, 2, 3, 4, 5, 6, 7, 8), off-hand (40/45), helmet (39), chestplate (38), leggins (37) and boots (36) after player death. You can find the numbers of other slots id with google and add them!
- keepPotionEffects/keepSaturation/keepHunger/applyDurabilityPenalty - are disabled by default, but you can easily enable them in the configs.
- To prevent a player who dies of hunger from appearing with an empty stomach (only for keepHunger = true), he is given +1 hunger unit by default, but you can make keepedHungerMinLimit higher.
- If vanilla /gamerule KeepInventory true then all mod settings are ignored.
■ Credits:
- Developer: Astemir, Ksantor
- Idea/page design: BlackAures
■ Compatible with: Quark, GraveStone Mod, Enigmatic Graves and all others grave mods. Should support slots from other mods, but ask the developers of other mods about their ids. Only works with vanilla slots by default.

Screenshots
Similar Mods
Create: Design n' Decor
A Create addon focused on QOL decoration features that expand on the base decoration ability of Create whilst focusing o...
Integrated Villages
Overhauling villages with mod integration
CICADA
Confusing, Interesting and Considerably Agnostic Development Aid
Biome Replacer
A quick way to get rid of a biome. Useful for tweaking datapack-based generators (like Terralith) that don't have a conv...
OpenBlocks Elevator (Fabric)
This mod adds the famous 1.12.2 Elevator block, fully functional so you can teleport up and down in your world.
Eldritch Mobs
A mod that makes everyday mobs more dangerous, exciting, and rewarding to fight!
