public class UnpackedBakedQuad extends BakedQuad
| Modifier and Type | Class and Description |
|---|---|
static class |
UnpackedBakedQuad.Builder |
static class |
UnpackedBakedQuad.Colored |
| Modifier and Type | Field and Description |
|---|---|
protected VertexFormat |
format |
protected boolean |
packed |
protected float[][][] |
unpackedData |
face, tintIndex, vertexData| Constructor and Description |
|---|
UnpackedBakedQuad(float[][][] unpackedData,
int tint,
EnumFacing orientation,
VertexFormat format) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getVertexData() |
void |
pipe(IVertexConsumer consumer)
Joined 4 vertex records, each has 7 fields (x, y, z, shadeColor, u, v,
|
getFace, getTintIndex, hasTintIndexprotected final float[][][] unpackedData
protected final VertexFormat format
protected boolean packed
public UnpackedBakedQuad(float[][][] unpackedData,
int tint,
EnumFacing orientation,
VertexFormat format)
public int[] getVertexData()
getVertexData in class BakedQuadpublic void pipe(IVertexConsumer consumer)
BakedQuadpipe in interface IVertexProducerpipe in class BakedQuadconsumer - consumer to receive the vertex data this producer can provide