public class ModelWolf extends ModelBase
Modifier and Type | Field and Description |
---|---|
ModelRenderer |
wolfBody
The wolf's body
|
ModelRenderer |
wolfHeadMain
main box for the wolf head
|
ModelRenderer |
wolfLeg1
Wolf'se first leg
|
ModelRenderer |
wolfLeg2
Wolf's second leg
|
ModelRenderer |
wolfLeg3
Wolf's third leg
|
ModelRenderer |
wolfLeg4
Wolf's fourth leg
|
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth
Constructor and Description |
---|
ModelWolf() |
Modifier and Type | Method and Description |
---|---|
void |
render(Entity entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale)
Sets the models various rotation angles then renders the model.
|
void |
setLivingAnimations(EntityLivingBase entitylivingbaseIn,
float limbSwing,
float limbSwingAmount,
float partialTickTime)
Used for easily adding entity-dependent animations.
|
void |
setRotationAngles(float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scaleFactor,
Entity entityIn)
Sets the model's various rotation angles.
|
copyModelAngles, getRandomModelBox, getTextureOffset, setModelAttributes, setTextureOffset
public ModelRenderer wolfHeadMain
public ModelRenderer wolfBody
public ModelRenderer wolfLeg1
public ModelRenderer wolfLeg2
public ModelRenderer wolfLeg3
public ModelRenderer wolfLeg4
public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
public void setLivingAnimations(EntityLivingBase entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTickTime)
setLivingAnimations
in class ModelBase
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn)
setRotationAngles
in class ModelBase