Class Material
java.lang.Object
net.minecraft.client.resources.model.Material
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResourceLocationstatic final Comparator<Material> private RenderTypeprivate final ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuffer(MaterialSet pMaterials, MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter) buffer(MaterialSet pMaterials, MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter, boolean pIsItem, boolean pGlint) booleaninthashCode()renderType(Function<ResourceLocation, RenderType> pRenderTypeGetter) texture()toString()
-
Field Details
-
COMPARATOR
-
atlasLocation
-
texture
-
renderType
-
-
Constructor Details
-
Material
-
-
Method Details
-
atlasLocation
-
texture
-
renderType
-
buffer
public VertexConsumer buffer(MaterialSet pMaterials, MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter) -
buffer
public VertexConsumer buffer(MaterialSet pMaterials, MultiBufferSource pBufferSource, Function<ResourceLocation, RenderType> pRenderTypeGetter, boolean pIsItem, boolean pGlint) -
equals
-
hashCode
public int hashCode() -
toString
-