Force KeepInventory - Keeping Inventory on Death
This convenient mod automatically enables the "keepInventory" game rule when starting any world. The functionality applies to both newly created and already existing game worlds.
The modification was specifically developed for the CrafttoExile project, where issues appeared with other death-inventory saving mods (such as death chests or corpse systems). If you want similar functionality for your modpack, this tool will become an ideal solution.