public class WalkTarget extends Object
Modifier and Type | Field and Description |
---|---|
private int |
completionRange |
private LookTarget |
lookTarget |
private float |
speed |
Constructor and Description |
---|
WalkTarget(BlockPos pos,
float speed,
int completionRange) |
WalkTarget(LookTarget lookTarget,
float speed,
int completionRange) |
WalkTarget(Vec3d pos,
float speed,
int completionRange) |
Modifier and Type | Method and Description |
---|---|
int |
getCompletionRange() |
LookTarget |
getLookTarget() |
float |
getSpeed() |
private final LookTarget lookTarget
private final float speed
private final int completionRange
public WalkTarget(BlockPos pos, float speed, int completionRange)
public WalkTarget(Vec3d pos, float speed, int completionRange)
public WalkTarget(LookTarget lookTarget, float speed, int completionRange)
public LookTarget getLookTarget()
public float getSpeed()
public int getCompletionRange()