Class BookModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.BookModel
@Environment(CLIENT) public class BookModel extends Model
-
Field Summary
Fields Modifier and Type Field Description private ModelPart
leftBlock
private ModelPart
leftCover
private ModelPart
leftPage
private List<ModelPart>
parts
private ModelPart
rightBlock
private ModelPart
rightCover
private ModelPart
rightPage
private ModelPart
spine
Fields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth
-
Constructor Summary
Constructors Constructor Description BookModel()
-
Method Summary
Modifier and Type Method Description void
method_24184(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
void
render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
void
setPageAngles(float float2, float float3, float float4, float float5)
-
Field Details
-
leftCover
-
rightCover
-
leftBlock
-
rightBlock
-
leftPage
-
rightPage
-
spine
-
parts
-
-
Constructor Details
-
BookModel
public BookModel()
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) -
method_24184
public void method_24184(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) -
setPageAngles
public void setPageAngles(float float2, float float3, float float4, float float5)
-