public class ModelBat extends ModelBase
Modifier and Type | Field and Description |
---|---|
private ModelRenderer |
batBody
The body box of the bat model.
|
private ModelRenderer |
batHead |
private ModelRenderer |
batLeftWing
The inner left wing box of the bat model.
|
private ModelRenderer |
batOuterLeftWing
The outer left wing box of the bat model.
|
private ModelRenderer |
batOuterRightWing
The outer right wing box of the bat model.
|
private ModelRenderer |
batRightWing
The inner right wing box of the bat model.
|
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth
Constructor and Description |
---|
ModelBat() |
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 batHead
private ModelRenderer batBody
private ModelRenderer batRightWing
private ModelRenderer batLeftWing
private ModelRenderer batOuterRightWing
private ModelRenderer batOuterLeftWing
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