public class GoTowardsLookTarget extends Task<LivingEntity>
Task.Status
Modifier and Type | Field and Description |
---|---|
private int |
completionRange |
private float |
speed |
requiredMemoryStates
Constructor and Description |
---|
GoTowardsLookTarget(float speed,
int completionRange) |
Modifier and Type | Method and Description |
---|---|
protected void |
run(ServerWorld world,
LivingEntity entity,
long time) |
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
protected void run(ServerWorld world, LivingEntity entity, long time)
run
in class Task<LivingEntity>