use of net.minecraft.entity.ai.goal.LookRandomlyGoal in project Mekanism by mekanism.
the class EntityRobit method registerGoals.
@Override
protected void registerGoals() {
super.registerGoals();
goalSelector.addGoal(1, new RobitAIPickup(this, 1));
goalSelector.addGoal(2, new RobitAIFollow(this, 1, 4, 2));
goalSelector.addGoal(3, new LookAtGoal(this, PlayerEntity.class, 8));
goalSelector.addGoal(3, new LookRandomlyGoal(this));
goalSelector.addGoal(4, new SwimGoal(this));
}
use of net.minecraft.entity.ai.goal.LookRandomlyGoal in project bioplethora by AquexTheSeal.
the class PrimordialRingEntity method registerGoals.
@Override
protected void registerGoals() {
super.registerGoals();
this.goalSelector.addGoal(1, new PrimordialRingFollowOwnerGoal(this, 1.5D, 30.0F, 5.0F, true));
this.goalSelector.addGoal(2, new PrimordialRingRangedAttackGoal(this));
this.goalSelector.addGoal(5, new LookRandomlyGoal(this));
this.goalSelector.addGoal(7, new SwimGoal(this));
this.targetSelector.addGoal(1, new PrimordialRingOwnerHurtByTargetGoal(this));
this.targetSelector.addGoal(2, new PrimordialRingOwnerHurtTargetGoal(this));
}
use of net.minecraft.entity.ai.goal.LookRandomlyGoal 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.LookRandomlyGoal 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.LookRandomlyGoal 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));
}
Aggregations