@Environment(value=CLIENT) public class OverlayVertexConsumer 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, fixedRed
LOGGER
Constructor and Description |
---|
OverlayVertexConsumer(VertexConsumer vertexConsumer,
Matrix4f matrix4f,
Matrix3f matrix3f) |
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) |
fixedColor
private 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 OverlayVertexConsumer(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f)
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)