public class ModelVillager extends ModelBase
Modifier and Type | Field and Description |
---|---|
ModelRenderer |
leftVillagerLeg
The left leg of the VillagerModel
|
ModelRenderer |
rightVillagerLeg
The right leg of the VillagerModel
|
ModelRenderer |
villagerArms
The arms of the VillagerModel
|
ModelRenderer |
villagerBody
The body of the VillagerModel
|
ModelRenderer |
villagerHead
The head box of the VillagerModel
|
ModelRenderer |
villagerNose |
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth
Constructor and Description |
---|
ModelVillager(float scale) |
ModelVillager(float scale,
float p_i1164_2_,
int width,
int height) |
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 |
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, setLivingAnimations, setModelAttributes, setTextureOffset
public ModelRenderer villagerHead
public ModelRenderer villagerBody
public ModelRenderer villagerArms
public ModelRenderer rightVillagerLeg
public ModelRenderer leftVillagerLeg
public ModelRenderer villagerNose
public ModelVillager(float scale)
public ModelVillager(float scale, float p_i1164_2_, int width, int height)
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