Class FindRoarTargetTask<E extends WardenEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.FindRoarTargetTask<E>
- Mappings:
Namespace Name official bhh
intermediary net/minecraft/class_7256
named net/minecraft/entity/ai/brain/task/FindRoarTargetTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
ConstructorsConstructorDescriptionFindRoarTargetTask
(Function<E, Optional<? extends LivingEntity>> targetFinder) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld serverWorld, E e, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, E e) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
targetFinder
- Mappings:
Namespace Name Mixin selector official a
Lbhh;a:Ljava/util/function/Function;
intermediary field_38132
Lnet/minecraft/class_7256;field_38132:Ljava/util/function/Function;
named targetFinder
Lnet/minecraft/entity/ai/brain/task/FindRoarTargetTask;targetFinder:Ljava/util/function/Function;
-
-
Constructor Details
-
FindRoarTargetTask
- Mappings:
Namespace Name Mixin selector official <init>
Lbhh;<init>(Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_7256;<init>(Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/entity/ai/brain/task/FindRoarTargetTask;<init>(Ljava/util/function/Function;)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbhh;a(Lagg;Lbtg;)Z
intermediary method_42193
Lnet/minecraft/class_7256;method_42193(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/FindRoarTargetTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;)Z
-
run
- Overrides:
run
in classTask<E extends WardenEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbhh;a(Lagg;Lbtg;J)V
intermediary method_42194
Lnet/minecraft/class_7256;method_42194(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
named run
Lnet/minecraft/entity/ai/brain/task/FindRoarTargetTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
-