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 bgk
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
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
ConstructorDescriptionFindRoarTargetTask
(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
Lbgk;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>
Lbgk;<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
Lbgk;a(Lafo;Lbsj;)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
Lbgk;a(Lafo;Lbsj;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
-