public class EntityLookHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected float |
deltaLookPitch |
protected float |
deltaLookYaw |
protected EntityLiving |
entity |
protected boolean |
isLooking |
protected double |
posX |
protected double |
posY |
protected double |
posZ |
Constructor and Description |
---|
EntityLookHelper(EntityLiving entitylivingIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
getIsLooking() |
double |
getLookPosX() |
double |
getLookPosY() |
double |
getLookPosZ() |
void |
setLookPosition(double x,
double y,
double z,
float deltaYaw,
float deltaPitch) |
void |
setLookPositionWithEntity(Entity entityIn,
float deltaYaw,
float deltaPitch) |
void |
tick() |
protected float |
updateRotation(float p_75652_1_,
float p_75652_2_,
float p_75652_3_) |
protected final EntityLiving entity
protected float deltaLookYaw
protected float deltaLookPitch
protected boolean isLooking
protected double posX
protected double posY
protected double posZ
public EntityLookHelper(EntityLiving entitylivingIn)
public void setLookPositionWithEntity(Entity entityIn, float deltaYaw, float deltaPitch)
public void setLookPosition(double x, double y, double z, float deltaYaw, float deltaPitch)
public void tick()
protected float updateRotation(float p_75652_1_, float p_75652_2_, float p_75652_3_)
public boolean getIsLooking()
public double getLookPosX()
public double getLookPosY()
public double getLookPosZ()