use of net.minecraft.entity.ai.EntityAIZombieAttack in project Cavern2 by kegare.
the class EntitySummonZombie method initEntityAI.
@Override
protected void initEntityAI() {
tasks.addTask(0, new EntityAISwimming(this));
tasks.addTask(2, new EntityAIZombieAttack(this, 1.0D, false));
tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
tasks.addTask(7, new EntityAIWanderAvoidWater(this, 1.0D));
tasks.addTask(8, new EntityAIWatchClosest(this, EntityMob.class, 8.0F));
tasks.addTask(8, new EntityAILookIdle(this));
applyEntityAI();
}
use of net.minecraft.entity.ai.EntityAIZombieAttack in project Cavern2 by kegare.
the class EntitySummonCavenicZombie method initEntityAI.
@Override
protected void initEntityAI() {
tasks.addTask(0, new EntityAISwimming(this));
tasks.addTask(2, new EntityAIZombieAttack(this, 1.0D, false));
tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
tasks.addTask(7, new EntityAIWanderAvoidWater(this, 1.0D));
tasks.addTask(8, new EntityAIWatchClosest(this, EntityMob.class, 8.0F));
tasks.addTask(8, new EntityAILookIdle(this));
applyEntityAI();
}
Aggregations