public class StrollTask extends Task<PathAwareEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private int |
horizontalRadius |
private float |
speed |
private int |
verticalRadius |
requiredMemoryStates
Constructor and Description |
---|
StrollTask(float speed) |
StrollTask(float speed,
int horizontalRadius,
int verticalRadius) |
Modifier and Type | Method and Description |
---|---|
protected void |
run(ServerWorld serverWorld,
PathAwareEntity pathAwareEntity,
long long2) |
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
private final float speed
private final int horizontalRadius
private final int verticalRadius
public StrollTask(float speed)
public StrollTask(float speed, int horizontalRadius, int verticalRadius)
protected void run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
run
in class Task<PathAwareEntity>