Class WalkTowardsJobSiteTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<VillagerEntity>
net.minecraft.entity.ai.brain.task.WalkTowardsJobSiteTask
- All Implemented Interfaces:
Task<VillagerEntity>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask
intermediary net/minecraft/class_5325
official byq
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
(package private) final float
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finishRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected void
keepRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, VillagerEntity villagerEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, run, stop, tick, tryStarting
-
Field Details
-
RUN_TIME
private static final int RUN_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named RUN_TIME
Lnet/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask;RUN_TIME:I
intermediary field_30122
Lnet/minecraft/class_5325;field_30122:I
official d
Lbyq;d:I
-
speed
final float speed- Mappings:
Namespace Name Mixin selector named speed
Lnet/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask;speed:F
intermediary field_25155
Lnet/minecraft/class_5325;field_25155:F
official c
Lbyq;c:F
-
-
Constructor Details
-
WalkTowardsJobSiteTask
public WalkTowardsJobSiteTask(float speed) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask;<init>(F)V
intermediary <init>
Lnet/minecraft/class_5325;<init>(F)V
official <init>
Lbyq;<init>(F)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named shouldRun
Lnet/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
intermediary method_29251
Lnet/minecraft/class_5325;method_29251(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
official a
Lbyq;a(Lash;Lcpi;)Z
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) - Overrides:
shouldKeepRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
intermediary method_29523
Lnet/minecraft/class_5325;method_29523(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
official a
Lbyq;a(Lash;Lcpi;J)Z
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named keepRunning
Lnet/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
intermediary method_29252
Lnet/minecraft/class_5325;method_29252(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
official b
Lbyq;b(Lash;Lcpi;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector named finishRunning
Lnet/minecraft/entity/ai/brain/task/WalkTowardsJobSiteTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
intermediary method_29525
Lnet/minecraft/class_5325;method_29525(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
official c
Lbyq;c(Lash;Lcpi;J)V
-