public class ModelQuadruped extends ModelBase
Modifier and Type | Field and Description |
---|---|
ModelRenderer |
body |
protected float |
childYOffset |
protected float |
childZOffset |
ModelRenderer |
head |
ModelRenderer |
leg1 |
ModelRenderer |
leg2 |
ModelRenderer |
leg3 |
ModelRenderer |
leg4 |
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth
Constructor and Description |
---|
ModelQuadruped(int height,
float scale) |
Modifier and Type | Method and Description |
---|---|
void |
render(Entity entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
void |
setRotationAngles(float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scaleFactor,
Entity entityIn) |
copyModelAngles, getRandomModelBox, getTextureOffset, setLivingAnimations, setModelAttributes, setTextureOffset
public ModelRenderer head
public ModelRenderer body
public ModelRenderer leg1
public ModelRenderer leg2
public ModelRenderer leg3
public ModelRenderer leg4
protected float childYOffset
protected float childZOffset
public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn)
setRotationAngles
in class ModelBase