So i'm modding with 1.8.8 MCP meaning i can't use spigot or any methods like that and i need to get an entity's killer / cause of death. I can't even find any tutorials or such because everything i have found uses spigot or forge.
I can already kind of do it with mc.thePlayer.getLastAttacker() (which actually returns the last entity that the player has attacked) but it doesn't work on other entities or players. It would probably be easy to implement my self but i'm just starting out with java so please respond if you know a way to do it.
0
So i'm modding with 1.8.8 MCP meaning i can't use spigot or any methods like that and i need to get an entity's killer / cause of death. I can't even find any tutorials or such because everything i have found uses spigot or forge.
I can already kind of do it with mc.thePlayer.getLastAttacker() (which actually returns the last entity that the player has attacked) but it doesn't work on other entities or players. It would probably be easy to implement my self but i'm just starting out with java so please respond if you know a way to do it.