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