public class WorkTask extends Task<CreatureEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private MemoryModuleType<GlobalPos> |
field_220565_a |
private long |
field_220566_b |
private int |
field_220567_c |
Constructor and Description |
---|
WorkTask(MemoryModuleType<GlobalPos> p_i50342_1_,
int p_i50342_2_) |
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
private final MemoryModuleType<GlobalPos> field_220565_a
private long field_220566_b
private final int field_220567_c
public WorkTask(MemoryModuleType<GlobalPos> p_i50342_1_, int p_i50342_2_)
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>