@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 VertexConsumerpublic VertexConsumer color(int red, int green, int blue, int alpha)
color in interface VertexConsumerpublic VertexConsumer texture(float u, float v)
texture in interface VertexConsumerpublic VertexConsumer overlay(int u, int v)
overlay in interface VertexConsumerpublic VertexConsumer light(int u, int v)
light in interface VertexConsumerpublic VertexConsumer normal(float x, float y, float z)
normal in interface VertexConsumerpublic 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 VertexConsumerpublic void next()
next in interface VertexConsumer