net.minecraft.world.entity.ai.behavior

public class StopAttackingIfTargetInvalid

cao
net.minecraft.world.entity.ai.behavior.StopAttackingIfTargetInvalid
net.minecraft.class_4828
net.minecraft.entity.ai.brain.task.ForgetAttackTargetTask
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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <E extends Mob> BehaviorControl<E>
a(cao$b<E> arg0)
create(StopAttackingIfTargetInvalid$TargetErasedCallback<E> arg0)
method_47137(class_4828$class_10253<E> arg0)
create(ForgetAttackTargetTask$ForgetCallback<E> callback)
public static <E extends Mob> BehaviorControl<E>
a(cao$a arg0)
create(StopAttackingIfTargetInvalid$StopAttackCondition arg0)
method_47138(class_4828$class_10252 arg0)
create(ForgetAttackTargetTask$AlternativeCondition condition)
public static <E extends Mob> BehaviorControl<E>
a()
create()
method_47132()
create()
public static <E extends Mob> BehaviorControl<E>
a(cao$a arg0, cao$b<E> arg1, boolean arg2)
create(StopAttackingIfTargetInvalid$StopAttackCondition arg0, StopAttackingIfTargetInvalid$TargetErasedCallback<E> arg1, boolean arg2)
method_47139(class_4828$class_10252 arg0, class_4828$class_10253<E> arg1, boolean arg2)
create(ForgetAttackTargetTask$AlternativeCondition condition, ForgetAttackTargetTask$ForgetCallback<E> callback, boolean shouldForgetIfTargetUnreachable)
private static boolean
a(bwg arg0, Optional<Long> arg1)
isTiredOfTryingToReachTarget(LivingEntity arg0, Optional<Long> arg1)
method_24621(class_1309 arg0, Optional<Long> arg1)
cannotReachTarget(LivingEntity target, Optional<Long> lastReachTime)