| Package | Description |
|---|---|
| net.fabricmc.fabric.api.renderer.v1.mesh | |
| net.fabricmc.fabric.api.renderer.v1.model | |
| net.fabricmc.fabric.api.renderer.v1.render |
| Modifier and Type | Method and Description |
|---|---|
Mesh |
MeshBuilder.build()
Returns a new
Mesh instance containing all
quads added to this builder and resets the builder to an empty state |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<net.minecraft.client.render.model.BakedQuad>[] |
ModelHelper.toQuadLists(Mesh mesh)
Converts a mesh into an array of lists of vanilla baked quads.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Consumer<Mesh> |
RenderContext.meshConsumer()
Used by models to send vertex data previously baked via
MeshBuilder. |