public class ModelBook extends ModelBase
| Modifier and Type | Field and Description |
|---|---|
ModelRenderer |
bookSpine
The renderer of spine of the book
|
ModelRenderer |
coverLeft
Left cover renderer (when facing the book)
|
ModelRenderer |
coverRight
Right cover renderer (when facing the book)
|
ModelRenderer |
flippingPageLeft
Right cover renderer (when facing the book)
|
ModelRenderer |
flippingPageRight
Right cover renderer (when facing the book)
|
ModelRenderer |
pagesLeft
The left pages renderer (when facing the book)
|
ModelRenderer |
pagesRight
The right pages renderer (when facing the book)
|
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth| Constructor and Description |
|---|
ModelBook() |
| 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, setTextureOffsetpublic ModelRenderer coverRight
public ModelRenderer coverLeft
public ModelRenderer pagesRight
public ModelRenderer pagesLeft
public ModelRenderer flippingPageRight
public ModelRenderer flippingPageLeft
public ModelRenderer bookSpine
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