public class ModelSilverfish extends ModelBase
Modifier and Type | Field and Description |
---|---|
private float[] |
field_78170_c |
private ModelRenderer[] |
silverfishBodyParts
The body parts of the silverfish's model.
|
private static int[][] |
silverfishBoxLength
The widths, heights, and lengths for the silverfish model boxes.
|
private static int[][] |
silverfishTexturePositions
The texture positions for the silverfish's model's boxes.
|
private ModelRenderer[] |
silverfishWings
The wings (dust-looking sprites) on the silverfish's model.
|
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth
Constructor and Description |
---|
ModelSilverfish() |
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
private ModelRenderer[] silverfishBodyParts
private ModelRenderer[] silverfishWings
private float[] field_78170_c
private static final int[][] silverfishBoxLength
private static final int[][] silverfishTexturePositions
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