public class EntityMoveHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EntityMoveHelper.Action |
Modifier and Type | Field and Description |
---|---|
protected EntityMoveHelper.Action |
action |
protected EntityLiving |
entity |
protected float |
moveForward |
protected float |
moveStrafe |
protected double |
posX |
protected double |
posY |
protected double |
posZ |
protected double |
speed |
Constructor and Description |
---|
EntityMoveHelper(EntityLiving entitylivingIn) |
Modifier and Type | Method and Description |
---|---|
double |
getSpeed() |
double |
getX() |
double |
getY() |
double |
getZ() |
boolean |
isUpdating() |
protected float |
limitAngle(float p_75639_1_,
float p_75639_2_,
float p_75639_3_) |
void |
onUpdateMoveHelper() |
void |
read(EntityMoveHelper that) |
void |
setMoveTo(double x,
double y,
double z,
double speedIn) |
void |
strafe(float forward,
float strafe) |
protected final EntityLiving entity
protected double posX
protected double posY
protected double posZ
protected double speed
protected float moveForward
protected float moveStrafe
protected EntityMoveHelper.Action action
public EntityMoveHelper(EntityLiving entitylivingIn)
public boolean isUpdating()
public double getSpeed()
public void setMoveTo(double x, double y, double z, double speedIn)
public void strafe(float forward, float strafe)
public void read(EntityMoveHelper that)
public void onUpdateMoveHelper()
protected float limitAngle(float p_75639_1_, float p_75639_2_, float p_75639_3_)
public double getX()
public double getY()
public double getZ()