public class GatherPOITask extends Task<CreatureEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private PointOfInterestType |
field_220604_a |
private MemoryModuleType<GlobalPos> |
field_220605_b |
private boolean |
field_220606_c |
private long |
field_220607_d |
private it.unimi.dsi.fastutil.longs.Long2LongMap |
field_223013_e |
private int |
field_223014_f |
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
private final PointOfInterestType field_220604_a
private final MemoryModuleType<GlobalPos> field_220605_b
private final boolean field_220606_c
private long field_220607_d
private final it.unimi.dsi.fastutil.longs.Long2LongMap field_223013_e
private int field_223014_f
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>