public class NearestAttackableTargetExpiringGoal<T extends LivingEntity> extends NearestAttackableTargetGoal<T>
Modifier and Type | Field and Description |
---|---|
private int |
field_220782_i |
nearestTarget, targetChance, targetClass, targetEntitySelector
goalOwner, shouldCheckSight, target, unseenMemoryTicks
Constructor and Description |
---|
NearestAttackableTargetExpiringGoal(AbstractRaiderEntity p_i50311_1_,
java.lang.Class<T> p_i50311_2_,
boolean p_i50311_3_,
java.util.function.Predicate<LivingEntity> p_i50311_4_) |
Modifier and Type | Method and Description |
---|---|
void |
func_220780_j() |
int |
func_220781_h() |
boolean |
shouldExecute() |
void |
startExecuting() |
findNearestTarget, getTargetableArea
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public NearestAttackableTargetExpiringGoal(AbstractRaiderEntity p_i50311_1_, java.lang.Class<T> p_i50311_2_, boolean p_i50311_3_, @Nullable java.util.function.Predicate<LivingEntity> p_i50311_4_)
public int func_220781_h()
public void func_220780_j()
public boolean shouldExecute()
shouldExecute
in class NearestAttackableTargetGoal<T extends LivingEntity>
public void startExecuting()
startExecuting
in class NearestAttackableTargetGoal<T extends LivingEntity>