Class FollowCustomerTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<VillagerEntity>
net.minecraft.entity.ai.brain.task.FollowCustomerTask
- All Implemented Interfaces:
Task<VillagerEntity>
- Mappings:
Namespace Name official biv
intermediary net/minecraft/class_4108
named net/minecraft/entity/ai/brain/task/FollowCustomerTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
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 boolean
isTimeLimitExceeded
(long time) protected void
keepRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected void
run
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, VillagerEntity villagerEntity) private void
update
(VillagerEntity villager) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, stop, tick, tryStarting
-
Field Details
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector official c
Lbiv;c:F
intermediary field_18362
Lnet/minecraft/class_4108;field_18362:F
named speed
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;speed:F
-
-
Constructor Details
-
FollowCustomerTask
public FollowCustomerTask(float speed) - Mappings:
Namespace Name Mixin selector official <init>
Lbiv;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4108;<init>(F)V
named <init>
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;<init>(F)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbiv;a(Laif;Lbyb;)Z
intermediary method_18954
Lnet/minecraft/class_4108;method_18954(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
-
shouldKeepRunning
protected boolean shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) - Overrides:
shouldKeepRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbiv;a(Laif;Lbyb;J)Z
intermediary method_18955
Lnet/minecraft/class_4108;method_18955(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
-
run
- Overrides:
run
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbiv;b(Laif;Lbyb;J)V
intermediary method_18956
Lnet/minecraft/class_4108;method_18956(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named run
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbiv;c(Laif;Lbyb;J)V
intermediary method_18957
Lnet/minecraft/class_4108;method_18957(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official d
Lbiv;d(Laif;Lbyb;J)V
intermediary method_18958
Lnet/minecraft/class_4108;method_18958(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named keepRunning
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
isTimeLimitExceeded
protected boolean isTimeLimitExceeded(long time) - Overrides:
isTimeLimitExceeded
in classMultiTickTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbhr;a(J)Z
intermediary method_18915
Lnet/minecraft/class_4097;method_18915(J)Z
named isTimeLimitExceeded
Lnet/minecraft/entity/ai/brain/task/MultiTickTask;isTimeLimitExceeded(J)Z
-
update
- Mappings:
Namespace Name Mixin selector official a
Lbiv;a(Lbyb;)V
intermediary method_18953
Lnet/minecraft/class_4108;method_18953(Lnet/minecraft/class_1646;)V
named update
Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;update(Lnet/minecraft/entity/passive/VillagerEntity;)V
-