@Environment(value=CLIENT)
public interface VertexConsumer
Modifier and Type | Method and Description |
---|---|
default VertexConsumer |
color(float red,
float green,
float blue,
float alpha) |
VertexConsumer |
color(int red,
int green,
int blue,
int alpha) |
default VertexConsumer |
light(int uv) |
VertexConsumer |
light(int u,
int v) |
void |
next() |
VertexConsumer |
normal(float x,
float y,
float z) |
default VertexConsumer |
normal(Matrix3f matrix,
float x,
float y,
float z) |
default VertexConsumer |
overlay(int uv) |
VertexConsumer |
overlay(int u,
int v) |
default void |
quad(MatrixStack.Entry matrixEntry,
BakedQuad quad,
float[] brightnesses,
float red,
float green,
float blue,
int[] lights,
int overlay,
boolean useQuadColorData) |
default void |
quad(MatrixStack.Entry matrixEntry,
BakedQuad quad,
float red,
float green,
float blue,
int light,
int overlay) |
VertexConsumer |
texture(float u,
float v) |
VertexConsumer |
vertex(double x,
double y,
double z) |
default 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) |
default VertexConsumer |
vertex(Matrix4f matrix,
float x,
float y,
float z) |
static final Logger LOGGER
VertexConsumer vertex(double x, double y, double z)
VertexConsumer color(int red, int green, int blue, int alpha)
VertexConsumer texture(float u, float v)
VertexConsumer overlay(int u, int v)
VertexConsumer light(int u, int v)
VertexConsumer normal(float x, float y, float z)
void next()
default 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)
default VertexConsumer color(float red, float green, float blue, float alpha)
default VertexConsumer light(int uv)
default VertexConsumer overlay(int uv)
default void quad(MatrixStack.Entry matrixEntry, BakedQuad quad, float red, float green, float blue, int light, int overlay)
default void quad(MatrixStack.Entry matrixEntry, BakedQuad quad, float[] brightnesses, float red, float green, float blue, int[] lights, int overlay, boolean useQuadColorData)
default VertexConsumer vertex(Matrix4f matrix, float x, float y, float z)
default VertexConsumer normal(Matrix3f matrix, float x, float y, float z)