net.minecraft.entity.ai

## Class EntityAISit

- java.lang.Object
- - net.minecraft.entity.ai.EntityAIBase
  - - net.minecraft.entity.ai.EntityAISit

-     public class EntityAISit
      extends EntityAIBase

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityAISit(EntityTameable par1EntityTameable)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `resetTask()` Resets the task
    `void` | `setSitting(boolean par1)` Sets the sitting flag.
    `boolean` | `shouldExecute()` Returns whether the EntityAIBase should begin execution.
    `void` | `startExecuting()` Execute a one shot task or start executing a continuous task

    - ### Methods inherited from class net.minecraft.entity.ai.EntityAIBase

      `continueExecuting, getMutexBits, isInterruptible, setMutexBits, updateTask`

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

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

- - ### Constructor Detail

    - #### EntityAISit

          public EntityAISit(EntityTameable par1EntityTameable)

  - ### Method Detail

    - #### shouldExecute

          public boolean shouldExecute()

      Returns whether the EntityAIBase should begin execution.
      Specified by:
        `shouldExecute` in class `EntityAIBase`

    - #### startExecuting

          public void startExecuting()

      Execute a one shot task or start executing a continuous task
      Overrides:
        `startExecuting` in class `EntityAIBase`

    - #### resetTask

          public void resetTask()

      Resets the task
      Overrides:
        `resetTask` in class `EntityAIBase`

    - #### setSitting

          public void setSitting(boolean par1)

      Sets the sitting flag.