public class BakedQuad extends java.lang.Object implements IVertexProducer
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | applyDiffuseLighting | 
| protected EnumFacing | face | 
| protected VertexFormat | format | 
| protected TextureAtlasSprite | sprite | 
| protected int | tintIndex | 
| protected int[] | vertexData | 
| Constructor and Description | 
|---|
| BakedQuad(int[] vertexDataIn,
         int tintIndexIn,
         EnumFacing faceIn,
         TextureAtlasSprite spriteIn)Deprecated. 
 Use constructor with the format argument. | 
| BakedQuad(int[] vertexDataIn,
         int tintIndexIn,
         EnumFacing faceIn,
         TextureAtlasSprite spriteIn,
         boolean applyDiffuseLighting,
         VertexFormat format) | 
| Modifier and Type | Method and Description | 
|---|---|
| EnumFacing | getFace() | 
| VertexFormat | getFormat() | 
| TextureAtlasSprite | getSprite() | 
| int | getTintIndex() | 
| int[] | getVertexData() | 
| boolean | hasTintIndex() | 
| void | pipe(IVertexConsumer consumer) | 
| boolean | shouldApplyDiffuseLighting() | 
protected final int[] vertexData
protected final int tintIndex
protected final EnumFacing face
protected final TextureAtlasSprite sprite
protected final VertexFormat format
protected final boolean applyDiffuseLighting
@Deprecated
public BakedQuad(int[] vertexDataIn,
                              int tintIndexIn,
                              EnumFacing faceIn,
                              TextureAtlasSprite spriteIn)
public BakedQuad(int[] vertexDataIn,
                 int tintIndexIn,
                 EnumFacing faceIn,
                 TextureAtlasSprite spriteIn,
                 boolean applyDiffuseLighting,
                 VertexFormat format)
public TextureAtlasSprite getSprite()
public int[] getVertexData()
public boolean hasTintIndex()
public int getTintIndex()
public EnumFacing getFace()
public void pipe(IVertexConsumer consumer)
pipe in interface IVertexProducerconsumer - consumer to receive the vertex data this producer can providepublic VertexFormat getFormat()
public boolean shouldApplyDiffuseLighting()