Class FindWalkTargetTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.FindWalkTargetTask
- Direct Known Subclasses:
RunAroundAfterRaidTask
- Mappings:
Namespace Name official ayd
intermediary net/minecraft/class_4117
named net/minecraft/entity/ai/brain/task/FindWalkTargetTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private int
private int
private static int
private float
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
ConstructorDescriptionFindWalkTargetTask(float walkSpeed)
FindWalkTargetTask(float walkSpeed, int maxHorizontalDistance, int maxVerticalDistance)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
private void
updateWalkTarget(PathAwareEntity entity)
private void
updateWalkTarget(PathAwareEntity entity, ChunkSectionPos pos)
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
-
Field Details
-
MIN_RUN_TIME
private static final int MIN_RUN_TIME- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Layd;a:I
intermediary field_30186
Lnet/minecraft/class_4117;field_30186:I
named MIN_RUN_TIME
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;MIN_RUN_TIME:I
-
MAX_RUN_TIME
private static final int MAX_RUN_TIME- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official c
Layd;c:I
intermediary field_30187
Lnet/minecraft/class_4117;field_30187:I
named MAX_RUN_TIME
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;MAX_RUN_TIME:I
-
walkSpeed
private final float walkSpeed- Mappings:
Namespace Name Mixin selector official d
Layd;d:F
intermediary field_18375
Lnet/minecraft/class_4117;field_18375:F
named walkSpeed
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;walkSpeed:F
-
maxHorizontalDistance
private final int maxHorizontalDistance- Mappings:
Namespace Name Mixin selector official e
Layd;e:I
intermediary field_19352
Lnet/minecraft/class_4117;field_19352:I
named maxHorizontalDistance
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;maxHorizontalDistance:I
-
maxVerticalDistance
private final int maxVerticalDistance- Mappings:
Namespace Name Mixin selector official f
Layd;f:I
intermediary field_19353
Lnet/minecraft/class_4117;field_19353:I
named maxVerticalDistance
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;maxVerticalDistance:I
-
-
Constructor Details
-
FindWalkTargetTask
public FindWalkTargetTask(float walkSpeed)- Mappings:
Namespace Name Mixin selector official <init>
Layd;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4117;<init>(F)V
named <init>
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;<init>(F)V
-
FindWalkTargetTask
public FindWalkTargetTask(float walkSpeed, int maxHorizontalDistance, int maxVerticalDistance)- Mappings:
Namespace Name Mixin selector official <init>
Layd;<init>(FII)V
intermediary <init>
Lnet/minecraft/class_4117;<init>(FII)V
named <init>
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;<init>(FII)V
-
-
Method Details
-
run
- Overrides:
run
in classTask<PathAwareEntity>
- Mappings:
Namespace Name Mixin selector official a
Layd;a(Labr;Lauc;J)V
intermediary method_18996
Lnet/minecraft/class_4117;method_18996(Lnet/minecraft/class_3218;Lnet/minecraft/class_1314;J)V
named run
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PathAwareEntity;J)V
-
updateWalkTarget
- Mappings:
Namespace Name Mixin selector official a
Layd;a(Lauc;Lgz;)V
intermediary method_20430
Lnet/minecraft/class_4117;method_20430(Lnet/minecraft/class_1314;Lnet/minecraft/class_4076;)V
named updateWalkTarget
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;updateWalkTarget(Lnet/minecraft/entity/mob/PathAwareEntity;Lnet/minecraft/util/math/ChunkSectionPos;)V
-
updateWalkTarget
- Mappings:
Namespace Name Mixin selector official a
Layd;a(Lauc;)V
intermediary method_20429
Lnet/minecraft/class_4117;method_20429(Lnet/minecraft/class_1314;)V
named updateWalkTarget
Lnet/minecraft/entity/ai/brain/task/FindWalkTargetTask;updateWalkTarget(Lnet/minecraft/entity/mob/PathAwareEntity;)V
-