@Environment(value=CLIENT) public class TransformingVertexConsumer extends FixedColorVertexConsumer
| Modifier and Type | Field and Description |
|---|---|
private int |
light |
private Matrix3f |
normalMatrix |
private float |
normalX |
private float |
normalY |
private float |
normalZ |
private Matrix4f |
textureMatrix |
private int |
u1 |
private int |
v1 |
private VertexConsumer |
vertexConsumer |
private float |
x |
private float |
y |
private float |
z |
colorFixed, fixedAlpha, fixedBlue, fixedGreen, fixedRedLOGGER| Constructor and Description |
|---|
TransformingVertexConsumer(VertexConsumer vertexConsumer,
MatrixStack.Entry entry) |
| Modifier and Type | Method and Description |
|---|---|
VertexConsumer |
color(int red,
int green,
int blue,
int alpha) |
private void |
init() |
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) |
fixedColorprivate final VertexConsumer vertexConsumer
private final Matrix4f textureMatrix
private final Matrix3f normalMatrix
private float x
private float y
private float z
private int u1
private int v1
private int light
private float normalX
private float normalY
private float normalZ
public TransformingVertexConsumer(VertexConsumer vertexConsumer, MatrixStack.Entry entry)
private void init()
public void next()
public VertexConsumer vertex(double x, double y, double z)
public VertexConsumer color(int red, int green, int blue, int alpha)
public VertexConsumer texture(float u, float v)
public VertexConsumer overlay(int u, int v)
public VertexConsumer light(int u, int v)
public VertexConsumer normal(float x, float y, float z)