Class AquaticStrollTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.StrollTask
net.minecraft.entity.ai.brain.task.AquaticStrollTask
- Mappings:
Namespace Name official awu
intermediary net/minecraft/class_5755
named net/minecraft/entity/ai/brain/task/AquaticStrollTask
-
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.StrollTask
horizontalRadius, verticalRadius
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Vec3d
findWalkTarget
(PathAwareEntity entity) protected boolean
shouldRun
(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.StrollTask
run
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Constructor Details
-
AquaticStrollTask
public AquaticStrollTask(float speed) - Mappings:
Namespace Name Mixin selector official <init>
Lawt;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4818;<init>(F)V
named <init>
Lnet/minecraft/entity/ai/brain/task/StrollTask;<init>(F)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Lawu;a(Labr;Lauc;)Z
intermediary method_33202
Lnet/minecraft/class_5755;method_33202(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/AquaticStrollTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
-
findWalkTarget
- Overrides:
findWalkTarget
in classStrollTask
- Mappings:
Namespace Name Mixin selector official a
Lawt;a(Lauc;)Ldna;
intermediary method_33201
Lnet/minecraft/class_4818;method_33201(Lnet/minecraft/class_1314;)Lnet/minecraft/class_243;
named findWalkTarget
Lnet/minecraft/entity/ai/brain/task/StrollTask;findWalkTarget(Lnet/minecraft/entity/mob/PathAwareEntity;)Lnet/minecraft/util/math/Vec3d;
-