I'm working on a mod, but for part of it I need to find out if the player has died or not. I've been looking for a way to do this, but insofar I can't find anything.
Does anyone know, how do I find out if the player has died?
I believe if you search for it, it may be somewhere in EntityLiving.java, or something about the player.
I believe I've found it before (but I'm away from my jar at the moment), the hints are where it talks about an if statement and then your inventory and what not
Sorry for not being all that heplful, but I've hopefully pointed you in the right direction
I believe if you search for it, it may be somewhere in EntityLiving.java, or something about the player.
I believe I've found it before (but I'm away from my jar at the moment), the hints are where it talks about an if statement and then your inventory and what not
Sorry for not being all that heplful, but I've hopefully pointed you in the right direction
This should help me find it, thanks :smile.gif: I figured it might be in there, but I didn't even think about looking for a spot where it also mentions inventory (*mental face palm*)
Does anyone know, how do I find out if the player has died?
I believe I've found it before (but I'm away from my jar at the moment), the hints are where it talks about an if statement and then your inventory and what not
Sorry for not being all that heplful, but I've hopefully pointed you in the right direction
This should help me find it, thanks :smile.gif: I figured it might be in there, but I didn't even think about looking for a spot where it also mentions inventory (*mental face palm*)