ModRepo

Corpse

Never lose your items again!

Versions

Game Version
Mod Version

This mod brings a corpse into the game. It will spawn upon your death containing all items that you had in your inventory.

Features

The corpse will appear at the players location upon death. Your player skin will be applied to the corpse. It contains all the items you had when you died. It can hold an infinite amount of items.

You can access the items by right-clicking the corpse.

When you take out all items, the corpse will disappear. The corpse can’t fall into the void or burn in lava. It also floats in liquids like lava or water.





After 1 hour, the corpse will turn into a skeleton, indicating that it existed for a longer time. This won’t change the functionality of the corpse.



Death History

You can view all your past deaths by pressing the ‘U’ key. You can retrieve lost items if you are in creative mode.



Viewing the Death Hisory of other Players

By typing /deathhistory <player> as an operator, you can view the death history of another player.




Recovering Lost Items

You can retrieve lost items by pressing the “Items” button in the death history GUI. Note that you can only take out items if you are in creative mode.

Teleporting to the Death Location

By clicking on the “Location” area in the death history GUI, the command to teleport you to the death location will be displayed in chat. It includes the coordinates and the dimension.




Optional Features (Config Options)

  • If only the owner of the corpse can access the inventory
  • If everybody can access the corpse in the skeleton stage
  • The time passed after a corpse despawns if it is empty
  • The time passed after a corpse despawns even if it is full
  • The time passed after a corpse turns into a skeleton
  • If the corpse should spawn on its face