use of io.github.bioplethora.entity.ai.CavernFleignarTargetGoal in project bioplethora by AquexTheSeal.
the class CavernFleignarEntity method registerGoals.
@Override
protected void registerGoals() {
super.registerGoals();
this.goalSelector.addGoal(3, new LookAtGoal(this, PlayerEntity.class, 24.0F));
this.goalSelector.addGoal(2, new CavernFleignarMeleeGoal(this, 20, 0.8, 0.9));
this.goalSelector.addGoal(5, new LookRandomlyGoal(this));
this.targetSelector.addGoal(2, new CavernFleignarTargetGoal(this, true));
this.targetSelector.addGoal(1, new HurtByTargetGoal(this).setAlertOthers(this.getClass()));
}
Aggregations