What more can I say, all player's have been down this road before at one point or another. One day we'll be caught off gaurd and fall into lava, get ambushed by skeleton patrol/get set on fire by a blaze...
Than all those hard earned items are gone or lost in a labyrinth in a position that will take several hours to get to.
Wait, what if you could keep your inventory:
If your the kind of gamer who prefers getting straight back into the action,
rather than going through the arduous process of recollecting your inventory this mod, might just be what your looking for.
I've included the source code and fully commented it.
SPECIAL THANKS TO theN00Bster for an awesome video:
Blueberryboss and LifeUpStudios also made review videos.
Thanks guys. If you like this mod, please subscribe to us, on our youtube channel.
I know. By the time I had realized that, I had already made this mod, that's why I made it open source to help fellow mod developers.
While single player commands is an awesome mod, people might not want all the temptation of all the extra features anyway (and unlike this mod SP commands is closed source).
Besides now that I have time to look at modloaderMp I'll try extending this (still open source)
for multiplayer as well.
The mod now properly updates the inventory's reference to the player each time they respawn.
This is necessary for compatibility with item mods, which require information about the player, who's inventory they occupy. E.g. my resource detector mod
P.s. I'm really sorry that I haven't ported it to multiplayer yet.
I've been busy with other commitments, got distracted playing on a friend's server,
and have run into alot of difficulties just properly installing and decompiling modloadermp with MCP.