10 mars 2014, 13:26
public Entity getEntityToAttack()
{
return null;
}

Il existe aussi la fonction pour que le mob target une cible :

public void setTarget(Entity par1Entity){ }