@Environment(value=CLIENT) static class VertexConsumers.Dual extends Object implements VertexConsumer
Modifier and Type | Field and Description |
---|---|
private VertexConsumer |
first |
private VertexConsumer |
second |
LOGGER
Constructor and Description |
---|
Dual(VertexConsumer first,
VertexConsumer second) |
Modifier and Type | Method and Description |
---|---|
VertexConsumer |
color(int red,
int green,
int blue,
int alpha) |
VertexConsumer |
light(int u,
int v) |
void |
next() |
VertexConsumer |
normal(float x,
float y,
float z) |
VertexConsumer |
overlay(int u,
int v) |
VertexConsumer |
texture(float u,
float v) |
VertexConsumer |
vertex(double x,
double y,
double z) |
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) |
private final VertexConsumer first
private final VertexConsumer second
public Dual(VertexConsumer first, VertexConsumer second)
public VertexConsumer vertex(double x, double y, double z)
vertex
in interface VertexConsumer
public VertexConsumer color(int red, int green, int blue, int alpha)
color
in interface VertexConsumer
public VertexConsumer texture(float u, float v)
texture
in interface VertexConsumer
public VertexConsumer overlay(int u, int v)
overlay
in interface VertexConsumer
public VertexConsumer light(int u, int v)
light
in interface VertexConsumer
public VertexConsumer normal(float x, float y, float z)
normal
in interface VertexConsumer
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)
vertex
in interface VertexConsumer
public void next()
next
in interface VertexConsumer