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, shouldApplyDiffuseLighting
protected 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 BakedQuad
public void pipe(IVertexConsumer consumer)
pipe
in interface IVertexProducer
pipe
in class BakedQuad
consumer
- consumer to receive the vertex data this producer can provide