Package net.minecraft.client.render
Interface BufferVertexConsumer
- All Superinterfaces:
VertexConsumer
- All Known Implementing Classes:
BufferBuilder
- Mappings:
Namespace Name official ehyintermediary net/minecraft/class_4584named net/minecraft/client/render/BufferVertexConsumer
-
Method Summary
Modifier and TypeMethodDescriptiondefault VertexConsumercolor(int red, int green, int blue, int alpha) Specifies the color element of the current vertex.default VertexConsumerlight(int u, int v) Specifies the light element of the current vertex.voiddefault VertexConsumernormal(float x, float y, float z) Specifies the normal element of the current vertex.default VertexConsumeroverlay(int u, int v) Specifies the overlay element of the current vertex.static bytepackByte(float f) voidputByte(int index, byte value) voidputFloat(int index, float value) voidputShort(int index, short value) default VertexConsumertexture(float u, float v) Specifies the texture element of the current vertex.default VertexConsumeruv(short u, short v, int index) default VertexConsumervertex(double x, double y, double z) Specifies the position element of the current vertex.Methods inherited from interface net.minecraft.client.render.VertexConsumer
color, color, fixedColor, light, next, normal, overlay, quad, quad, unfixColor, vertex, vertex
-
Method Details
-
getCurrentElement
VertexFormatElement getCurrentElement()- Mappings:
Namespace Name Mixin selector official iLehy;i()Leih;intermediary method_22900Lnet/minecraft/class_4584;method_22900()Lnet/minecraft/class_296;named getCurrentElementLnet/minecraft/client/render/BufferVertexConsumer;getCurrentElement()Lnet/minecraft/client/render/VertexFormatElement;
-
nextElement
void nextElement()- Mappings:
Namespace Name Mixin selector official fLehy;f()Vintermediary method_1325Lnet/minecraft/class_4584;method_1325()Vnamed nextElementLnet/minecraft/client/render/BufferVertexConsumer;nextElement()V
-
putByte
void putByte(int index, byte value) - Mappings:
Namespace Name Mixin selector official aLehy;a(IB)Vintermediary method_22896Lnet/minecraft/class_4584;method_22896(IB)Vnamed putByteLnet/minecraft/client/render/BufferVertexConsumer;putByte(IB)V
-
putShort
void putShort(int index, short value) - Mappings:
Namespace Name Mixin selector official aLehy;a(IS)Vintermediary method_22898Lnet/minecraft/class_4584;method_22898(IS)Vnamed putShortLnet/minecraft/client/render/BufferVertexConsumer;putShort(IS)V
-
putFloat
void putFloat(int index, float value) - Mappings:
Namespace Name Mixin selector official aLehy;a(IF)Vintermediary method_22897Lnet/minecraft/class_4584;method_22897(IF)Vnamed putFloatLnet/minecraft/client/render/BufferVertexConsumer;putFloat(IF)V
-
vertex
Specifies the position element of the current vertex.This is typically the first element in a vertex, hence the name.
- Specified by:
vertexin interfaceVertexConsumer- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLeif;a(DDD)Leif;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.- Specified by:
colorin interfaceVertexConsumer- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLeif;a(IIII)Leif;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.- Specified by:
texturein interfaceVertexConsumer- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLeif;a(FF)Leif;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.- Specified by:
overlayin interfaceVertexConsumer- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLeif;a(II)Leif;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.- Specified by:
lightin interfaceVertexConsumer- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official bLeif;b(II)Leif;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;
-
uv
- Mappings:
Namespace Name Mixin selector official aLehy;a(SSI)Leif;intermediary method_22899Lnet/minecraft/class_4584;method_22899(SSI)Lnet/minecraft/class_4588;named uvLnet/minecraft/client/render/BufferVertexConsumer;uv(SSI)Lnet/minecraft/client/render/VertexConsumer;
-
normal
Specifies the normal element of the current vertex.- Specified by:
normalin interfaceVertexConsumer- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official aLeif;a(FFF)Leif;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;
-
packByte
static byte packByte(float f) - Mappings:
Namespace Name Mixin selector official aLehy;a(F)Bintermediary method_24212Lnet/minecraft/class_4584;method_24212(F)Bnamed packByteLnet/minecraft/client/render/BufferVertexConsumer;packByte(F)B
-