/
This data pack introduces an alternative death penalty and is designed for gameplay with /gamerule keepInventory true (but it also has a version for playing without this rule). It caters to players who don’t want to lose their items upon death but still wish to feel the fear of dying.
This datapack is not recommended for use alongside mods or other datapacks that modify player HP, as proper functionality is not guaranteed.
If you want to play with /gamerule keepInventory true enabled but don’t want to lose experience, simply use the version without keepInventory and enable /gamerule keepInventory true manually.