use of team.cqr.cqrepoured.entity.ai.spells.EntityAIShootPoisonProjectiles in project ChocolateQuestRepoured by TeamChocoQuest.
the class EntityCQRGiantSpider method registerGoals.
@Override
protected void registerGoals() {
this.spellHandler = this.createSpellHandler();
this.goalSelector.addGoal(0, new SwimGoal(this));
this.goalSelector.addGoal(1, new BossAISpiderSummonMinions(this));
this.goalSelector.addGoal(2, new BossAISpiderWebshot(this));
this.goalSelector.addGoal(3, new BossAISpiderHook(this));
this.goalSelector.addGoal(12, new BossAISpiderLeapAttack(this, 1.2F));
this.goalSelector.addGoal(14, new EntityAIAttack(this));
this.goalSelector.addGoal(20, new EntityAIFollowAttackTarget(this));
this.goalSelector.addGoal(30, new EntityAIMoveToLeader(this));
this.goalSelector.addGoal(31, new EntityAIFollowPath(this));
this.goalSelector.addGoal(32, new EntityAIMoveToHome(this));
this.goalSelector.addGoal(11, this.spellHandler);
this.spellHandler.addSpell(0, new EntityAIShootPoisonProjectiles(this, 80, 20) {
@Override
protected SoundEvent getStartChargingSound() {
return SoundEvents.SPIDER_HURT;
}
@Override
protected SoundEvent getStartCastingSound() {
return SoundEvents.SPIDER_AMBIENT;
}
});
this.goalSelector.addGoal(0, new EntityAICQRNearestAttackTarget(this));
this.goalSelector.addGoal(1, new EntityAIHurtByTarget(this));
}
use of team.cqr.cqrepoured.entity.ai.spells.EntityAIShootPoisonProjectiles in project ChocolateQuestRepoured by TeamChocoQuest.
the class EntityCQRLich method registerGoals.
@Override
protected void registerGoals() {
super.registerGoals();
this.spellHandler.addSpell(0, new EntityAIArmorSpell(this, 50, 30) {
@Override
public boolean isInterruptible() {
return true;
}
});
this.spellHandler.addSpell(1, new EntityAISummonMinionSpell(this, 15, 10, new ResourceLocation(CQRMain.MODID, "zombie"), ECircleTexture.ZOMBIE, true, 25, 5, new Vector3d(0, 0, 0)) {
@Override
public boolean isInterruptible() {
return false;
}
});
this.spellHandler.addSpell(2, new EntityAIFangAttack(this, 20, 5, 1, 12) {
@Override
public boolean isInterruptible() {
return false;
}
});
this.spellHandler.addSpell(3, new EntityAIShootPoisonProjectiles(this, 40, 20) {
@Override
public boolean isInterruptible() {
return false;
}
});
}
Aggregations