Mortis is a datapack that handles everything from cosmetics, to convenience with your items after you die.
Type in chat "/function mortis:gamerule/" and tab/autofill to see what the options for gamerules are.
A skull will appear where the player died. If the player died with a skull on, the skull will appear as the one the player wore. If the player didn't wear a skull when dying, the skull will resemble a skeleton skull.
Tells the player in chat where they died.
If the player takes damage in the void, they will die and keep their items. If the player is on half a heart in the void, they will die and keep their items.
Items will not despawn or take damage.
All items clump together at the location of death.
Disables item gravity. (best if used with the ItemClumping gamerule)
Items will not be able to be collected by anyone but the one who died with them.
Tells the player in chat how many times they have died.
Tells the player in chat where they last died.
New SaveItemsFromVoid system
Q: Can I copy/modify the code in your datapack/mod?
A: As long as you don't distribute the modded version, you may use any or all of my code, as long as appropriate credit is given.
Q: Can I use this pack on my public/private server?
A: Go right ahead, I do not care what you do with this on any server.