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 SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.TaskTask.Status
- 
Field SummaryFieldsFields inherited from class net.minecraft.entity.ai.brain.task.TaskentryCondition
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) protected booleancheckExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_) protected voidstart(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_) protected voiduseWorkstation(ServerWorld p_230251_1_, VillagerEntity p_230251_2_) 
- 
Field Details- 
lastCheckprivate long lastCheck
 
- 
- 
Constructor Details- 
SpawnGolemTaskpublic SpawnGolemTask()
 
- 
- 
Method Details- 
checkExtraStartConditions- Overrides:
- checkExtraStartConditionsin class- Task<VillagerEntity>
 
- 
start- Overrides:
- startin class- Task<VillagerEntity>
 
- 
useWorkstation
- 
canStillUseprotected boolean canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_) - Overrides:
- canStillUsein class- Task<VillagerEntity>
 
 
-