public class GatherPOITask extends Task<CreatureEntity>
Task.Status
Constructor and Description |
---|
GatherPOITask(PointOfInterestType p_i50374_1_,
MemoryModuleType<GlobalPos> p_i50374_2_,
boolean p_i50374_3_) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldExecute(ServerWorld worldIn,
CreatureEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
CreatureEntity entityIn,
long gameTimeIn) |
getStatus, isTimedOut, resetTask, shouldContinueExecuting, start, stop, tick, toString, updateTask
public GatherPOITask(PointOfInterestType p_i50374_1_, MemoryModuleType<GlobalPos> p_i50374_2_, boolean p_i50374_3_)
protected boolean shouldExecute(ServerWorld worldIn, CreatureEntity owner)
shouldExecute
in class Task<CreatureEntity>
protected void startExecuting(ServerWorld worldIn, CreatureEntity entityIn, long gameTimeIn)
startExecuting
in class Task<CreatureEntity>