Package net.minecraft.client.render
Interface BufferVertexConsumer
- All Superinterfaces:
VertexConsumer
- All Known Implementing Classes:
BufferBuilder
- Mappings:
Namespace Name intermediary net/minecraft/class_4584official ehynamed 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 intermediary method_22900Lnet/minecraft/class_4584;method_22900()Lnet/minecraft/class_296;official iLehy;i()Leih;named getCurrentElementLnet/minecraft/client/render/BufferVertexConsumer;getCurrentElement()Lnet/minecraft/client/render/VertexFormatElement;
-
nextElement
void nextElement()- Mappings:
Namespace Name Mixin selector intermediary method_1325Lnet/minecraft/class_4584;method_1325()Vofficial fLehy;f()Vnamed nextElementLnet/minecraft/client/render/BufferVertexConsumer;nextElement()V
-
putByte
void putByte(int index, byte value) - Mappings:
Namespace Name Mixin selector intermediary method_22896Lnet/minecraft/class_4584;method_22896(IB)Vofficial aLehy;a(IB)Vnamed putByteLnet/minecraft/client/render/BufferVertexConsumer;putByte(IB)V
-
putShort
void putShort(int index, short value) - Mappings:
Namespace Name Mixin selector intermediary method_22898Lnet/minecraft/class_4584;method_22898(IS)Vofficial aLehy;a(IS)Vnamed putShortLnet/minecraft/client/render/BufferVertexConsumer;putShort(IS)V
-
putFloat
void putFloat(int index, float value) - Mappings:
Namespace Name Mixin selector intermediary method_22897Lnet/minecraft/class_4584;method_22897(IF)Vofficial aLehy;a(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 intermediary method_22912Lnet/minecraft/class_4588;method_22912(DDD)Lnet/minecraft/class_4588;official aLeif;a(DDD)Leif;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 intermediary method_1336Lnet/minecraft/class_4588;method_1336(IIII)Lnet/minecraft/class_4588;official aLeif;a(IIII)Leif;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 intermediary method_22913Lnet/minecraft/class_4588;method_22913(FF)Lnet/minecraft/class_4588;official aLeif;a(FF)Leif;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 intermediary method_22917Lnet/minecraft/class_4588;method_22917(II)Lnet/minecraft/class_4588;official aLeif;a(II)Leif;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 intermediary method_22921Lnet/minecraft/class_4588;method_22921(II)Lnet/minecraft/class_4588;official bLeif;b(II)Leif;named lightLnet/minecraft/client/render/VertexConsumer;light(II)Lnet/minecraft/client/render/VertexConsumer;
-
uv
- Mappings:
Namespace Name Mixin selector intermediary method_22899Lnet/minecraft/class_4584;method_22899(SSI)Lnet/minecraft/class_4588;official aLehy;a(SSI)Leif;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 intermediary method_22914Lnet/minecraft/class_4588;method_22914(FFF)Lnet/minecraft/class_4588;official aLeif;a(FFF)Leif;named normalLnet/minecraft/client/render/VertexConsumer;normal(FFF)Lnet/minecraft/client/render/VertexConsumer;
-
packByte
static byte packByte(float f) - Mappings:
Namespace Name Mixin selector intermediary method_24212Lnet/minecraft/class_4584;method_24212(F)Bofficial aLehy;a(F)Bnamed packByteLnet/minecraft/client/render/BufferVertexConsumer;packByte(F)B
-