use of am2.entities.ai.EntityAITargetNearbyInanimate in project ArsMagica2 by Mithion.
the class EntityBroom method initAI.
private void initAI() {
this.tasks.taskEntries.clear();
this.tasks.addTask(1, new EntityAISwimming(this));
this.tasks.addTask(3, new EntityAIPickup(this));
this.tasks.addTask(2, new EntityAIChestDeposit(this));
this.targetTasks.taskEntries.clear();
this.targetTasks.addTask(1, new EntityAITargetNearbyInanimate(this, 8, false, EntityItem.class));
}
Aggregations