net.minecraft.world.entity.ai.behavior

public class StopAttackingIfTargetInvalid

bxw
net.minecraft.world.entity.ai.behavior.StopAttackingIfTargetInvalid
net.minecraft.class_4828
net.minecraft.unmapped.C_gaizicad
net.minecraft.entity.ai.brain.task.ForgetAttackTargetTask
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
f_npnuwhrk
REMEMBER_TIME
REMEMBER_TIME
f_147978_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <E extends Mob> BehaviorControl<E>
a(BiConsumer<E, btn> arg0)
create(BiConsumer<E, LivingEntity> arg0)
method_47137(BiConsumer<E, class_1309> arg0)
m_pqcarusr(BiConsumer<E, C_usxaxydn> arg0)
create(BiConsumer<E, LivingEntity> forgetCallback)
create(BiConsumer<E, LivingEntity> forgetCallback)
m_257940_(BiConsumer<E, C_524_> p_260165_)
public static <E extends Mob> BehaviorControl<E>
a(Predicate<btn> arg0)
create(Predicate<LivingEntity> arg0)
method_47138(Predicate<class_1309> arg0)
m_nwhekhlv(Predicate<C_usxaxydn> arg0)
create(Predicate<LivingEntity> alternativeCondition)
create(Predicate<LivingEntity> alternativeCondition)
m_257990_(Predicate<C_524_> p_259762_)
public static <E extends Mob> BehaviorControl<E>
a()
create()
method_47132()
m_nyujuwga()
create()
create()
m_257822_()
public static <E extends Mob> BehaviorControl<E>
a(Predicate<btn> arg0, BiConsumer<E, btn> 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)
m_pdsgbbnj(Predicate<C_usxaxydn> arg0, BiConsumer<E, C_usxaxydn> arg1, boolean arg2)
create(Predicate<LivingEntity> alternativeCondition, BiConsumer<E, LivingEntity> forgetCallback, boolean shouldForgetIfTargetUnreachable)
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(btn arg0, Optional<Long> arg1)
isTiredOfTryingToReachTarget(LivingEntity arg0, Optional<Long> arg1)
method_24621(class_1309 arg0, Optional<Long> arg1)
m_agdthaky(C_usxaxydn arg0, Optional<Long> arg1)
cannotReachTarget(LivingEntity arg0, Optional<Long> arg1)
cannotReachTarget(LivingEntity entity, Optional<Long> reason)
m_258032_(C_524_ p_259416_, Optional<Long> p_259377_)