public class WalkTowardsRandomSecondaryPosTask extends Task<VillagerEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private MemoryModuleType<java.util.List<GlobalPos>> |
field_220573_a |
private MemoryModuleType<GlobalPos> |
field_220574_b |
private float |
field_220575_c |
private int |
field_220576_d |
private int |
field_220577_e |
private long |
field_220578_f |
private GlobalPos |
field_220579_g |
Constructor and Description |
---|
WalkTowardsRandomSecondaryPosTask(MemoryModuleType<java.util.List<GlobalPos>> p_i50340_1_,
float p_i50340_2_,
int p_i50340_3_,
int p_i50340_4_,
MemoryModuleType<GlobalPos> p_i50340_5_) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldExecute(ServerWorld worldIn,
VillagerEntity owner) |
protected void |
startExecuting(ServerWorld worldIn,
VillagerEntity entityIn,
long gameTimeIn) |
getStatus, isTimedOut, resetTask, shouldContinueExecuting, start, stop, tick, toString, updateTask
private final MemoryModuleType<java.util.List<GlobalPos>> field_220573_a
private final MemoryModuleType<GlobalPos> field_220574_b
private final float field_220575_c
private final int field_220576_d
private final int field_220577_e
private long field_220578_f
@Nullable private GlobalPos field_220579_g
public WalkTowardsRandomSecondaryPosTask(MemoryModuleType<java.util.List<GlobalPos>> p_i50340_1_, float p_i50340_2_, int p_i50340_3_, int p_i50340_4_, MemoryModuleType<GlobalPos> p_i50340_5_)
protected boolean shouldExecute(ServerWorld worldIn, VillagerEntity owner)
shouldExecute
in class Task<VillagerEntity>
protected void startExecuting(ServerWorld worldIn, VillagerEntity entityIn, long gameTimeIn)
startExecuting
in class Task<VillagerEntity>