Package net.minecraft.client.render
Class SpriteTexturedVertexConsumer
java.lang.Object
net.minecraft.client.render.SpriteTexturedVertexConsumer
- All Implemented Interfaces:
VertexConsumer
@Environment(CLIENT) public class SpriteTexturedVertexConsumer extends Object implements VertexConsumer
-
Field Summary
Fields Modifier and Type Field Description private VertexConsumerparentprivate SpritespriteFields inherited from interface net.minecraft.client.render.VertexConsumer
LOGGER -
Constructor Summary
Constructors Constructor Description SpriteTexturedVertexConsumer(VertexConsumer parent, Sprite sprite) -
Method Summary
Modifier and Type Method Description VertexConsumercolor(int red, int green, int blue, int alpha)VertexConsumerlight(int u, int v)voidnext()VertexConsumernormal(float x, float y, float z)VertexConsumeroverlay(int u, int v)VertexConsumertexture(float u, float v)VertexConsumervertex(double x, double y, double z)voidvertex(float x, float y, float z, float red, float green, float blue, float alpha, float u, float v, int overlay, int light, float normalX, float normalY, float normalZ)
-
Field Details
-
parent
-
sprite
-
-
Constructor Details
-
SpriteTexturedVertexConsumer
-
-
Method Details
-
vertex
- Specified by:
vertexin interfaceVertexConsumer
-
color
- Specified by:
colorin interfaceVertexConsumer
-
texture
- Specified by:
texturein interfaceVertexConsumer
-
overlay
- Specified by:
overlayin interfaceVertexConsumer
-
light
- Specified by:
lightin interfaceVertexConsumer
-
normal
- Specified by:
normalin interfaceVertexConsumer
-
next
public void next()- Specified by:
nextin interfaceVertexConsumer
-
vertex
public void vertex(float x, float y, float z, float red, float green, float blue, float alpha, float u, float v, int overlay, int light, float normalX, float normalY, float normalZ)- Specified by:
vertexin interfaceVertexConsumer
-