public class BakedQuad extends java.lang.Object implements IVertexProducer
Modifier and Type | Field and Description |
---|---|
protected EnumFacing |
face |
protected int |
tintIndex |
protected int[] |
vertexData |
Constructor and Description |
---|
BakedQuad(int[] vertexDataIn,
int tintIndexIn,
EnumFacing faceIn) |
Modifier and Type | Method and Description |
---|---|
EnumFacing |
getFace() |
int |
getTintIndex() |
int[] |
getVertexData() |
boolean |
hasTintIndex() |
void |
pipe(IVertexConsumer consumer)
Joined 4 vertex records, each has 7 fields (x, y, z, shadeColor, u, v,
|
protected final int[] vertexData
protected final int tintIndex
protected final EnumFacing face
public BakedQuad(int[] vertexDataIn, int tintIndexIn, EnumFacing faceIn)
public void pipe(IVertexConsumer consumer)
pipe
in interface IVertexProducer
consumer
- consumer to receive the vertex data this producer can providepublic int[] getVertexData()
public boolean hasTintIndex()
public int getTintIndex()
public EnumFacing getFace()