use of net.minecraft.entity.ai.EntityAILookIdle in project Gaia-Dimension by Andromander.
the class GDMutantGrowthExtractor method initEntityAI.
@Override
protected void initEntityAI() {
super.initEntityAI();
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(3, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(4, new EntityAILookIdle(this));
this.tasks.addTask(1, new EntityAIWander(this, 0.5D));
}
use of net.minecraft.entity.ai.EntityAILookIdle in project Gaia-Dimension by Andromander.
the class GDGrowthSapper method initEntityAI.
@Override
protected void initEntityAI() {
super.initEntityAI();
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(3, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(4, new EntityAILookIdle(this));
this.tasks.addTask(1, new EntityAIWander(this, 0.5D));
}
use of net.minecraft.entity.ai.EntityAILookIdle in project Gaia-Dimension by Andromander.
the class GDMalachiteGuard method initEntityAI.
@Override
protected void initEntityAI() {
super.initEntityAI();
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(3, new EntityAILookIdle(this));
this.tasks.addTask(1, new EntityAIWander(this, 0.5D));
}
use of net.minecraft.entity.ai.EntityAILookIdle in project DefiledLands by Lykrast.
the class EntityDestroyer method initEntityAI.
protected void initEntityAI() {
this.tasks.addTask(0, new AIDoNothing());
this.tasks.addTask(1, new EntityAISwimming(this));
this.tasks.addTask(2, new AIBigLeap(this, 1.2F));
this.tasks.addTask(3, new EntityAIAttackMelee(this, 1.0D, true));
this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(7, new EntityAIWanderAvoidWater(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(9, new EntityAILookIdle(this));
this.targetTasks.addTask(1, new EntityAINearestAttackableTarget<EntityPlayer>(this, EntityPlayer.class, false));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false, new Class[0]));
}
use of net.minecraft.entity.ai.EntityAILookIdle in project DefiledLands by Lykrast.
the class EntityShambler method initEntityAI.
protected void initEntityAI() {
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(2, new EntityAIAttackMelee(this, 1.0D, false));
this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(7, new EntityAIWanderAvoidWater(this, 1.0D));
this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(9, new EntityAILookIdle(this));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, false, new Class[0]));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget<EntityPlayer>(this, EntityPlayer.class, true));
}
Aggregations