public class EntityBodyHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private float |
prevRenderYawHead |
private int |
rotationTickCounter
Used to progressively ajust the rotation of the body to the rotation of the head
|
private EntityLivingBase |
theLiving
Instance of EntityLiving.
|
Constructor and Description |
---|
EntityBodyHelper(EntityLivingBase p_i1611_1_) |
Modifier and Type | Method and Description |
---|---|
private float |
computeAngleWithBound(float p_75665_1_,
float p_75665_2_,
float p_75665_3_)
Return the new angle2 such that the difference between angle1 and angle2 is lower than angleMax.
|
void |
updateRenderAngles()
Update the Head and Body rendenring angles
|
private EntityLivingBase theLiving
private int rotationTickCounter
private float prevRenderYawHead
public EntityBodyHelper(EntityLivingBase p_i1611_1_)
public void updateRenderAngles()
private float computeAngleWithBound(float p_75665_1_, float p_75665_2_, float p_75665_3_)