Class BakedQuad
- java.lang.Object
-
- net.minecraft.client.renderer.model.BakedQuad
-
- All Implemented Interfaces:
IVertexProducer
public class BakedQuad extends java.lang.Object implements IVertexProducer
-
-
Constructor Summary
Constructors Constructor Description BakedQuad(int[] p_i232466_1_, int p_i232466_2_, Direction p_i232466_3_, TextureAtlasSprite p_i232466_4_, boolean p_i232466_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Direction
getDirection()
TextureAtlasSprite
getSprite()
int
getTintIndex()
int[]
getVertices()
boolean
isShade()
boolean
isTinted()
void
pipe(IVertexConsumer consumer)
-
-
-
Field Detail
-
vertices
protected final int[] vertices
-
tintIndex
protected final int tintIndex
-
direction
protected final Direction direction
-
sprite
protected final TextureAtlasSprite sprite
-
shade
private final boolean shade
-
-
Constructor Detail
-
BakedQuad
public BakedQuad(int[] p_i232466_1_, int p_i232466_2_, Direction p_i232466_3_, TextureAtlasSprite p_i232466_4_, boolean p_i232466_5_)
-
-
Method Detail
-
getVertices
public int[] getVertices()
-
isTinted
public boolean isTinted()
-
getTintIndex
public int getTintIndex()
-
getDirection
public Direction getDirection()
-
pipe
public void pipe(IVertexConsumer consumer)
- Specified by:
pipe
in interfaceIVertexProducer
- Parameters:
consumer
- consumer to receive the vertex data this producer can provide
-
getSprite
public TextureAtlasSprite getSprite()
-
isShade
public boolean isShade()
-
-