Package | Description |
---|---|
net.fabricmc.fabric.api.renderer.v1 | |
net.fabricmc.fabric.api.renderer.v1.material |
Modifier and Type | Method and Description |
---|---|
MaterialFinder |
Renderer.materialFinder()
Obtain a new
MaterialFinder instance used to retrieve
standard RenderMaterial instances. |
Modifier and Type | Method and Description |
---|---|
MaterialFinder |
MaterialFinder.blendMode(int spriteIndex,
net.minecraft.block.BlockRenderLayer blendMode)
Defines how sprite pixels will be blended with the scene.
|
MaterialFinder |
MaterialFinder.clear()
Resets this instance to default values.
|
MaterialFinder |
MaterialFinder.disableAo(int spriteIndex,
boolean disable)
Vertex color(s) will be modified for ambient occlusion unless disabled.
|
MaterialFinder |
MaterialFinder.disableColorIndex(int spriteIndex,
boolean disable)
Vertex color(s) will be modified for quad color index unless disabled.
|
MaterialFinder |
MaterialFinder.disableDiffuse(int spriteIndex,
boolean disable)
Vertex color(s) will be modified for diffuse shading unless disabled.
|
MaterialFinder |
MaterialFinder.emissive(int spriteIndex,
boolean isEmissive)
When true, sprite texture and color will be rendered at full brightness.
|
MaterialFinder |
MaterialFinder.spriteDepth(int depth)
Reserved for future use.
|