Hey in my minecraft mod I am trying to get the near entity's from my entity and be able to manipulate them.
This is the way I have been getting the near entitys:
List entitylist = this.getEntityWorld().getEntitiesWithinAABBExcludingEntity(this, this.getEntityBoundingBox().expand(5.0D, 10.0D, 5.0D));
So how do I get the entitys out of the list?
This code should work!, it get all the entity out of the selected entity