public abstract class Model extends java.lang.Object implements java.util.function.Consumer<ModelRenderer>
修飾子とタイプ | フィールドと説明 |
---|---|
protected java.util.function.Function<ResourceLocation,RenderType> |
renderType |
int |
textureHeight |
int |
textureWidth |
コンストラクタと説明 |
---|
Model(java.util.function.Function<ResourceLocation,RenderType> renderTypeIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
accept(ModelRenderer p_accept_1_) |
RenderType |
getRenderType(ResourceLocation locationIn) |
abstract void |
render(com.mojang.blaze3d.matrix.MatrixStack matrixStackIn,
com.mojang.blaze3d.vertex.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
インタフェース内 java.util.function.Consumer<ModelRenderer>
public final RenderType getRenderType(ResourceLocation locationIn)
public abstract void render(com.mojang.blaze3d.matrix.MatrixStack matrixStackIn, com.mojang.blaze3d.vertex.IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float red, float green, float blue, float alpha)