use of net.minecraft.entity.ai.goal.ProjectileAttackGoal in project Paradise-Lost by devs-immortal.
the class AechorPlantEntity method initGoals.
@Override
protected void initGoals() {
super.initGoals();
this.goalSelector.add(4, new ProjectileAttackGoal(this, 0.0D, 30, 1.0F));
this.targetSelector.add(1, new RevengeGoal(this));
this.targetSelector.add(2, new FollowTargetGoal<>(this, LivingEntity.class, true));
}
Aggregations