Class ForgetTask<E extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.ForgetTask<E>
- Mappings:
Namespace Name official avq
intermediary net/minecraft/class_4813
named net/minecraft/entity/ai/brain/task/ForgetTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld world, E entity, long time) protected boolean
shouldRun
(ServerWorld world, E entity) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
condition
- Mappings:
Namespace Name Mixin selector official a
Lavq;a:Ljava/util/function/Predicate;
intermediary field_22302
Lnet/minecraft/class_4813;field_22302:Ljava/util/function/Predicate;
named condition
Lnet/minecraft/entity/ai/brain/task/ForgetTask;condition:Ljava/util/function/Predicate;
-
memory
- Mappings:
Namespace Name Mixin selector official c
Lavq;c:Lbbt;
intermediary field_22303
Lnet/minecraft/class_4813;field_22303:Lnet/minecraft/class_4140;
named memory
Lnet/minecraft/entity/ai/brain/task/ForgetTask;memory:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
-
-
Constructor Details
-
ForgetTask
- Mappings:
Namespace Name Mixin selector official <init>
Lavq;<init>(Ljava/util/function/Predicate;Lbbt;)V
intermediary <init>
Lnet/minecraft/class_4813;<init>(Ljava/util/function/Predicate;Lnet/minecraft/class_4140;)V
named <init>
Lnet/minecraft/entity/ai/brain/task/ForgetTask;<init>(Ljava/util/function/Predicate;Lnet/minecraft/entity/ai/brain/MemoryModuleType;)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(Labr;Latt;)Z
intermediary method_18919
Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
-
run
- Overrides:
run
in classTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(Labr;Latt;J)V
intermediary method_18920
Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
named run
Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
-