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 edtintermediary net/minecraft/class_4583named net/minecraft/client/render/OverlayVertexConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final VertexConsumerprivate final floatprivate final Matrix3fprivate final Matrix4fprivate intprivate floatprivate floatprivate floatprivate intprivate intprivate floatprivate floatprivate floatFields inherited from class net.minecraft.client.render.FixedColorVertexConsumer
colorFixed, fixedAlpha, fixedBlue, fixedGreen, fixedRed -
Constructor Summary
ConstructorsConstructorDescriptionOverlayVertexConsumer(VertexConsumer delegate, Matrix4f textureMatrix, Matrix3f normalMatrix, float float2) -
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 official fLedt;f:Ledw;intermediary field_20866Lnet/minecraft/class_4583;field_20866:Lnet/minecraft/class_4588;named delegateLnet/minecraft/client/render/OverlayVertexConsumer;delegate:Lnet/minecraft/client/render/VertexConsumer;
-
inverseTextureMatrix
- Mappings:
Namespace Name Mixin selector official gLedt;g:Lorg/joml/Matrix4f;intermediary field_21053Lnet/minecraft/class_4583;field_21053:Lorg/joml/Matrix4f;named inverseTextureMatrixLnet/minecraft/client/render/OverlayVertexConsumer;inverseTextureMatrix:Lorg/joml/Matrix4f;
-
inverseNormalMatrix
- Mappings:
Namespace Name Mixin selector official hLedt;h:Lorg/joml/Matrix3f;intermediary field_21054Lnet/minecraft/class_4583;field_21054:Lorg/joml/Matrix3f;named inverseNormalMatrixLnet/minecraft/client/render/OverlayVertexConsumer;inverseNormalMatrix:Lorg/joml/Matrix3f;
-
field_41091
private final float field_41091- Mappings:
Namespace Name Mixin selector official iLedt;i:Fintermediary field_41091Lnet/minecraft/class_4583;field_41091:Fnamed field_41091Lnet/minecraft/client/render/OverlayVertexConsumer;field_41091:F
-
x
private float x- Mappings:
Namespace Name Mixin selector official jLedt;j:Fintermediary field_20870Lnet/minecraft/class_4583;field_20870:Fnamed xLnet/minecraft/client/render/OverlayVertexConsumer;x:F
-
y
private float y- Mappings:
Namespace Name Mixin selector official kLedt;k:Fintermediary field_20871Lnet/minecraft/class_4583;field_20871:Fnamed yLnet/minecraft/client/render/OverlayVertexConsumer;y:F
-
z
private float z- Mappings:
Namespace Name Mixin selector official lLedt;l:Fintermediary field_20872Lnet/minecraft/class_4583;field_20872:Fnamed zLnet/minecraft/client/render/OverlayVertexConsumer;z:F
-
u1
private int u1- Mappings:
Namespace Name Mixin selector official mLedt;m:Iintermediary field_20877Lnet/minecraft/class_4583;field_20877:Inamed u1Lnet/minecraft/client/render/OverlayVertexConsumer;u1:I
-
v1
private int v1- Mappings:
Namespace Name Mixin selector official nLedt;n:Iintermediary field_20878Lnet/minecraft/class_4583;field_20878:Inamed v1Lnet/minecraft/client/render/OverlayVertexConsumer;v1:I
-
light
private int light- Mappings:
Namespace Name Mixin selector official oLedt;o:Iintermediary field_20879Lnet/minecraft/class_4583;field_20879:Inamed lightLnet/minecraft/client/render/OverlayVertexConsumer;light:I
-
normalX
private float normalX- Mappings:
Namespace Name Mixin selector official pLedt;p:Fintermediary field_20880Lnet/minecraft/class_4583;field_20880:Fnamed normalXLnet/minecraft/client/render/OverlayVertexConsumer;normalX:F
-
normalY
private float normalY- Mappings:
Namespace Name Mixin selector official qLedt;q:Fintermediary field_20881Lnet/minecraft/class_4583;field_20881:Fnamed normalYLnet/minecraft/client/render/OverlayVertexConsumer;normalY:F
-
normalZ
private float normalZ- Mappings:
Namespace Name Mixin selector official rLedt;r:Fintermediary field_20882Lnet/minecraft/class_4583;field_20882:Fnamed normalZLnet/minecraft/client/render/OverlayVertexConsumer;normalZ:F
-
-
Constructor Details
-
OverlayVertexConsumer
public OverlayVertexConsumer(VertexConsumer delegate, Matrix4f textureMatrix, Matrix3f normalMatrix, float float2) - Mappings:
Namespace Name Mixin selector official <init>Ledt;<init>(Ledw;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;F)Vintermediary <init>Lnet/minecraft/class_4583;<init>(Lnet/minecraft/class_4588;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;F)Vnamed <init>Lnet/minecraft/client/render/OverlayVertexConsumer;<init>(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;F)V
-
-
Method Details
-
init
private void init()- Mappings:
Namespace Name Mixin selector official aLedt;a()Vintermediary method_22891Lnet/minecraft/class_4583;method_22891()Vnamed initLnet/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 eLedw;e()Vintermediary method_1344Lnet/minecraft/class_4588;method_1344()Vnamed nextLnet/minecraft/client/render/VertexConsumer;next()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
- Mappings:
Namespace Name Mixin selector official aLedw;a(DDD)Ledw;intermediary method_22912Lnet/minecraft/class_4588;method_22912(DDD)Lnet/minecraft/class_4588;named vertexLnet/minecraft/client/render/VertexConsumer;vertex(DDD)Lnet/minecraft/client/render/VertexConsumer;
-
color
Specifies the color element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLedw;a(IIII)Ledw;intermediary method_1336Lnet/minecraft/class_4588;method_1336(IIII)Lnet/minecraft/class_4588;named colorLnet/minecraft/client/render/VertexConsumer;color(IIII)Lnet/minecraft/client/render/VertexConsumer;
-
texture
Specifies the texture element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLedw;a(FF)Ledw;intermediary method_22913Lnet/minecraft/class_4588;method_22913(FF)Lnet/minecraft/class_4588;named textureLnet/minecraft/client/render/VertexConsumer;texture(FF)Lnet/minecraft/client/render/VertexConsumer;
-
overlay
Specifies the overlay element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLedw;a(II)Ledw;intermediary method_22917Lnet/minecraft/class_4588;method_22917(II)Lnet/minecraft/class_4588;named overlayLnet/minecraft/client/render/VertexConsumer;overlay(II)Lnet/minecraft/client/render/VertexConsumer;
-
light
Specifies the light element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official bLedw;b(II)Ledw;intermediary method_22921Lnet/minecraft/class_4588;method_22921(II)Lnet/minecraft/class_4588;named lightLnet/minecraft/client/render/VertexConsumer;light(II)Lnet/minecraft/client/render/VertexConsumer;
-
normal
Specifies the normal element of the current vertex.- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official bLedw;b(FFF)Ledw;intermediary method_22914Lnet/minecraft/class_4588;method_22914(FFF)Lnet/minecraft/class_4588;named normalLnet/minecraft/client/render/VertexConsumer;normal(FFF)Lnet/minecraft/client/render/VertexConsumer;
-