use of net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal in project ChocolateQuestRepoured by TeamChocoQuest.
the class EntityCQRMountBase method registerGoals.
@Override
protected void registerGoals() {
this.goalSelector.addGoal(0, new SwimGoal(this));
this.goalSelector.addGoal(1, new PanicGoal(this, 0.9D));
this.goalSelector.addGoal(6, new WaterAvoidingRandomWalkingGoal(this, 0.6D));
this.goalSelector.addGoal(7, new LookAtGoal(this, PlayerEntity.class, 6.0F));
this.goalSelector.addGoal(8, new LookRandomlyGoal(this));
}
use of net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal in project ChaosAwakens by ChaosAwakens.
the class StinkBugEntity method registerGoals.
@Override
protected void registerGoals() {
this.goalSelector.addGoal(1, new SwimGoal(this));
this.goalSelector.addGoal(5, new RandomWalkingGoal(this, 1.6));
this.goalSelector.addGoal(7, new LookRandomlyGoal(this));
this.goalSelector.addGoal(7, new WaterAvoidingRandomWalkingGoal(this, 1.0));
}
use of net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal in project ChaosAwakens by ChaosAwakens.
the class RoboSniperEntity method registerGoals.
@Override
protected void registerGoals() {
super.registerGoals();
this.goalSelector.addGoal(3, new RoboAttackGoal(this, 11, 7.0F, 0.75F));
this.goalSelector.addGoal(5, new WaterAvoidingRandomWalkingGoal(this, 1.6));
this.goalSelector.addGoal(7, new LookRandomlyGoal(this));
}
use of net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal in project ChaosAwakens by ChaosAwakens.
the class RoboWarriorEntity method registerGoals.
@Override
protected void registerGoals() {
super.registerGoals();
this.goalSelector.addGoal(2, new RoboAttackGoal(this, 13, 15.0F, 0.7F));
this.goalSelector.addGoal(4, new WaterAvoidingRandomWalkingGoal(this, 1.6));
this.goalSelector.addGoal(5, new LookRandomlyGoal(this));
}
use of net.minecraft.entity.ai.goal.WaterAvoidingRandomWalkingGoal in project ChaosAwakens by ChaosAwakens.
the class RubyBugEntity method registerGoals.
@Override
protected void registerGoals() {
this.goalSelector.addGoal(1, new SwimGoal(this));
this.goalSelector.addGoal(5, new RandomWalkingGoal(this, 1.6));
this.goalSelector.addGoal(7, new LookRandomlyGoal(this));
this.goalSelector.addGoal(7, new WaterAvoidingRandomWalkingGoal(this, 1.0D));
}
Aggregations