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