net.minecraft.entity.ai

## Class EntityAITasks

- java.lang.Object
- - net.minecraft.entity.ai.EntityAITasks

-     public class EntityAITasks
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `List` | `taskEntries` A list of EntityAITaskEntrys in EntityAITasks.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityAITasks(Profiler par1Profiler)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTask(int par1, EntityAIBase par2EntityAIBase)`
    `void` | `onUpdateTasks()`
    `void` | `removeTask(EntityAIBase par1EntityAIBase)` removes the indicated task from the entity's AI tasks.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### taskEntries

          public List taskEntries

      A list of EntityAITaskEntrys in EntityAITasks.

  - ### Constructor Detail

    - #### EntityAITasks

          public EntityAITasks(Profiler par1Profiler)

  - ### Method Detail

    - #### addTask

          public void addTask(int par1,
                     EntityAIBase par2EntityAIBase)

    - #### removeTask

          public void removeTask(EntityAIBase par1EntityAIBase)

      removes the indicated task from the entity's AI tasks.

    - #### onUpdateTasks

          public void onUpdateTasks()