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 Details

    • vertexConsumer

      private final VertexConsumer vertexConsumer
    • textureMatrix

      private final Matrix4f textureMatrix
    • normalMatrix

      private final Matrix3f 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

  • Method Details

    • init

      private void init()
    • next

      public void next()
    • vertex

      public VertexConsumer vertex​(double x, double y, double z)
    • color

      public VertexConsumer color​(int red, int green, int blue, int alpha)
    • texture

      public VertexConsumer texture​(float u, float v)
    • overlay

      public VertexConsumer overlay​(int u, int v)
    • light

      public VertexConsumer light​(int u, int v)
    • normal

      public VertexConsumer normal​(float x, float y, float z)