use of net.minecraft.entity.ai.goal.WanderAroundFarGoal in project MCDoom by AzureDoom.
the class BaronEntity method initGoals.
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
protected void initGoals() {
this.goalSelector.add(5, new WanderAroundFarGoal(this, 1.0D));
this.goalSelector.add(6, new LookAtEntityGoal(this, PlayerEntity.class, 8.0F));
this.goalSelector.add(6, new LookAroundGoal(this));
this.goalSelector.add(5, new WanderAroundFarGoal(this, 0.8D));
this.goalSelector.add(4, new RangedAttackGoal(this, new BaronEntity.FireballAttack(this).setProjectileOriginOffset(0.8, 0.4, 0.8).setDamage(config.baron_ranged_damage), 1.2));
this.targetSelector.add(1, new RevengeGoal(this, new Class[0]).setGroupRevenge());
this.targetSelector.add(2, new ActiveTargetGoal(this, PlayerEntity.class, true));
this.targetSelector.add(2, new ActiveTargetGoal<>(this, MerchantEntity.class, true));
}
use of net.minecraft.entity.ai.goal.WanderAroundFarGoal in project MCDoom by AzureDoom.
the class CyberdemonEntity method initGoals.
@Override
protected void initGoals() {
this.goalSelector.add(6, new LookAtEntityGoal(this, PlayerEntity.class, 8.0F));
this.goalSelector.add(6, new LookAroundGoal(this));
this.goalSelector.add(5, new WanderAroundFarGoal(this, 0.8D));
this.goalSelector.add(4, new RangedAttackGoal(this, new CyberdemonEntity.FireballAttack(this).setProjectileOriginOffset(0.8, 0.8, 0.8).setDamage(config.cyberdemon_ranged_damage), 1.1D));
this.targetSelector.add(1, new RevengeGoal(this, new Class[0]).setGroupRevenge());
this.targetSelector.add(2, new ActiveTargetGoal<>(this, PlayerEntity.class, true));
this.targetSelector.add(2, new ActiveTargetGoal<>(this, MerchantEntity.class, true));
}
use of net.minecraft.entity.ai.goal.WanderAroundFarGoal in project MCDoom by AzureDoom.
the class MotherDemonEntity method initGoals.
@Override
protected void initGoals() {
this.goalSelector.add(8, new LookAtEntityGoal(this, PlayerEntity.class, 8.0F));
this.goalSelector.add(8, new LookAtEntityGoal(this, MerchantEntity.class, 8.0F));
this.goalSelector.add(8, new LookAtEntityGoal(this, IronGolemEntity.class, 8.0F));
this.goalSelector.add(8, new LookAroundGoal(this));
this.goalSelector.add(5, new WanderAroundFarGoal(this, 0.8D));
this.initCustomGoals();
}
use of net.minecraft.entity.ai.goal.WanderAroundFarGoal in project MCDoom by AzureDoom.
the class SpiderMastermind2016Entity method initGoals.
@Override
protected void initGoals() {
this.goalSelector.add(6, new LookAtEntityGoal(this, PlayerEntity.class, 8.0F));
this.goalSelector.add(6, new LookAroundGoal(this));
this.goalSelector.add(5, new WanderAroundFarGoal(this, 0.8D));
this.goalSelector.add(4, new RangedStrafeAttackGoal(this, new SpiderMastermind2016Entity.FireballAttack(this).setProjectileOriginOffset(0.8, 0.2, 0.8).setDamage(config.spider_mastermind_ranged_damage), 1.0D, 20, 30, 15, 15F, 1));
this.targetSelector.add(1, new RevengeGoal(this, new Class[0]).setGroupRevenge());
this.targetSelector.add(2, new ActiveTargetGoal<>(this, PlayerEntity.class, true));
this.targetSelector.add(2, new ActiveTargetGoal<>(this, MerchantEntity.class, true));
}
use of net.minecraft.entity.ai.goal.WanderAroundFarGoal in project MCDoom by AzureDoom.
the class SpiderMastermindEntity method initGoals.
@Override
protected void initGoals() {
this.goalSelector.add(6, new LookAtEntityGoal(this, PlayerEntity.class, 8.0F));
this.goalSelector.add(6, new LookAroundGoal(this));
this.goalSelector.add(5, new WanderAroundFarGoal(this, 0.8D));
this.goalSelector.add(4, new RangedStrafeAttackGoal(this, new SpiderMastermindEntity.FireballAttack(this).setProjectileOriginOffset(0.8, 0.4, 0.8).setDamage(config.spider_mastermind_ranged_damage), 1.0D, 5, 30, 15, 15F, 1).setMultiShot(6, 0));
this.targetSelector.add(1, new RevengeGoal(this, new Class[0]).setGroupRevenge());
this.targetSelector.add(2, new ActiveTargetGoal<>(this, PlayerEntity.class, true));
this.targetSelector.add(2, new ActiveTargetGoal<>(this, MerchantEntity.class, true));
}
Aggregations