public class EntityAINearestAttackableTarget extends EntityAITarget
Modifier and Type | Class and Description |
---|---|
static class |
EntityAINearestAttackableTarget.Sorter |
shouldCheckSight, taskOwner
Constructor and Description |
---|
EntityAINearestAttackableTarget(EntityCreature p_i1663_1_,
java.lang.Class p_i1663_2_,
int p_i1663_3_,
boolean p_i1663_4_) |
EntityAINearestAttackableTarget(EntityCreature p_i1664_1_,
java.lang.Class p_i1664_2_,
int p_i1664_3_,
boolean p_i1664_4_,
boolean p_i1664_5_) |
EntityAINearestAttackableTarget(EntityCreature p_i1665_1_,
java.lang.Class p_i1665_2_,
int p_i1665_3_,
boolean p_i1665_4_,
boolean p_i1665_5_,
IEntitySelector p_i1665_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
continueExecuting, getTargetDistance, isSuitableTarget, resetTask
getMutexBits, isInterruptible, setMutexBits, updateTask
public EntityAINearestAttackableTarget(EntityCreature p_i1663_1_, java.lang.Class p_i1663_2_, int p_i1663_3_, boolean p_i1663_4_)
public EntityAINearestAttackableTarget(EntityCreature p_i1664_1_, java.lang.Class p_i1664_2_, int p_i1664_3_, boolean p_i1664_4_, boolean p_i1664_5_)
public EntityAINearestAttackableTarget(EntityCreature p_i1665_1_, java.lang.Class p_i1665_2_, int p_i1665_3_, boolean p_i1665_4_, boolean p_i1665_5_, IEntitySelector p_i1665_6_)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget