net.minecraft.entity.ai

## Class EntityAIOwnerHurtByTarget

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

-     public class EntityAIOwnerHurtByTarget
      extends EntityAITarget

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityAIOwnerHurtByTarget(EntityTameable par1EntityTameable)`

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

    - #### EntityAIOwnerHurtByTarget

          public EntityAIOwnerHurtByTarget(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 `EntityAITarget`