public class EntityAIHurtByTarget extends EntityAITarget
Constructor and Description |
---|
EntityAIHurtByTarget(EntityCreature par1EntityCreature,
boolean par2) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
continueExecuting, resetTask
getMutexBits, isInterruptible, setMutexBits, updateTask
public EntityAIHurtByTarget(EntityCreature par1EntityCreature, boolean par2)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget