public class EntityAIHurtByTarget extends EntityAITarget
| Constructor and Description |
|---|
EntityAIHurtByTarget(EntityLiving par1EntityLiving,
boolean par2) |
| Modifier and Type | Method and Description |
|---|---|
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
|
getMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAIHurtByTarget(EntityLiving par1EntityLiving, boolean par2)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean continueExecuting()
continueExecuting in class EntityAITargetpublic void startExecuting()
startExecuting in class EntityAITargetpublic void resetTask()
resetTask in class EntityAITarget