net.minecraft.entity.ai
Class EntityAIHurtByTarget
java.lang.Object
net.minecraft.entity.ai.EntityAIBase
net.minecraft.entity.ai.EntityAITarget
net.minecraft.entity.ai.EntityAIHurtByTarget
public class EntityAIHurtByTarget
- extends EntityAITarget
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 |
EntityAIHurtByTarget
public EntityAIHurtByTarget(EntityLiving par1EntityLiving,
boolean par2)
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