Class LoseJobOnSiteLossTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.LoseJobOnSiteLossTask
public class LoseJobOnSiteLossTask extends Task<VillagerEntity>
- Mappings:
Namespace Name official aue
intermediary net/minecraft/class_4295
named net/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
Constructors Constructor Description LoseJobOnSiteLossTask()
-
Method Summary
Modifier and Type Method Description protected 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
-
Constructor Details
-
LoseJobOnSiteLossTask
public LoseJobOnSiteLossTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Laue;a(Laav;Lbgy;)Z
intermediary method_20449
Lnet/minecraft/class_4295;method_20449(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask;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
Laue;a(Laav;Lbgy;J)V
intermediary method_20450
Lnet/minecraft/class_4295;method_20450(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named run
Lnet/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-