Basically what I need to know is how to reference minecraft player entityID's through java. I believe, using an existing modpack installed on a server, and just editing my client modpack, I would be able to get players coordinates. The code is below, I put in bold the part where I need to put in the entityID. I know nothing about minecraft java wise, so I dont even know if this is possible. Please advise?


Edit: i had to edit out most of the code since the forum can't distinguish between code and links...

[CODE]
{
if (this.getEnergy(itemStack) > ENERGY_PER_TICK)
{
setTrackingEntity(itemStack, entity);
player.addChatMessage(new ChatComponentText(LanguageUtility.getLocal("messag e.tracker.nowtrack") + " " + entity.getCommandSenderName()));
return true;
}