Package net.minecraft.client.render
Class OverlayVertexConsumer
java.lang.Object
net.minecraft.client.render.FixedColorVertexConsumer
net.minecraft.client.render.OverlayVertexConsumer
- All Implemented Interfaces:
VertexConsumer
@Environment(CLIENT) public class OverlayVertexConsumer extends FixedColorVertexConsumer
-
Field Summary
Fields Modifier and Type Field 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
Fields inherited from class net.minecraft.client.render.FixedColorVertexConsumer
colorFixed, fixedAlpha, fixedBlue, fixedGreen, fixedRed
Fields inherited from interface net.minecraft.client.render.VertexConsumer
LOGGER
-
Constructor Summary
Constructors Constructor Description OverlayVertexConsumer(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f)
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.client.render.FixedColorVertexConsumer
fixedColor
-
Field Details
-
vertexConsumer
-
textureMatrix
-
normalMatrix
-
x
private float x -
y
private float y -
z
private float z -
u1
private int u1 -
v1
private int v1 -
light
private int light -
normalX
private float normalX -
normalY
private float normalY -
normalZ
private float normalZ
-
-
Constructor Details
-
OverlayVertexConsumer
-
-
Method Details
-
init
private void init() -
next
public void next() -
vertex
-
color
-
texture
-
overlay
-
light
-
normal
-