Add attackRange() navigation parameter and isSpawned() now checks whether the entity is valid