public class UnpackedBakedQuad extends BakedQuad
| Modifier and Type | Class and Description |
|---|---|
static class |
UnpackedBakedQuad.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected VertexFormat |
format |
protected boolean |
packed |
protected float[][][] |
unpackedData |
applyDiffuseLighting, face, sprite, tintIndex, vertexData| Constructor and Description |
|---|
UnpackedBakedQuad(float[][][] unpackedData,
int tint,
EnumFacing orientation,
TextureAtlasSprite texture,
boolean applyDiffuseLighting,
VertexFormat format) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getVertexData() |
void |
pipe(IVertexConsumer consumer) |
getFace, getFormat, getSprite, getTintIndex, hasTintIndex, shouldApplyDiffuseLightingprotected final float[][][] unpackedData
protected final VertexFormat format
protected boolean packed
public UnpackedBakedQuad(float[][][] unpackedData,
int tint,
EnumFacing orientation,
TextureAtlasSprite texture,
boolean applyDiffuseLighting,
VertexFormat format)
public int[] getVertexData()
getVertexData in class BakedQuadpublic void pipe(IVertexConsumer consumer)
pipe in interface IVertexProducerpipe in class BakedQuadconsumer - consumer to receive the vertex data this producer can provide