use of de.sanandrew.mods.claysoldiers.entity.ai.EntityAISearchInventory in project ClaySoldiersMod by SanAndreasP.
the class EntityClaySoldier method initEntityAI.
@Override
protected void initEntityAI() {
this.tasks.addTask(1, new EntityAIFollowTarget.Fallen(this, 1.0D));
this.tasks.addTask(2, new EntityAIFollowTarget.Upgrade(this, 1.0D));
this.tasks.addTask(2, new EntityAIFollowTarget.Mount(this, 1.0D));
this.tasks.addTask(2, new EntityAIFollowInventory(this, 1.0D));
this.tasks.addTask(3, new EntityAIFollowTarget.King(this, 1.0D));
this.tasks.addTask(4, new EntityAIFollowEnemy.Ranged(this, 1.0D));
this.tasks.addTask(5, new EntityAIFollowEnemy.Meelee(this, 1.0D));
this.tasks.addTask(6, new EntityAIMoveTowardsRestriction(this, 0.5D));
this.tasks.addTask(7, new EntityAIWander(this, 0.5D));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(1, new EntityAISearchTarget.Fallen(this));
this.targetTasks.addTask(2, new EntityAISearchTarget.Upgrade(this));
this.targetTasks.addTask(2, new EntityAISearchInventory(this));
this.targetTasks.addTask(2, new EntityAISearchTarget.Mount(this));
this.targetTasks.addTask(3, new EntityAISearchTarget.King(this));
this.targetTasks.addTask(4, new EntityAISearchTarget.Enemy(this));
}
Aggregations