Class BakedQuad
java.lang.Object
net.minecraft.client.renderer.block.model.BakedQuad
- All Implemented Interfaces:
IVertexProducer
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBakedQuad(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_)
-
Method Summary
Modifier and TypeMethodDescriptionint
int[]
boolean
isShade()
boolean
isTinted()
void
pipe(IVertexConsumer consumer)
-
Field Details
-
vertices
protected final int[] vertices -
tintIndex
protected final int tintIndex -
direction
-
sprite
-
shade
private final boolean shade
-
-
Constructor Details
-
BakedQuad
public BakedQuad(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_)
-
-
Method Details
-
getSprite
-
getVertices
public int[] getVertices() -
isTinted
public boolean isTinted() -
getTintIndex
public int getTintIndex() -
getDirection
-
pipe
- Specified by:
pipe
in interfaceIVertexProducer
- Parameters:
consumer
- consumer to receive the vertex data this producer can provide
-
isShade
public boolean isShade()
-