net.minecraft.entity.ai

## Class EntityAIDefendVillage

- java.lang.Object
- - net.minecraft.entity.ai.EntityAIBase
  - - net.minecraft.entity.ai.EntityAITarget
    - - net.minecraft.entity.ai.EntityAIDefendVillage

-     public class EntityAIDefendVillage
      extends EntityAITarget

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityAIDefendVillage(EntityIronGolem par1EntityIronGolem)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.EntityAITarget

      `continueExecuting, resetTask`

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

      `getMutexBits, isInterruptible, setMutexBits, updateTask`

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

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

- - ### Constructor Detail

    - #### EntityAIDefendVillage

          public EntityAIDefendVillage(EntityIronGolem par1EntityIronGolem)

  - ### 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 `EntityAITarget`