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
-
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 RenderLayergetLayer(Identifier texture)abstract voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
-
Field Details
-
layerFactory
-
-
Constructor Details
-
Model
-
-
Method Details
-
getLayer
-
render
public abstract void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
-