Lootable Bodies Mod stores your items on a dead body that you loot to get it back latter in order to protect them from despawning when you die. Fire, explosions and falling can unharm your dead body, with configurations options to make your lootable bodies completely invulnerable (or more vulnerable, if you so choose). Access its inventory by right-click on a dead body. Use a shovel to dispose of your body after you looted it (3 hits with a shovel will remove the body)
When you die, this mod spawns a corpse (with your player skin, unless fancy corpses are disabled) and puts all of your inventory on the corpse. Damageable items suffer some damage (configurable), bit will never be destroyed. Even near-by items on the ground are sucked into your corpse, just in case you accidentally threw your sword at the zombie when you meant to attack it (D?oh!).
Hitting a body 3 times with a shovel will dispose it, dropping any equipment it has still on it. Damaging the body with other damage sources will also destroy it, unless the
corpse_indestructible=true option is set in the config file (see
Configuration Options below).