Package | Description |
---|---|
net.fabricmc.fabric.api.renderer.v1 | |
net.fabricmc.fabric.api.renderer.v1.material | |
net.fabricmc.fabric.api.renderer.v1.mesh |
Modifier and Type | Method and Description |
---|---|
RenderMaterial |
Renderer.materialById(net.minecraft.util.Identifier id)
Return a material previously registered via
Renderer.registerMaterial(Identifier, RenderMaterial) . |
Modifier and Type | Method and Description |
---|---|
boolean |
Renderer.registerMaterial(net.minecraft.util.Identifier id,
RenderMaterial material)
Register a material for re-use by other mods or models within a mod.
|
Modifier and Type | Method and Description |
---|---|
RenderMaterial |
MaterialFinder.find()
Returns the standard material encoding all
of the current settings in this finder.
|
Modifier and Type | Method and Description |
---|---|
RenderMaterial |
QuadView.material()
Retrieves the material serialized with the quad.
|
Modifier and Type | Method and Description |
---|---|
QuadEmitter |
QuadEmitter.material(RenderMaterial material) |
MutableQuadView |
MutableQuadView.material(RenderMaterial material)
Assigns a different material to this quad.
|