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>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LoseJobOnSiteLossTask() -
Method Summary
Modifier and Type Method Description protected 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>
-
run
- Overrides:
runin classTask<VillagerEntity>
-