net.minecraft.entity.ai
Class EntityAIHurtByTarget

java.lang.Object
  extended by net.minecraft.entity.ai.EntityAIBase
      extended by net.minecraft.entity.ai.EntityAITarget
          extended by net.minecraft.entity.ai.EntityAIHurtByTarget

public class EntityAIHurtByTarget
extends EntityAITarget


Constructor Summary
EntityAIHurtByTarget(EntityLiving par1EntityLiving, boolean par2)
           
 
Method Summary
 boolean continueExecuting()
          Returns whether an in-progress EntityAIBase should continue executing
 void resetTask()
          Resets the task
 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
getMutexBits, isContinuous, setMutexBits, updateTask
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityAIHurtByTarget

public EntityAIHurtByTarget(EntityLiving par1EntityLiving,
                            boolean par2)
Method Detail

shouldExecute

public boolean shouldExecute()
Returns whether the EntityAIBase should begin execution.

Specified by:
shouldExecute in class EntityAIBase

continueExecuting

public boolean continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing

Overrides:
continueExecuting in class EntityAITarget

startExecuting

public void startExecuting()
Execute a one shot task or start executing a continuous task

Overrides:
startExecuting in class EntityAITarget

resetTask

public void resetTask()
Resets the task

Overrides:
resetTask in class EntityAITarget