Class SpawnGolemTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.SpawnGolemTask
- Direct Known Subclasses:
FarmerWorkTask
-
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
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canStillUse
(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected boolean
checkExtraStartConditions
(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected void
start
(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected void
useWorkstation
(ServerWorld p_230251_1_, VillagerEntity p_230251_2_)
-
Field Details
-
lastCheck
private long lastCheck
-
-
Constructor Details
-
SpawnGolemTask
public SpawnGolemTask()
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classTask<VillagerEntity>
-
start
- Overrides:
start
in classTask<VillagerEntity>
-
useWorkstation
-
canStillUse
protected boolean canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) - Overrides:
canStillUse
in classTask<VillagerEntity>
-