public class GoToNearbyPositionTask extends Task<PathAwareEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private int |
completionRange |
private float |
field_25753 |
private int |
maxDistance |
private MemoryModuleType<GlobalPos> |
memoryModuleType |
private long |
nextRunTime |
requiredMemoryStates
Constructor and Description |
---|
GoToNearbyPositionTask(MemoryModuleType<GlobalPos> memoryModuleType,
float float2,
int int2,
int int3) |
Modifier and Type | Method and Description |
---|---|
protected void |
run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
protected boolean |
shouldRun(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity) |
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
private final MemoryModuleType<GlobalPos> memoryModuleType
private final int completionRange
private final int maxDistance
private final float field_25753
private long nextRunTime
public GoToNearbyPositionTask(MemoryModuleType<GlobalPos> memoryModuleType, float float2, int int2, int int3)
protected boolean shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
shouldRun
in class Task<PathAwareEntity>
protected void run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
run
in class Task<PathAwareEntity>