}
double distanceNew = vecNewTarget.squareDistanceTo(this.xCoord, this.yCoord, this.zCoord);
if (distanceNew > e.getDistanceSq(this.xCoord, this.yCoord, this.zCoord))
{
if (vecOldTarget == null || distanceNew > vecOldTarget.squareDistanceTo(this.xCoord, this.yCoord, this.zCoord))
{
e.getNavigator().tryMoveToXYZ(vecNewTarget.xCoord, vecNewTarget.yCoord, vecNewTarget.zCoord, 0.3D);
//System.out.println("Debug: Arclamp repelling entity: "+e.getClass().getSimpleName());
}
}