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, resetTaskgetMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAIHurtByTarget(EntityCreature par1EntityCreature, boolean par2)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAITarget