class FoxEntity.RevengeGoal extends NearestAttackableTargetGoal<LivingEntity>
Modifier and Type | Field and Description |
---|---|
private LivingEntity |
field_220786_j |
private LivingEntity |
field_220787_k |
private int |
field_220788_l |
nearestTarget, targetChance, targetClass, targetEntitySelector
goalOwner, shouldCheckSight, target, unseenMemoryTicks
Constructor and Description |
---|
RevengeGoal(java.lang.Class<LivingEntity> p_i50743_2_,
boolean p_i50743_3_,
boolean p_i50743_4_,
java.util.function.Predicate<LivingEntity> p_i50743_5_) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
findNearestTarget, getTargetableArea
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
@Nullable private LivingEntity field_220786_j
private LivingEntity field_220787_k
private int field_220788_l
public RevengeGoal(java.lang.Class<LivingEntity> p_i50743_2_, boolean p_i50743_3_, boolean p_i50743_4_, @Nullable java.util.function.Predicate<LivingEntity> p_i50743_5_)
public boolean shouldExecute()
shouldExecute
in class NearestAttackableTargetGoal<LivingEntity>
public void startExecuting()
startExecuting
in class NearestAttackableTargetGoal<LivingEntity>