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 p_i1163_1_) |
ModelVillager(float p_i1164_1_,
float p_i1164_2_,
int p_i1164_3_,
int p_i1164_4_) |
Modifier and Type | Method and Description |
---|---|
void |
render(Entity entityIn,
float p_78088_2_,
float p_78088_3_,
float p_78088_4_,
float p_78088_5_,
float p_78088_6_,
float scale)
Sets the models various rotation angles then renders the model.
|
void |
setRotationAngles(float p_78087_1_,
float p_78087_2_,
float p_78087_3_,
float p_78087_4_,
float p_78087_5_,
float p_78087_6_,
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 p_i1163_1_)
public ModelVillager(float p_i1164_1_, float p_i1164_2_, int p_i1164_3_, int p_i1164_4_)
public void render(Entity entityIn, float p_78088_2_, float p_78088_3_, float p_78088_4_, float p_78088_5_, float p_78088_6_, float scale)
public void setRotationAngles(float p_78087_1_, float p_78087_2_, float p_78087_3_, float p_78087_4_, float p_78087_5_, float p_78087_6_, Entity entityIn)
setRotationAngles
in class ModelBase