Interface Material
- All Known Implementing Classes:
SimpleMaterial,SimpleMaterial.Builder
public interface Material
-
Method Summary
Modifier and TypeMethodDescriptionbooleanShould this material be rendered with backface culling?booleanblur()Should this material have linear filtering applied to the diffuse sampler?How should this material receive cardinal lighting?cutout()fog()light()booleanmipmap()booleanshaders()net.minecraft.resources.ResourceLocationtexture()booleanuseLight()Should this material be rendered with block/sky lighting?boolean
-
Method Details
-
shaders
MaterialShaders shaders() -
fog
FogShader fog() -
cutout
CutoutShader cutout() -
light
LightShader light() -
texture
net.minecraft.resources.ResourceLocation texture() -
blur
boolean blur()Should this material have linear filtering applied to the diffuse sampler?- Returns:
trueif this material should be rendered with blur.
-
mipmap
boolean mipmap() -
backfaceCulling
boolean backfaceCulling()Should this material be rendered with backface culling?- Returns:
trueif this material should be rendered with backface culling.
-
polygonOffset
boolean polygonOffset() -
depthTest
DepthTest depthTest() -
transparency
Transparency transparency() -
writeMask
WriteMask writeMask() -
useOverlay
boolean useOverlay() -
useLight
boolean useLight()Should this material be rendered with block/sky lighting?- Returns:
trueif this material should be rendered with block/sky lighting.
-
cardinalLightingMode
CardinalLightingMode cardinalLightingMode()How should this material receive cardinal lighting?- Returns:
- The cardinal lighting mode.
-