Class SeekWaterTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.SeekWaterTask
- Mappings:
Namespace Name official bgn
intermediary net/minecraft/class_5756
named net/minecraft/entity/ai/brain/task/SeekWaterTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private long
private final float
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finishRunning
(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected void
run
(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
range
private final int range- Mappings:
Namespace Name Mixin selector official a
Lbgn;a:I
intermediary field_28317
Lnet/minecraft/class_5756;field_28317:I
named range
Lnet/minecraft/entity/ai/brain/task/SeekWaterTask;range:I
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector official d
Lbgn;d:F
intermediary field_28318
Lnet/minecraft/class_5756;field_28318:F
named speed
Lnet/minecraft/entity/ai/brain/task/SeekWaterTask;speed:F
-
seekWaterTime
private long seekWaterTime- Mappings:
Namespace Name Mixin selector official e
Lbgn;e:J
intermediary field_33759
Lnet/minecraft/class_5756;field_33759:J
named seekWaterTime
Lnet/minecraft/entity/ai/brain/task/SeekWaterTask;seekWaterTime:J
-
-
Constructor Details
-
SeekWaterTask
public SeekWaterTask(int range, float speed) - Mappings:
Namespace Name Mixin selector official <init>
Lbgn;<init>(IF)V
intermediary <init>
Lnet/minecraft/class_5756;<init>(IF)V
named <init>
Lnet/minecraft/entity/ai/brain/task/SeekWaterTask;<init>(IF)V
-
-
Method Details
-
finishRunning
- Overrides:
finishRunning
in classTask<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbgn;a(Lagg;Lbcl;J)V
intermediary method_36979
Lnet/minecraft/class_5756;method_36979(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/SeekWaterTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
-
shouldRun
- Overrides:
shouldRun
in classTask<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbgn;a(Lagg;Lbcl;)Z
intermediary method_33205
Lnet/minecraft/class_5756;method_33205(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/SeekWaterTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;)Z
-
run
- Overrides:
run
in classTask<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbgn;b(Lagg;Lbcl;J)V
intermediary method_33206
Lnet/minecraft/class_5756;method_33206(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
named run
Lnet/minecraft/entity/ai/brain/task/SeekWaterTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
-