public class WalkTarget
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
distance |
private float |
speed |
private IPosWrapper |
target |
Constructor and Description |
---|
WalkTarget(BlockPos targetIn,
float speedIn,
int distanceIn) |
WalkTarget(IPosWrapper targetIn,
float speedIn,
int distanceIn) |
WalkTarget(Vec3d targetIn,
float speedIn,
int distanceIn) |
Modifier and Type | Method and Description |
---|---|
int |
getDistance() |
float |
getSpeed() |
IPosWrapper |
getTarget() |
private final IPosWrapper target
private final float speed
private final int distance
public WalkTarget(BlockPos targetIn, float speedIn, int distanceIn)
public WalkTarget(Vec3d targetIn, float speedIn, int distanceIn)
public WalkTarget(IPosWrapper targetIn, float speedIn, int distanceIn)
public IPosWrapper getTarget()
public float getSpeed()
public int getDistance()