Lootable Bodies Mod 1.12.2, 1.11.2 (Never Lose Stuff Again)
1,265
views ❘
July 11, 2019
Lootable Bodies Mod 1.12.2, 1.11.2 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).
This mod allows your items to be stored within a corpse of your dead body rather than at risk of despawning after a few minutes. This way your items won’t disappear after you die and you can loot your old body to get them back.
No matter what happens to cause your death, your items will remain safe. So whether you die by explosion or lava that would normally destroy items as you drop them, this mod will prevent that as your dead body is basically invulnerable to harm.
This is great for accidental mining deaths when lava suddenly shows up or if creepers happen to sneak up on you. All you need to do is go find your dead body and right-click to take your stuff back. The only caveat is that some items that can take damage like armor and tools will be slightly harmed.
Features:
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.
Disposing bodies: 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).
Screenshots:
Configuration Options:
Show Spoiler
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 also corpse_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).
Creating Lootable Bodies with the Summon Command:
In the simplest case, you can simply summon a default corpse with the Steve skin with:
/summon lootablebodies_EntityLootableBody
To summon a Lootable Body with a specific orientation and player skin, the cammond would look like this:
Where Yaw is a value from 0 to 360 specifying the angle or rotation (0 points north, 90 points west, 180 points south, and so on) and PlayerName is the user name of the player whose skin you want to use. Note that you may need to log-out and back in to see the appropriate player skin if you summon a corpse using the skin of a player that is not logged on to your server at that moment.