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, targetEntitySelectorgoalOwner, 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, getTargetableAreagetTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, 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>