Class Model
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
- Direct Known Subclasses:
BookModel
,EntityModel
,GenericHeadModel
,ShieldModel
,SignTileEntityRenderer.SignModel
,TridentModel
public abstract class Model extends java.lang.Object implements java.util.function.Consumer<ModelRenderer>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Function<ResourceLocation,RenderType>
renderType
int
texHeight
int
texWidth
-
Constructor Summary
Constructors Constructor Description Model(java.util.function.Function<ResourceLocation,RenderType> p_i225947_1_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
accept(ModelRenderer p_accept_1_)
abstract void
renderToBuffer(MatrixStack p_225598_1_, IVertexBuilder p_225598_2_, int p_225598_3_, int p_225598_4_, float p_225598_5_, float p_225598_6_, float p_225598_7_, float p_225598_8_)
RenderType
renderType(ResourceLocation p_228282_1_)
-
-
-
Field Detail
-
renderType
protected final java.util.function.Function<ResourceLocation,RenderType> renderType
-
texWidth
public int texWidth
-
texHeight
public int texHeight
-
-
Constructor Detail
-
Model
public Model(java.util.function.Function<ResourceLocation,RenderType> p_i225947_1_)
-
-
Method Detail
-
accept
public void accept(ModelRenderer p_accept_1_)
- Specified by:
accept
in interfacejava.util.function.Consumer<ModelRenderer>
-
renderType
public final RenderType renderType(ResourceLocation p_228282_1_)
-
renderToBuffer
public abstract void renderToBuffer(MatrixStack p_225598_1_, IVertexBuilder p_225598_2_, int p_225598_3_, int p_225598_4_, float p_225598_5_, float p_225598_6_, float p_225598_7_, float p_225598_8_)
-
-