I wasn't satisfied with any other Inventory keeping mod, so I made my own to allow me to add tags to it (who wants to add EACH INDIVIDUAL ITEM in a massive modpack!?)
So, that's exactly what this mod is! Keep your inventory, but just the bits that you want!
This also keeps your curios, as long as you allow them in the list! No need for multiple mods for one purpose >:D
#Keep equipped armor items on death
"Keep Armor" = true <- This bit will keep your equipped armor when you die, regardless if the item is in the whitelist or not (off by default).
#Items/tags to keep on death. Use 'modid:item' or '#modid:tag'
Keep = ["minecraft:dirt", "#c:tools", "#behold:my_super_cool_tag"] <- This is where you add the cool stuff you want to keep, separated by commas (tags should always start with #)
This mod is already compatible with GraveStone, Simple Tomb, and Corail Tombstone mods, so go give them some love because the mods are pretty cool.
As long as it is NeoForge, maybe. If you want it in Forge, Fabric, or God forbid Quilt, then you will have to do it yourself because I have no interest in those versions currently.