Class ForgetAttackTargetTask
java.lang.Object
net.minecraft.entity.ai.brain.task.ForgetAttackTargetTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/ForgetAttackTargetTask
intermediary net/minecraft/class_4828
official bxw
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
cannotReachTarget
(LivingEntity livingEntity, Optional<Long> optional) create()
create
(BiConsumer<E, LivingEntity> forgetCallback) create
(Predicate<LivingEntity> alternativeCondition) create
(Predicate<LivingEntity> alternativeCondition, BiConsumer<E, LivingEntity> forgetCallback, boolean shouldForgetIfTargetUnreachable)
-
Field Details
-
REMEMBER_TIME
private static final int REMEMBER_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named REMEMBER_TIME
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;REMEMBER_TIME:I
intermediary field_30177
Lnet/minecraft/class_4828;field_30177:I
official a
Lbxw;a:I
-
-
Constructor Details
-
ForgetAttackTargetTask
public ForgetAttackTargetTask()
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;create(Ljava/util/function/BiConsumer;)Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47137
Lnet/minecraft/class_4828;method_47137(Ljava/util/function/BiConsumer;)Lnet/minecraft/class_7893;
official a
Lbxw;a(Ljava/util/function/BiConsumer;)Lbvi;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;create(Ljava/util/function/Predicate;)Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47138
Lnet/minecraft/class_4828;method_47138(Ljava/util/function/Predicate;)Lnet/minecraft/class_7893;
official a
Lbxw;a(Ljava/util/function/Predicate;)Lbvi;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;create()Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47132
Lnet/minecraft/class_4828;method_47132()Lnet/minecraft/class_7893;
official a
Lbxw;a()Lbvi;
-
create
public static <E extends MobEntity> Task<E> create(Predicate<LivingEntity> alternativeCondition, BiConsumer<E, LivingEntity> forgetCallback, boolean shouldForgetIfTargetUnreachable) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;create(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;Z)Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47139
Lnet/minecraft/class_4828;method_47139(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;Z)Lnet/minecraft/class_7893;
official a
Lbxw;a(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;Z)Lbvi;
-
cannotReachTarget
- Mappings:
Namespace Name Mixin selector named cannotReachTarget
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;cannotReachTarget(Lnet/minecraft/entity/LivingEntity;Ljava/util/Optional;)Z
intermediary method_24621
Lnet/minecraft/class_4828;method_24621(Lnet/minecraft/class_1309;Ljava/util/Optional;)Z
official a
Lbxw;a(Lbtn;Ljava/util/Optional;)Z
-