use of frozenblock.wild.mod.liukrastapi.FlyRandomlyGoal in project wildmod by Osmiooo.
the class AllayEntity method initGoals.
protected void initGoals() {
this.goalSelector.add(1, new LookAtEntityGoal(this, PlayerEntity.class, 8.0F));
this.goalSelector.add(3, new FlyRandomlyGoal(this));
this.setCanPickUpLoot(true);
List<ItemEntity> list = AllayEntity.this.world.getEntitiesByClass(ItemEntity.class, AllayEntity.this.getBoundingBox().expand(8.0D, 8.0D, 8.0D), AllayEntity.CAN_TAKE);
}
Aggregations