Class SpawnGolemTask
- java.lang.Object
-
- net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
-
- net.minecraft.entity.ai.brain.task.SpawnGolemTask
-
- Direct Known Subclasses:
FarmerWorkTask
public class SpawnGolemTask extends Task<VillagerEntity>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
-
Field Summary
Fields Modifier and Type Field Description private long
lastCheck
-
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
entryCondition
-
-
Constructor Summary
Constructors Constructor Description SpawnGolemTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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_)
-
-
-
Method Detail
-
checkExtraStartConditions
protected boolean checkExtraStartConditions(ServerWorld p_212832_1_, VillagerEntity p_212832_2_)
- Overrides:
checkExtraStartConditions
in classTask<VillagerEntity>
-
start
protected void start(ServerWorld p_212831_1_, VillagerEntity p_212831_2_, long p_212831_3_)
- Overrides:
start
in classTask<VillagerEntity>
-
useWorkstation
protected void useWorkstation(ServerWorld p_230251_1_, VillagerEntity p_230251_2_)
-
canStillUse
protected boolean canStillUse(ServerWorld p_212834_1_, VillagerEntity p_212834_2_, long p_212834_3_)
- Overrides:
canStillUse
in classTask<VillagerEntity>
-
-