Interface MaterialInstance
public interface MaterialInstance
This class is used to store data for a material instance.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets if the block should have ambient occlusionstatic MaterialInstance.Builderbuilder()Creates a builder for MaterialInstance.booleanGets if the block should be dimmed on certain faces@Nullable StringGets the render method of the block@Nullable Stringtexture()Gets the texture of the block
-
Method Details
-
texture
@Nullable String texture()Gets the texture of the block- Returns:
- The texture of the block.
-
renderMethod
@Nullable String renderMethod()Gets the render method of the block- Returns:
- The render method of the block.
-
faceDimming
boolean faceDimming()Gets if the block should be dimmed on certain faces- Returns:
- If the block should be dimmed on certain faces.
-
ambientOcclusion
boolean ambientOcclusion()Gets if the block should have ambient occlusion- Returns:
- If the block should have ambient occlusion.
-
builder
Creates a builder for MaterialInstance.- Returns:
- a builder for MaterialInstance
-