Package net.minecraft.client.model
Class Model
java.lang.Object
net.minecraft.client.model.Model
- Direct Known Subclasses:
BookModel
,EntityModel
,ShieldEntityModel
,SignBlockEntityRenderer.SignModel
,SkullBlockEntityModel
,TridentEntityModel
@Environment(CLIENT) public abstract class Model extends Object
- Mappings:
Namespace Name official ebk
intermediary net/minecraft/class_3879
named net/minecraft/client/model/Model
-
Field Summary
Fields Modifier and Type Field Description protected Function<Identifier,RenderLayer>
layerFactory
-
Constructor Summary
Constructors Constructor Description Model(Function<Identifier,RenderLayer> layerFactory)
-
Method Summary
Modifier and Type Method Description RenderLayer
getLayer(Identifier texture)
abstract void
render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
-
Field Details
-
layerFactory
- Mappings:
Namespace Name Mixin selector official q
Lebk;q:Ljava/util/function/Function;
intermediary field_21343
Lnet/minecraft/class_3879;field_21343:Ljava/util/function/Function;
named layerFactory
Lnet/minecraft/client/model/Model;layerFactory:Ljava/util/function/Function;
-
-
Constructor Details
-
Model
- Mappings:
Namespace Name Mixin selector official <init>
Lebk;<init>(Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/client/model/Model;<init>(Ljava/util/function/Function;)V
-
-
Method Details
-
getLayer
- Mappings:
Namespace Name Mixin selector official a
Lebk;a(Lwb;)Lehy;
intermediary method_23500
Lnet/minecraft/class_3879;method_23500(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1921;
named getLayer
Lnet/minecraft/client/model/Model;getLayer(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;
-
render
public abstract void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)- 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
-