public class EntityAIHurtByTarget extends EntityAITarget
shouldCheckSight, taskOwner| Constructor and Description |
|---|
EntityAIHurtByTarget(EntityCreature par1EntityCreature,
boolean par2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
continueExecuting, getTargetDistance, isSuitableTarget, resetTaskgetMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAIHurtByTarget(EntityCreature par1EntityCreature, boolean par2)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAITarget