net.minecraft.world.entity.ai.behavior

public class StopAttackingIfTargetInvalid

bkd
net.minecraft.world.entity.ai.behavior.StopAttackingIfTargetInvalid
net.minecraft.class_4828
net.minecraft.entity.ai.brain.task.ForgetAttackTargetTask
net.minecraft.src.C_635_
net.minecraft.world.entity.ai.behavior.BehaviorAttackTargetForget

Field summary

Modifier and TypeField
private static final int
a
TIMEOUT_TO_GET_WITHIN_ATTACK_RANGE
field_30177
REMEMBER_TIME
f_147978_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <E extends Mob> BehaviorControl<E>
a(BiConsumer<E, bfx> arg0)
create(BiConsumer<E, LivingEntity> arg0)
method_47137(BiConsumer<E, class_1309> arg0)
create(BiConsumer<E, LivingEntity> forgetCallback)
m_257940_(BiConsumer<E, C_524_> p_260165_)
public static <E extends Mob> BehaviorControl<E>
a(Predicate<bfx> arg0)
create(Predicate<LivingEntity> arg0)
method_47138(Predicate<class_1309> arg0)
create(Predicate<LivingEntity> alternativeCondition)
m_257990_(Predicate<C_524_> p_259762_)
public static <E extends Mob> BehaviorControl<E>
a()
create()
method_47132()
create()
m_257822_()
public static <E extends Mob> BehaviorControl<E>
a(Predicate<bfx> arg0, BiConsumer<E, bfx> arg1, boolean arg2)
create(Predicate<LivingEntity> arg0, BiConsumer<E, LivingEntity> arg1, boolean arg2)
method_47139(Predicate<class_1309> arg0, BiConsumer<E, class_1309> arg1, boolean arg2)
create(Predicate<LivingEntity> alternativeCondition, BiConsumer<E, LivingEntity> forgetCallback, boolean shouldForgetIfTargetUnreachable)
m_257811_(Predicate<C_524_> p_260357_, BiConsumer<E, C_524_> p_259568_, boolean p_260319_)
private static boolean
a(bfx arg0, Optional<Long> arg1)
isTiredOfTryingToReachTarget(LivingEntity arg0, Optional<Long> arg1)
method_24621(class_1309 arg0, Optional<Long> arg1)
cannotReachTarget(LivingEntity arg0, Optional<Long> arg1)
m_258032_(C_524_ p_259416_, Optional<Long> p_259377_)