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/OverlayVertexConsumerintermediary net/minecraft/class_4583official ezz
-
Field Summary
FieldsModifier 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.FixedColorVertexConsumer
colorFixed, fixedAlpha, fixedBlue, fixedGreen, fixedRed -
Constructor Summary
ConstructorsConstructorDescriptionOverlayVertexConsumer(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 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.FixedColorVertexConsumer
fixedColor, unfixColor
-
Field Details
-
delegate
- Mappings:
Namespace Name Mixin selector named delegateLnet/minecraft/client/render/OverlayVertexConsumer;delegate:Lnet/minecraft/client/render/VertexConsumer;intermediary field_20866Lnet/minecraft/class_4583;field_20866:Lnet/minecraft/class_4588;official fLezz;f:Lfac;
-
inverseTextureMatrix
- Mappings:
Namespace Name Mixin selector named inverseTextureMatrixLnet/minecraft/client/render/OverlayVertexConsumer;inverseTextureMatrix:Lorg/joml/Matrix4f;intermediary field_21053Lnet/minecraft/class_4583;field_21053:Lorg/joml/Matrix4f;official gLezz;g:Lorg/joml/Matrix4f;
-
inverseNormalMatrix
- Mappings:
Namespace Name Mixin selector named inverseNormalMatrixLnet/minecraft/client/render/OverlayVertexConsumer;inverseNormalMatrix:Lorg/joml/Matrix3f;intermediary field_21054Lnet/minecraft/class_4583;field_21054:Lorg/joml/Matrix3f;official hLezz;h:Lorg/joml/Matrix3f;
-
textureScale
private final float textureScale- Mappings:
Namespace Name Mixin selector named textureScaleLnet/minecraft/client/render/OverlayVertexConsumer;textureScale:Fintermediary field_41091Lnet/minecraft/class_4583;field_41091:Fofficial iLezz;i:F
-
x
private float x- Mappings:
Namespace Name Mixin selector named xLnet/minecraft/client/render/OverlayVertexConsumer;x:Fintermediary field_20870Lnet/minecraft/class_4583;field_20870:Fofficial jLezz;j:F
-
y
private float y- Mappings:
Namespace Name Mixin selector named yLnet/minecraft/client/render/OverlayVertexConsumer;y:Fintermediary field_20871Lnet/minecraft/class_4583;field_20871:Fofficial kLezz;k:F
-
z
private float z- Mappings:
Namespace Name Mixin selector named zLnet/minecraft/client/render/OverlayVertexConsumer;z:Fintermediary field_20872Lnet/minecraft/class_4583;field_20872:Fofficial lLezz;l:F
-
u1
private int u1- Mappings:
Namespace Name Mixin selector named u1Lnet/minecraft/client/render/OverlayVertexConsumer;u1:Iintermediary field_20877Lnet/minecraft/class_4583;field_20877:Iofficial mLezz;m:I
-
v1
private int v1- Mappings:
Namespace Name Mixin selector named v1Lnet/minecraft/client/render/OverlayVertexConsumer;v1:Iintermediary field_20878Lnet/minecraft/class_4583;field_20878:Iofficial nLezz;n:I
-
light
private int light- Mappings:
Namespace Name Mixin selector named lightLnet/minecraft/client/render/OverlayVertexConsumer;light:Iintermediary field_20879Lnet/minecraft/class_4583;field_20879:Iofficial oLezz;o:I
-
normalX
private float normalX- Mappings:
Namespace Name Mixin selector named normalXLnet/minecraft/client/render/OverlayVertexConsumer;normalX:Fintermediary field_20880Lnet/minecraft/class_4583;field_20880:Fofficial pLezz;p:F
-
normalY
private float normalY- Mappings:
Namespace Name Mixin selector named normalYLnet/minecraft/client/render/OverlayVertexConsumer;normalY:Fintermediary field_20881Lnet/minecraft/class_4583;field_20881:Fofficial qLezz;q:F
-
normalZ
private float normalZ- Mappings:
Namespace Name Mixin selector named normalZLnet/minecraft/client/render/OverlayVertexConsumer;normalZ:Fintermediary field_20882Lnet/minecraft/class_4583;field_20882:Fofficial rLezz;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)Vintermediary <init>Lnet/minecraft/class_4583;<init>(Lnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;F)Vofficial <init>Lezz;<init>(Lfac;Lezy$a;F)V
-
-
Method Details
-
init
private void init()- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/render/OverlayVertexConsumer;init()Vintermediary method_22891Lnet/minecraft/class_4583;method_22891()Vofficial aLezz;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 nextLnet/minecraft/client/render/VertexConsumer;next()Vintermediary method_1344Lnet/minecraft/class_4588;method_1344()Vofficial eLfac;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 vertexLnet/minecraft/client/render/VertexConsumer;vertex(DDD)Lnet/minecraft/client/render/VertexConsumer;intermediary method_22912Lnet/minecraft/class_4588;method_22912(DDD)Lnet/minecraft/class_4588;official aLfac;a(DDD)Lfac;
-
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 colorLnet/minecraft/client/render/VertexConsumer;color(IIII)Lnet/minecraft/client/render/VertexConsumer;intermediary method_1336Lnet/minecraft/class_4588;method_1336(IIII)Lnet/minecraft/class_4588;official aLfac;a(IIII)Lfac;
-
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 textureLnet/minecraft/client/render/VertexConsumer;texture(FF)Lnet/minecraft/client/render/VertexConsumer;intermediary method_22913Lnet/minecraft/class_4588;method_22913(FF)Lnet/minecraft/class_4588;official aLfac;a(FF)Lfac;
-
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 overlayLnet/minecraft/client/render/VertexConsumer;overlay(II)Lnet/minecraft/client/render/VertexConsumer;intermediary method_22917Lnet/minecraft/class_4588;method_22917(II)Lnet/minecraft/class_4588;official aLfac;a(II)Lfac;
-
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 lightLnet/minecraft/client/render/VertexConsumer;light(II)Lnet/minecraft/client/render/VertexConsumer;intermediary method_22921Lnet/minecraft/class_4588;method_22921(II)Lnet/minecraft/class_4588;official bLfac;b(II)Lfac;
-
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 normalLnet/minecraft/client/render/VertexConsumer;normal(FFF)Lnet/minecraft/client/render/VertexConsumer;intermediary method_22914Lnet/minecraft/class_4588;method_22914(FFF)Lnet/minecraft/class_4588;official aLfac;a(FFF)Lfac;
-