Class BookModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.BookModel
@Environment(CLIENT) public class BookModel extends Model
- Mappings:
Namespace Name official ead
intermediary net/minecraft/class_557
named net/minecraft/client/render/entity/model/BookModel
-
Field Summary
Fields Modifier and Type Field Description private ModelPart
leftCover
private ModelPart
leftPage
private ModelPart
leftPages
private ModelPart
rightCover
private ModelPart
rightPage
private ModelPart
rightPages
private ModelPart
root
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static TexturedModelData
getTexturedModelData()
void
render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
void
renderBook(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
void
setPageAngles(float pageTurnAmount, float leftFlipAmount, float rightFlipAmount, float pageTurnSpeed)
-
Field Details
-
root
- Mappings:
Namespace Name Mixin selector official a
Lead;a:Ledh;
intermediary field_27398
Lnet/minecraft/class_557;field_27398:Lnet/minecraft/class_630;
named root
Lnet/minecraft/client/render/entity/model/BookModel;root:Lnet/minecraft/client/model/ModelPart;
-
leftCover
- Mappings:
Namespace Name Mixin selector official b
Lead;b:Ledh;
intermediary field_3336
Lnet/minecraft/class_557;field_3336:Lnet/minecraft/class_630;
named leftCover
Lnet/minecraft/client/render/entity/model/BookModel;leftCover:Lnet/minecraft/client/model/ModelPart;
-
rightCover
- Mappings:
Namespace Name Mixin selector official c
Lead;c:Ledh;
intermediary field_3338
Lnet/minecraft/class_557;field_3338:Lnet/minecraft/class_630;
named rightCover
Lnet/minecraft/client/render/entity/model/BookModel;rightCover:Lnet/minecraft/client/model/ModelPart;
-
leftPages
- Mappings:
Namespace Name Mixin selector official d
Lead;d:Ledh;
intermediary field_3337
Lnet/minecraft/class_557;field_3337:Lnet/minecraft/class_630;
named leftPages
Lnet/minecraft/client/render/entity/model/BookModel;leftPages:Lnet/minecraft/client/model/ModelPart;
-
rightPages
- Mappings:
Namespace Name Mixin selector official e
Lead;e:Ledh;
intermediary field_3335
Lnet/minecraft/class_557;field_3335:Lnet/minecraft/class_630;
named rightPages
Lnet/minecraft/client/render/entity/model/BookModel;rightPages:Lnet/minecraft/client/model/ModelPart;
-
leftPage
- Mappings:
Namespace Name Mixin selector official f
Lead;f:Ledh;
intermediary field_3334
Lnet/minecraft/class_557;field_3334:Lnet/minecraft/class_630;
named leftPage
Lnet/minecraft/client/render/entity/model/BookModel;leftPage:Lnet/minecraft/client/model/ModelPart;
-
rightPage
- Mappings:
Namespace Name Mixin selector official g
Lead;g:Ledh;
intermediary field_3339
Lnet/minecraft/class_557;field_3339:Lnet/minecraft/class_630;
named rightPage
Lnet/minecraft/client/render/entity/model/BookModel;rightPage:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
BookModel
- Mappings:
Namespace Name Mixin selector official <init>
Lead;<init>(Ledh;)V
intermediary <init>
Lnet/minecraft/class_557;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/BookModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official a
Lead;a()Ledn;
intermediary method_31986
Lnet/minecraft/class_557;method_31986()Lnet/minecraft/class_5607;
named getTexturedModelData
Lnet/minecraft/client/render/entity/model/BookModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)- Specified by:
render
in classModel
- Mappings:
Namespace Name Mixin selector official a
Lebk;a(Ldlr;Ldlv;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-
renderBook
public void renderBook(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)- Mappings:
Namespace Name Mixin selector official b
Lead;b(Ldlr;Ldlv;IIFFFF)V
intermediary method_24184
Lnet/minecraft/class_557;method_24184(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
named renderBook
Lnet/minecraft/client/render/entity/model/BookModel;renderBook(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
-
setPageAngles
public void setPageAngles(float pageTurnAmount, float leftFlipAmount, float rightFlipAmount, float pageTurnSpeed)- Mappings:
Namespace Name Mixin selector official a
Lead;a(FFFF)V
intermediary method_17073
Lnet/minecraft/class_557;method_17073(FFFF)V
named setPageAngles
Lnet/minecraft/client/render/entity/model/BookModel;setPageAngles(FFFF)V
-