Class GoToPointOfInterestTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.GoToPointOfInterestTask
- Mappings:
Namespace Name official beg
intermediary net/minecraft/class_4458
named net/minecraft/entity/ai/brain/task/GoToPointOfInterestTask
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, VillagerEntity villagerEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector official a
Lbeg;a:F
intermediary field_20288
Lnet/minecraft/class_4458;field_20288:F
named speed
Lnet/minecraft/entity/ai/brain/task/GoToPointOfInterestTask;speed:F
-
completionRange
private final int completionRange- Mappings:
Namespace Name Mixin selector official d
Lbeg;d:I
intermediary field_20289
Lnet/minecraft/class_4458;field_20289:I
named completionRange
Lnet/minecraft/entity/ai/brain/task/GoToPointOfInterestTask;completionRange:I
-
-
Constructor Details
-
GoToPointOfInterestTask
public GoToPointOfInterestTask(float speed, int completionRange) - Mappings:
Namespace Name Mixin selector official <init>
Lbeg;<init>(FI)V
intermediary <init>
Lnet/minecraft/class_4458;<init>(FI)V
named <init>
Lnet/minecraft/entity/ai/brain/task/GoToPointOfInterestTask;<init>(FI)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbeg;a(Lagg;Lbtp;)Z
intermediary method_21636
Lnet/minecraft/class_4458;method_21636(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/GoToPointOfInterestTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
-
run
- Overrides:
run
in classTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbeg;a(Lagg;Lbtp;J)V
intermediary method_21637
Lnet/minecraft/class_4458;method_21637(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named run
Lnet/minecraft/entity/ai/brain/task/GoToPointOfInterestTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-