Mortis
Mortis is a datapack that handles everything from cosmetics, to convenience with your items after you die.
Quick start guide
Type in chat "/function mortis:gamerule/" and tab/autofill to see what the options for gamerules are.
Gamerule list
HeadDisplay:
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.
ShowLastDeathCoordanates:
Tells the player in chat where they died.
SaveItemsFromVoid:
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.
ItemInvulnerability:
Items will not despawn or take damage.
ItemClumping:
All items clump together at the location of death.
ItemGravity:
Disables item gravity. (best if used with the ItemClumping gamerule)
OwnerItems:
Items will not be able to be collected by anyone but the one who died with them.
/trigger commands
/trigger DeathCount:
Tells the player in chat how many times they have died.
/trigger LastDeathCoordanates:
Tells the player in chat where they last died.
Beta stuff
New SaveItemsFromVoid system
QnA
-
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.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+