public abstract class Model extends java.lang.Object implements java.util.function.Consumer<ModelRenderer>
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Function<ResourceLocation,RenderType> |
renderType |
int |
textureHeight |
int |
textureWidth |
Constructor and Description |
---|
Model(java.util.function.Function<ResourceLocation,RenderType> renderTypeIn) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ModelRenderer p_accept_1_) |
RenderType |
getRenderType(ResourceLocation locationIn) |
abstract void |
render(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
int packedLightIn,
int packedOverlayIn,
float red,
float green,
float blue,
float alpha) |
protected final java.util.function.Function<ResourceLocation,RenderType> renderType
public int textureWidth
public int textureHeight
public Model(java.util.function.Function<ResourceLocation,RenderType> renderTypeIn)
public void accept(ModelRenderer p_accept_1_)
accept
in interface java.util.function.Consumer<ModelRenderer>
public final RenderType getRenderType(ResourceLocation locationIn)
public abstract void render(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float red, float green, float blue, float alpha)