Class LoseJobOnSiteLossTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.LoseJobOnSiteLossTask
- Mappings:
Namespace Name official belintermediary net/minecraft/class_4295named 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
DEFAULT_RUN_TIME, requiredMemoryStates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrun(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanshouldRun(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:
shouldRunin classTask<VillagerEntity>- Mappings:
Namespace Name Mixin selector official aLbel;a(Lafo;Lbss;)Zintermediary method_20449Lnet/minecraft/class_4295;method_20449(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Znamed shouldRunLnet/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
-
run
- Overrides:
runin classTask<VillagerEntity>- Mappings:
Namespace Name Mixin selector official aLbel;a(Lafo;Lbss;J)Vintermediary method_20450Lnet/minecraft/class_4295;method_20450(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Vnamed runLnet/minecraft/entity/ai/brain/task/LoseJobOnSiteLossTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-