Package net.minecraft.client.render
Class OverlayVertexConsumer
java.lang.Object
net.minecraft.client.render.FixedColorVertexConsumer
net.minecraft.client.render.OverlayVertexConsumer
- All Implemented Interfaces:
- VertexConsumer
- Mappings:
- Namespace - Name - official - eik- intermediary - net/minecraft/class_4583- named - net/minecraft/client/render/OverlayVertexConsumer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final VertexConsumerprivate final Matrix3fprivate final Matrix4fprivate intprivate floatprivate floatprivate floatprivate final floatprivate intprivate intprivate floatprivate floatprivate floatFields inherited from class net.minecraft.client.render.FixedColorVertexConsumercolorFixed, fixedAlpha, fixedBlue, fixedGreen, fixedRed
- 
Constructor SummaryConstructorsConstructorDescriptionOverlayVertexConsumer(VertexConsumer delegate, Matrix4f textureMatrix, Matrix3f normalMatrix, float textureScale) 
- 
Method SummaryModifier and TypeMethodDescriptioncolor(int red, int green, int blue, int alpha) Specifies the color element of the current vertex.private voidinit()light(int u, int v) Specifies the light element of the current vertex.voidnext()Starts consuming the next vertex.normal(float x, float y, float z) Specifies the normal element of the current vertex.overlay(int u, int v) Specifies the overlay element of the current vertex.texture(float u, float v) Specifies the texture element of the current vertex.vertex(double x, double y, double z) Specifies the position element of the current vertex.Methods inherited from class net.minecraft.client.render.FixedColorVertexConsumerfixedColor, unfixColor
- 
Field Details- 
delegate- Mappings:
- Namespace - Name - Mixin selector - official - f- Leik;f:Lein;- intermediary - field_20866- Lnet/minecraft/class_4583;field_20866:Lnet/minecraft/class_4588;- named - delegate- Lnet/minecraft/client/render/OverlayVertexConsumer;delegate:Lnet/minecraft/client/render/VertexConsumer;
 
- 
inverseTextureMatrix- Mappings:
- Namespace - Name - Mixin selector - official - g- Leik;g:Lorg/joml/Matrix4f;- intermediary - field_21053- Lnet/minecraft/class_4583;field_21053:Lorg/joml/Matrix4f;- named - inverseTextureMatrix- Lnet/minecraft/client/render/OverlayVertexConsumer;inverseTextureMatrix:Lorg/joml/Matrix4f;
 
- 
inverseNormalMatrix- Mappings:
- Namespace - Name - Mixin selector - official - h- Leik;h:Lorg/joml/Matrix3f;- intermediary - field_21054- Lnet/minecraft/class_4583;field_21054:Lorg/joml/Matrix3f;- named - inverseNormalMatrix- Lnet/minecraft/client/render/OverlayVertexConsumer;inverseNormalMatrix:Lorg/joml/Matrix3f;
 
- 
textureScaleprivate final float textureScale- Mappings:
- Namespace - Name - Mixin selector - official - i- Leik;i:F- intermediary - field_41091- Lnet/minecraft/class_4583;field_41091:F- named - textureScale- Lnet/minecraft/client/render/OverlayVertexConsumer;textureScale:F
 
- 
xprivate float x- Mappings:
- Namespace - Name - Mixin selector - official - j- Leik;j:F- intermediary - field_20870- Lnet/minecraft/class_4583;field_20870:F- named - x- Lnet/minecraft/client/render/OverlayVertexConsumer;x:F
 
- 
yprivate float y- Mappings:
- Namespace - Name - Mixin selector - official - k- Leik;k:F- intermediary - field_20871- Lnet/minecraft/class_4583;field_20871:F- named - y- Lnet/minecraft/client/render/OverlayVertexConsumer;y:F
 
- 
zprivate float z- Mappings:
- Namespace - Name - Mixin selector - official - l- Leik;l:F- intermediary - field_20872- Lnet/minecraft/class_4583;field_20872:F- named - z- Lnet/minecraft/client/render/OverlayVertexConsumer;z:F
 
- 
u1private int u1- Mappings:
- Namespace - Name - Mixin selector - official - m- Leik;m:I- intermediary - field_20877- Lnet/minecraft/class_4583;field_20877:I- named - u1- Lnet/minecraft/client/render/OverlayVertexConsumer;u1:I
 
- 
v1private int v1- Mappings:
- Namespace - Name - Mixin selector - official - n- Leik;n:I- intermediary - field_20878- Lnet/minecraft/class_4583;field_20878:I- named - v1- Lnet/minecraft/client/render/OverlayVertexConsumer;v1:I
 
- 
lightprivate int light- Mappings:
- Namespace - Name - Mixin selector - official - o- Leik;o:I- intermediary - field_20879- Lnet/minecraft/class_4583;field_20879:I- named - light- Lnet/minecraft/client/render/OverlayVertexConsumer;light:I
 
- 
normalXprivate float normalX- Mappings:
- Namespace - Name - Mixin selector - official - p- Leik;p:F- intermediary - field_20880- Lnet/minecraft/class_4583;field_20880:F- named - normalX- Lnet/minecraft/client/render/OverlayVertexConsumer;normalX:F
 
- 
normalYprivate float normalY- Mappings:
- Namespace - Name - Mixin selector - official - q- Leik;q:F- intermediary - field_20881- Lnet/minecraft/class_4583;field_20881:F- named - normalY- Lnet/minecraft/client/render/OverlayVertexConsumer;normalY:F
 
- 
normalZprivate float normalZ- Mappings:
- Namespace - Name - Mixin selector - official - r- Leik;r:F- intermediary - field_20882- Lnet/minecraft/class_4583;field_20882:F- named - normalZ- Lnet/minecraft/client/render/OverlayVertexConsumer;normalZ:F
 
 
- 
- 
Constructor Details- 
OverlayVertexConsumerpublic OverlayVertexConsumer(VertexConsumer delegate, Matrix4f textureMatrix, Matrix3f normalMatrix, float textureScale) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leik;<init>(Lein;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;F)V- intermediary - <init>- Lnet/minecraft/class_4583;<init>(Lnet/minecraft/class_4588;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;F)V- named - <init>- Lnet/minecraft/client/render/OverlayVertexConsumer;<init>(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;F)V
 
 
- 
- 
Method Details- 
initprivate void init()- Mappings:
- Namespace - Name - Mixin selector - official - a- Leik;a()V- intermediary - method_22891- Lnet/minecraft/class_4583;method_22891()V- named - init- Lnet/minecraft/client/render/OverlayVertexConsumer;init()V
 
- 
nextpublic 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- Lein;e()V- intermediary - method_1344- Lnet/minecraft/class_4588;method_1344()V- named - next- Lnet/minecraft/client/render/VertexConsumer;next()V
 
- 
vertexSpecifies 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- Lein;a(DDD)Lein;- 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;
 
- 
colorSpecifies the color element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lein;a(IIII)Lein;- 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;
 
- 
textureSpecifies the texture element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lein;a(FF)Lein;- 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;
 
- 
overlaySpecifies the overlay element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lein;a(II)Lein;- 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;
 
- 
lightSpecifies the light element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lein;b(II)Lein;- 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;
 
- 
normalSpecifies the normal element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lein;a(FFF)Lein;- 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;
 
 
-