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, 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