public abstract class EntityAITarget extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
protected boolean |
shouldCheckSight |
protected EntityCreature |
taskOwner |
Constructor and Description |
---|
EntityAITarget(EntityCreature p_i1669_1_,
boolean p_i1669_2_) |
EntityAITarget(EntityCreature p_i1670_1_,
boolean p_i1670_2_,
boolean p_i1670_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueExecuting() |
protected double |
getTargetDistance() |
protected boolean |
isSuitableTarget(EntityLivingBase p_75296_1_,
boolean p_75296_2_) |
void |
resetTask() |
void |
startExecuting() |
getMutexBits, isInterruptible, setMutexBits, shouldExecute, updateTask
protected EntityCreature taskOwner
protected boolean shouldCheckSight
public EntityAITarget(EntityCreature p_i1669_1_, boolean p_i1669_2_)
public EntityAITarget(EntityCreature p_i1670_1_, boolean p_i1670_2_, boolean p_i1670_3_)
public boolean continueExecuting()
continueExecuting
in class EntityAIBase
protected double getTargetDistance()
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
protected boolean isSuitableTarget(EntityLivingBase p_75296_1_, boolean p_75296_2_)