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 named net/minecraft/client/render/OverlayVertexConsumer
intermediary net/minecraft/class_4583
official fap
-
Field Summary
Modifier and TypeFieldDescriptionprivate final VertexConsumer
private final Matrix3f
private final Matrix4f
private int
private float
private float
private float
private final float
private int
private int
private float
private float
private float
Fields inherited from class net.minecraft.client.render.FixedColorVertexConsumer
colorFixed, fixedAlpha, fixedBlue, fixedGreen, fixedRed
-
Constructor Summary
ConstructorDescriptionOverlayVertexConsumer
(VertexConsumer delegate, MatrixStack.Entry matrix, float textureScale) -
Method Summary
Modifier and TypeMethodDescriptioncolor
(int red, int green, int blue, int alpha) Specifies the color element of the current vertex.private void
init()
light
(int u, int v) Specifies the light element of the current vertex.void
next()
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.FixedColorVertexConsumer
fixedColor, unfixColor
-
Field Details
-
delegate
- Mappings:
Namespace Name Mixin selector named delegate
Lnet/minecraft/client/render/OverlayVertexConsumer;delegate:Lnet/minecraft/client/render/VertexConsumer;
intermediary field_20866
Lnet/minecraft/class_4583;field_20866:Lnet/minecraft/class_4588;
official f
Lfap;f:Lfas;
-
inverseTextureMatrix
- Mappings:
Namespace Name Mixin selector named inverseTextureMatrix
Lnet/minecraft/client/render/OverlayVertexConsumer;inverseTextureMatrix:Lorg/joml/Matrix4f;
intermediary field_21053
Lnet/minecraft/class_4583;field_21053:Lorg/joml/Matrix4f;
official g
Lfap;g:Lorg/joml/Matrix4f;
-
inverseNormalMatrix
- Mappings:
Namespace Name Mixin selector named inverseNormalMatrix
Lnet/minecraft/client/render/OverlayVertexConsumer;inverseNormalMatrix:Lorg/joml/Matrix3f;
intermediary field_21054
Lnet/minecraft/class_4583;field_21054:Lorg/joml/Matrix3f;
official h
Lfap;h:Lorg/joml/Matrix3f;
-
textureScale
private final float textureScale- Mappings:
Namespace Name Mixin selector named textureScale
Lnet/minecraft/client/render/OverlayVertexConsumer;textureScale:F
intermediary field_41091
Lnet/minecraft/class_4583;field_41091:F
official i
Lfap;i:F
-
x
private float x- Mappings:
Namespace Name Mixin selector named x
Lnet/minecraft/client/render/OverlayVertexConsumer;x:F
intermediary field_20870
Lnet/minecraft/class_4583;field_20870:F
official j
Lfap;j:F
-
y
private float y- Mappings:
Namespace Name Mixin selector named y
Lnet/minecraft/client/render/OverlayVertexConsumer;y:F
intermediary field_20871
Lnet/minecraft/class_4583;field_20871:F
official k
Lfap;k:F
-
z
private float z- Mappings:
Namespace Name Mixin selector named z
Lnet/minecraft/client/render/OverlayVertexConsumer;z:F
intermediary field_20872
Lnet/minecraft/class_4583;field_20872:F
official l
Lfap;l:F
-
u1
private int u1- Mappings:
Namespace Name Mixin selector named u1
Lnet/minecraft/client/render/OverlayVertexConsumer;u1:I
intermediary field_20877
Lnet/minecraft/class_4583;field_20877:I
official m
Lfap;m:I
-
v1
private int v1- Mappings:
Namespace Name Mixin selector named v1
Lnet/minecraft/client/render/OverlayVertexConsumer;v1:I
intermediary field_20878
Lnet/minecraft/class_4583;field_20878:I
official n
Lfap;n:I
-
light
private int light- Mappings:
Namespace Name Mixin selector named light
Lnet/minecraft/client/render/OverlayVertexConsumer;light:I
intermediary field_20879
Lnet/minecraft/class_4583;field_20879:I
official o
Lfap;o:I
-
normalX
private float normalX- Mappings:
Namespace Name Mixin selector named normalX
Lnet/minecraft/client/render/OverlayVertexConsumer;normalX:F
intermediary field_20880
Lnet/minecraft/class_4583;field_20880:F
official p
Lfap;p:F
-
normalY
private float normalY- Mappings:
Namespace Name Mixin selector named normalY
Lnet/minecraft/client/render/OverlayVertexConsumer;normalY:F
intermediary field_20881
Lnet/minecraft/class_4583;field_20881:F
official q
Lfap;q:F
-
normalZ
private float normalZ- Mappings:
Namespace Name Mixin selector named normalZ
Lnet/minecraft/client/render/OverlayVertexConsumer;normalZ:F
intermediary field_20882
Lnet/minecraft/class_4583;field_20882:F
official r
Lfap;r:F
-
-
Constructor Details
-
OverlayVertexConsumer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/OverlayVertexConsumer;<init>(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;F)V
intermediary <init>
Lnet/minecraft/class_4583;<init>(Lnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;F)V
official <init>
Lfap;<init>(Lfas;Lfao$a;F)V
-
-
Method Details
-
init
private void init()- Mappings:
Namespace Name Mixin selector named init
Lnet/minecraft/client/render/OverlayVertexConsumer;init()V
intermediary method_22891
Lnet/minecraft/class_4583;method_22891()V
official a
Lfap;a()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 named next
Lnet/minecraft/client/render/VertexConsumer;next()V
intermediary method_1344
Lnet/minecraft/class_4588;method_1344()V
official e
Lfas;e()V
-
vertex
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
- Throws:
IllegalStateException
- if this consumer is not currently accepting a position element.- Mappings:
Namespace Name Mixin selector named vertex
Lnet/minecraft/client/render/VertexConsumer;vertex(DDD)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22912
Lnet/minecraft/class_4588;method_22912(DDD)Lnet/minecraft/class_4588;
official a
Lfas;a(DDD)Lfas;
-
color
Specifies the color element of the current vertex.- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a color element or if a color has been set inFixedColorVertexConsumer.fixedColor(int, int, int, int)
.- Mappings:
Namespace Name Mixin selector named color
Lnet/minecraft/client/render/VertexConsumer;color(IIII)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_1336
Lnet/minecraft/class_4588;method_1336(IIII)Lnet/minecraft/class_4588;
official a
Lfas;a(IIII)Lfas;
-
texture
Specifies the texture element of the current vertex.- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a texture element.- Mappings:
Namespace Name Mixin selector named texture
Lnet/minecraft/client/render/VertexConsumer;texture(FF)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22913
Lnet/minecraft/class_4588;method_22913(FF)Lnet/minecraft/class_4588;
official a
Lfas;a(FF)Lfas;
-
overlay
Specifies the overlay element of the current vertex.- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting an overlay element.- Mappings:
Namespace Name Mixin selector named overlay
Lnet/minecraft/client/render/VertexConsumer;overlay(II)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22917
Lnet/minecraft/class_4588;method_22917(II)Lnet/minecraft/class_4588;
official a
Lfas;a(II)Lfas;
-
light
Specifies the light element of the current vertex.- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a light element.- Mappings:
Namespace Name Mixin selector named light
Lnet/minecraft/client/render/VertexConsumer;light(II)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22921
Lnet/minecraft/class_4588;method_22921(II)Lnet/minecraft/class_4588;
official b
Lfas;b(II)Lfas;
-
normal
Specifies the normal element of the current vertex.- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a normal element.- Mappings:
Namespace Name Mixin selector named normal
Lnet/minecraft/client/render/VertexConsumer;normal(FFF)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22914
Lnet/minecraft/class_4588;method_22914(FFF)Lnet/minecraft/class_4588;
official a
Lfas;a(FFF)Lfas;
-