public abstract class EntityAITarget extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
shouldCheckSight |
protected EntityCreature |
taskOwner |
| Constructor and Description |
|---|
EntityAITarget(EntityCreature par1EntityCreature,
boolean par2) |
EntityAITarget(EntityCreature par1EntityCreature,
boolean par2,
boolean par3) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueExecuting() |
protected double |
getTargetDistance() |
protected boolean |
isSuitableTarget(EntityLivingBase par1EntityLivingBase,
boolean par2) |
void |
resetTask() |
void |
startExecuting() |
getMutexBits, isInterruptible, setMutexBits, shouldExecute, updateTaskprotected EntityCreature taskOwner
protected boolean shouldCheckSight
public EntityAITarget(EntityCreature par1EntityCreature, boolean par2)
public EntityAITarget(EntityCreature par1EntityCreature, boolean par2, boolean par3)
public boolean continueExecuting()
continueExecuting in class EntityAIBaseprotected double getTargetDistance()
public void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBaseprotected boolean isSuitableTarget(EntityLivingBase par1EntityLivingBase, boolean par2)