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
Mappings:
Namespace Name
official ear
intermediary net/minecraft/class_4583
named net/minecraft/client/render/OverlayVertexConsumer
  • Field Details

    • vertexConsumer

      private final VertexConsumer vertexConsumer
      Mappings:
      Namespace Name Mixin selector
      official f Lear;f:Leau;
      intermediary field_20866 Lnet/minecraft/class_4583;field_20866:Lnet/minecraft/class_4588;
      named vertexConsumer Lnet/minecraft/client/render/OverlayVertexConsumer;vertexConsumer:Lnet/minecraft/client/render/VertexConsumer;
    • textureMatrix

      private final Matrix4f textureMatrix
      Mappings:
      Namespace Name Mixin selector
      official g Lear;g:Ld;
      intermediary field_21053 Lnet/minecraft/class_4583;field_21053:Lnet/minecraft/class_1159;
      named textureMatrix Lnet/minecraft/client/render/OverlayVertexConsumer;textureMatrix:Lnet/minecraft/util/math/Matrix4f;
    • normalMatrix

      private final Matrix3f normalMatrix
      Mappings:
      Namespace Name Mixin selector
      official h Lear;h:Lc;
      intermediary field_21054 Lnet/minecraft/class_4583;field_21054:Lnet/minecraft/class_4581;
      named normalMatrix Lnet/minecraft/client/render/OverlayVertexConsumer;normalMatrix:Lnet/minecraft/util/math/Matrix3f;
    • x

      private float x
      Mappings:
      Namespace Name Mixin selector
      official i Lear;i:F
      intermediary field_20870 Lnet/minecraft/class_4583;field_20870:F
      named x Lnet/minecraft/client/render/OverlayVertexConsumer;x:F
    • y

      private float y
      Mappings:
      Namespace Name Mixin selector
      official j Lear;j:F
      intermediary field_20871 Lnet/minecraft/class_4583;field_20871:F
      named y Lnet/minecraft/client/render/OverlayVertexConsumer;y:F
    • z

      private float z
      Mappings:
      Namespace Name Mixin selector
      official k Lear;k:F
      intermediary field_20872 Lnet/minecraft/class_4583;field_20872:F
      named z Lnet/minecraft/client/render/OverlayVertexConsumer;z:F
    • u1

      private int u1
      Mappings:
      Namespace Name Mixin selector
      official l Lear;l:I
      intermediary field_20877 Lnet/minecraft/class_4583;field_20877:I
      named u1 Lnet/minecraft/client/render/OverlayVertexConsumer;u1:I
    • v1

      private int v1
      Mappings:
      Namespace Name Mixin selector
      official m Lear;m:I
      intermediary field_20878 Lnet/minecraft/class_4583;field_20878:I
      named v1 Lnet/minecraft/client/render/OverlayVertexConsumer;v1:I
    • light

      private int light
      Mappings:
      Namespace Name Mixin selector
      official n Lear;n:I
      intermediary field_20879 Lnet/minecraft/class_4583;field_20879:I
      named light Lnet/minecraft/client/render/OverlayVertexConsumer;light:I
    • normalX

      private float normalX
      Mappings:
      Namespace Name Mixin selector
      official o Lear;o:F
      intermediary field_20880 Lnet/minecraft/class_4583;field_20880:F
      named normalX Lnet/minecraft/client/render/OverlayVertexConsumer;normalX:F
    • normalY

      private float normalY
      Mappings:
      Namespace Name Mixin selector
      official p Lear;p:F
      intermediary field_20881 Lnet/minecraft/class_4583;field_20881:F
      named normalY Lnet/minecraft/client/render/OverlayVertexConsumer;normalY:F
    • normalZ

      private float normalZ
      Mappings:
      Namespace Name Mixin selector
      official q Lear;q:F
      intermediary field_20882 Lnet/minecraft/class_4583;field_20882:F
      named normalZ Lnet/minecraft/client/render/OverlayVertexConsumer;normalZ:F
  • Constructor Details

    • OverlayVertexConsumer

      public OverlayVertexConsumer(VertexConsumer vertexConsumer, Matrix4f textureMatrix, Matrix3f normalMatrix)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lear;<init>(Leau;Ld;Lc;)V
      intermediary <init> Lnet/minecraft/class_4583;<init>(Lnet/minecraft/class_4588;Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;)V
      named <init> Lnet/minecraft/client/render/OverlayVertexConsumer;<init>(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/util/math/Matrix4f;Lnet/minecraft/util/math/Matrix3f;)V
  • Method Details

    • init

      private void init()
      Mappings:
      Namespace Name Mixin selector
      official a Lear;a()V
      intermediary method_22891 Lnet/minecraft/class_4583;method_22891()V
      named init Lnet/minecraft/client/render/OverlayVertexConsumer;init()V
    • next

      public void next()
      Starts consuming the next vertex.

      This method must be called after specifying all elements in a vertex.

      Mappings:
      Namespace Name Mixin selector
      official e Leau;e()V
      intermediary method_1344 Lnet/minecraft/class_4588;method_1344()V
      named next Lnet/minecraft/client/render/VertexConsumer;next()V
    • vertex

      public VertexConsumer vertex(double x, double y, double z)
      Specifies the position element of the current vertex.

      This is typically the first element in a vertex, hence the name.

      Returns:
      this consumer, for chaining
      Mappings:
      Namespace Name Mixin selector
      official a Leau;a(DDD)Leau;
      intermediary method_22912 Lnet/minecraft/class_4588;method_22912(DDD)Lnet/minecraft/class_4588;
      named vertex Lnet/minecraft/client/render/VertexConsumer;vertex(DDD)Lnet/minecraft/client/render/VertexConsumer;
    • color

      public VertexConsumer color(int red, int green, int blue, int alpha)
      Specifies the color element of the current vertex.
      Returns:
      this consumer, for chaining
      Mappings:
      Namespace Name Mixin selector
      official a Leau;a(IIII)Leau;
      intermediary method_1336 Lnet/minecraft/class_4588;method_1336(IIII)Lnet/minecraft/class_4588;
      named color Lnet/minecraft/client/render/VertexConsumer;color(IIII)Lnet/minecraft/client/render/VertexConsumer;
    • texture

      public VertexConsumer texture(float u, float v)
      Specifies the texture element of the current vertex.
      Returns:
      this consumer, for chaining
      Mappings:
      Namespace Name Mixin selector
      official a Leau;a(FF)Leau;
      intermediary method_22913 Lnet/minecraft/class_4588;method_22913(FF)Lnet/minecraft/class_4588;
      named texture Lnet/minecraft/client/render/VertexConsumer;texture(FF)Lnet/minecraft/client/render/VertexConsumer;
    • overlay

      public VertexConsumer overlay(int u, int v)
      Specifies the overlay element of the current vertex.
      Returns:
      this consumer, for chaining
      Mappings:
      Namespace Name Mixin selector
      official a Leau;a(II)Leau;
      intermediary method_22917 Lnet/minecraft/class_4588;method_22917(II)Lnet/minecraft/class_4588;
      named overlay Lnet/minecraft/client/render/VertexConsumer;overlay(II)Lnet/minecraft/client/render/VertexConsumer;
    • light

      public VertexConsumer light(int u, int v)
      Specifies the light element of the current vertex.
      Returns:
      this consumer, for chaining
      Mappings:
      Namespace Name Mixin selector
      official b Leau;b(II)Leau;
      intermediary method_22921 Lnet/minecraft/class_4588;method_22921(II)Lnet/minecraft/class_4588;
      named light Lnet/minecraft/client/render/VertexConsumer;light(II)Lnet/minecraft/client/render/VertexConsumer;
    • normal

      public VertexConsumer normal(float x, float y, float z)
      Specifies the normal element of the current vertex.
      Returns:
      this consumer, for chaining
      Mappings:
      Namespace Name Mixin selector
      official b Leau;b(FFF)Leau;
      intermediary method_22914 Lnet/minecraft/class_4588;method_22914(FFF)Lnet/minecraft/class_4588;
      named normal Lnet/minecraft/client/render/VertexConsumer;normal(FFF)Lnet/minecraft/client/render/VertexConsumer;