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 can
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
cannotReachTarget
(LivingEntity target, Optional<Long> lastReachTime) create()
create
(ForgetAttackTargetTask.AlternativeCondition condition, ForgetAttackTargetTask.ForgetCallback<E> callback, boolean shouldForgetIfTargetUnreachable) create
(ForgetAttackTargetTask.ForgetCallback<E> callback)
-
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
Lcan;a:I
-
-
Constructor Details
-
ForgetAttackTargetTask
public ForgetAttackTargetTask()
-
-
Method Details
-
create
public static <E extends MobEntity> Task<E> create(ForgetAttackTargetTask.ForgetCallback<E> callback) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;create(Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask$ForgetCallback;)Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47137
Lnet/minecraft/class_4828;method_47137(Lnet/minecraft/class_4828$class_10253;)Lnet/minecraft/class_7893;
official a
Lcan;a(Lcan$b;)Lbxz;
-
create
public static <E extends MobEntity> Task<E> create(ForgetAttackTargetTask.AlternativeCondition condition) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;create(Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask$AlternativeCondition;)Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47138
Lnet/minecraft/class_4828;method_47138(Lnet/minecraft/class_4828$class_10252;)Lnet/minecraft/class_7893;
official a
Lcan;a(Lcan$a;)Lbxz;
-
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
Lcan;a()Lbxz;
-
create
public static <E extends MobEntity> Task<E> create(ForgetAttackTargetTask.AlternativeCondition condition, ForgetAttackTargetTask.ForgetCallback<E> callback, boolean shouldForgetIfTargetUnreachable) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask;create(Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask$AlternativeCondition;Lnet/minecraft/entity/ai/brain/task/ForgetAttackTargetTask$ForgetCallback;Z)Lnet/minecraft/entity/ai/brain/task/Task;
intermediary method_47139
Lnet/minecraft/class_4828;method_47139(Lnet/minecraft/class_4828$class_10252;Lnet/minecraft/class_4828$class_10253;Z)Lnet/minecraft/class_7893;
official a
Lcan;a(Lcan$a;Lcan$b;Z)Lbxz;
-
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
Lcan;a(Lbwf;Ljava/util/Optional;)Z
-