public class EntityAITargetNonTamed<T extends EntityLivingBase> extends EntityAINearestAttackableTarget<T>
EntityAINearestAttackableTarget.SortertargetClass, targetEntity, targetEntitySelector, theNearestAttackableTargetSortershouldCheckSight, target, taskOwner, unseenMemoryTicks| 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.
|
getTargetableArea, startExecutingcontinueExecuting, getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask, setUnseenMemoryTicksgetMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAITargetNonTamed(EntityTameable entityIn, java.lang.Class<T> classTarget, boolean checkSight, <any> targetSelector)
public boolean shouldExecute()
shouldExecute in class EntityAINearestAttackableTarget<T extends EntityLivingBase>