public class EntityAITargetNonTamed<T extends EntityLivingBase> extends EntityAINearestAttackableTarget
EntityAINearestAttackableTarget.Sorter
targetClass, targetEntity, targetEntitySelector, theNearestAttackableTargetSorter
shouldCheckSight, taskOwner
Constructor and Description |
---|
EntityAITargetNonTamed(EntityTameable entityIn,
java.lang.Class<T> classTarget,
boolean checkSight,
<any> targetSelector) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
startExecuting
continueExecuting, getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask
getMutexBits, isInterruptible, setMutexBits, updateTask
public EntityAITargetNonTamed(EntityTameable entityIn, java.lang.Class<T> classTarget, boolean checkSight, <any> targetSelector)
public boolean shouldExecute()
shouldExecute
in class EntityAINearestAttackableTarget