Lootable Bodies mod protects your items from despawning when you die by storing them on a dead body that you can later loot to get your stuff back. Your dead body is unharmed by fire, explosions, and falling, with configurations options to make your lootable bodies completely invulnerable (or more vulnerable, if you so choose). Simply right-click on a dead body to access its inventory. Use a shovel to dispose of your body after you looted it (3 hits with a shovel will remove the body).
Save Your Inventory When You Die:
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, so that even items in extra inventories provided by other mods will also be saved on your corpse.
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 if that damage type is enabled by the config options (see Configuration Options below).
corpse_HP This is the number of half-hearts of damage that needs to be dealt to the body to destroy it. If no damage vulnerabilities are specified, then only a shovel can destroy a body (and it only takes 3 hits from the shovel, no matter how many HP it the body has). Default is 50 (25 hearts).
add_bones_to_corpse If set to true, then bones and rotten flesh will be added to your corpse inventory when you die. Default is true.
corpse_inventory_size This is the total number of items that the corpse can hold. Only 54 items are visible at a time (the rest will appear in the inventory window as soon as there’s space). Default is 108 items and the lowest allowed value is 54 (which is the number of items visible in the GUI).
use_player_skin If true, dead bodies use the skins of their former selves. If false, dead bodies are skeletons.
item_damage_on_death Damage suffered by damageable items on death (you didn’t think that death was a free-ride, did you?). This item damage will never destroy an item, leaving it with 1 durability instead. You can set this value to 0 if you don’t want item damage on death, default is 32 durability damage.
enable_corpse_decay If true, corpses will self-destruct after a preiod of time (default: false). See alsocorpse_decay_time.
corpse_decay_time If enable_corpse_decay=true, then this is the age at which a dead body will self-destruct, dropping its items. The format is hours:minutes:seconds or just hours:minutes. For example: 0:05 is five minutes and 48:00:10 is two days and ten seconds. Default is 1:00:00 (1 hour).
empty_only_decay If true and corpse decay is enabled, then corpses only decay when they have no items on them.
hurt_by_weapons If true, bodies can be damaged by attacking it (default: false).
hurt_by_fire If true, bodies will be damaged by fire and lava (default: false).
hurt_by_fall If true, bodies will be damaged by falling long distances (default: false).
hurt_by_explosions If true, bodies will be damaged by creepers and TNT (default: false). Note that if you disable explosion damage but enable fall damage, then explosions will eventually destroy a body by throwing it into the air and hurting it with fall damage.
hurt_by_cactus If true, bodies will be damaged by cacti (default: false).
hurt_by_block_suffocation If true, bodies will be damaged by being stuck inside a block (default: false).
hurt_by_other If true, bodies will be damaged by damage sources not covered by the other options (default: false).
hurt_by_all If true, bodies will be damaged by anything that damages a player (default: false).
How to install:
- Download and install Minecraft Forge.
- Download the mod.
- Go to %appdata%.
- Go to .minecraft/mods folder.
- If the “mods” folder does not exist you can create one.
- Drag and drop the downloaded jar (zip) file into it.
- Enjoy the mod.