public class EntityAIHurtByTarget extends EntityAITarget
shouldCheckSight, taskOwner| Constructor and Description | 
|---|
| EntityAIHurtByTarget(EntityCreature creatureIn,
                    boolean entityCallsForHelpIn,
                    java.lang.Class... targetClassesIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | setEntityAttackTarget(EntityCreature creatureIn,
                     EntityLivingBase entityLivingBaseIn) | 
| boolean | shouldExecute()Returns whether the EntityAIBase should begin execution. | 
| void | startExecuting()Execute a one shot task or start executing a continuous task | 
continueExecuting, getTargetDistance, isSuitableTarget, isSuitableTarget, resetTaskgetMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAIHurtByTarget(EntityCreature creatureIn, boolean entityCallsForHelpIn, java.lang.Class... targetClassesIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAITargetprotected void setEntityAttackTarget(EntityCreature creatureIn, EntityLivingBase entityLivingBaseIn)