net.minecraft.entity.ai

## Class EntityAISwimming

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

-     public class EntityAISwimming
      extends EntityAIBase

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityAISwimming(EntityLiving par1EntityLiving)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `shouldExecute()` Returns whether the EntityAIBase should begin execution.
    `void` | `updateTask()` Updates the task

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

      `continueExecuting, getMutexBits, isInterruptible, resetTask, setMutexBits, startExecuting`

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

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

- - ### Constructor Detail

    - #### EntityAISwimming

          public EntityAISwimming(EntityLiving par1EntityLiving)

  - ### Method Detail

    - #### shouldExecute

          public boolean shouldExecute()

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

    - #### updateTask

          public void updateTask()

      Updates the task
      Overrides:
        `updateTask` in class `EntityAIBase`