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, updateTask
public EntityAIHurtByTarget(EntityLiving par1EntityLiving, boolean par2)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean continueExecuting()
continueExecuting
in class EntityAITarget
public void startExecuting()
startExecuting
in class EntityAITarget
public void resetTask()
resetTask
in class EntityAITarget