Package net.minecraft.client.render
Interface BufferVertexConsumer
- All Superinterfaces:
VertexConsumer
- All Known Implementing Classes:
BufferBuilder
- Mappings:
Namespace Name named net/minecraft/client/render/BufferVertexConsumerintermediary net/minecraft/class_4584official ezu
-
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, vertex
-
Method Details
-
getCurrentElement
VertexFormatElement getCurrentElement()- Mappings:
Namespace Name Mixin selector named getCurrentElementLnet/minecraft/client/render/BufferVertexConsumer;getCurrentElement()Lnet/minecraft/client/render/VertexFormatElement;intermediary method_22900Lnet/minecraft/class_4584;method_22900()Lnet/minecraft/class_296;official jLezu;j()Lfad;
-
nextElement
void nextElement()- Mappings:
Namespace Name Mixin selector named nextElementLnet/minecraft/client/render/BufferVertexConsumer;nextElement()Vintermediary method_1325Lnet/minecraft/class_4584;method_1325()Vofficial fLezu;f()V
-
putByte
void putByte(int index, byte value) - Mappings:
Namespace Name Mixin selector named putByteLnet/minecraft/client/render/BufferVertexConsumer;putByte(IB)Vintermediary method_22896Lnet/minecraft/class_4584;method_22896(IB)Vofficial aLezu;a(IB)V
-
putShort
void putShort(int index, short value) - Mappings:
Namespace Name Mixin selector named putShortLnet/minecraft/client/render/BufferVertexConsumer;putShort(IS)Vintermediary method_22898Lnet/minecraft/class_4584;method_22898(IS)Vofficial aLezu;a(IS)V
-
putFloat
void putFloat(int index, float value) - Mappings:
Namespace Name Mixin selector named putFloatLnet/minecraft/client/render/BufferVertexConsumer;putFloat(IF)Vintermediary method_22897Lnet/minecraft/class_4584;method_22897(IF)Vofficial aLezu;a(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
- 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 aLfab;a(DDD)Lfab;
-
color
Specifies the color element of the current vertex.- Specified by:
colorin interfaceVertexConsumer- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException- if this consumer is not currently accepting a color element or if a color has been set inVertexConsumer.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 aLfab;a(IIII)Lfab;
-
texture
Specifies the texture element of the current vertex.- Specified by:
texturein interfaceVertexConsumer- 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 aLfab;a(FF)Lfab;
-
overlay
Specifies the overlay element of the current vertex.- Specified by:
overlayin interfaceVertexConsumer- 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 aLfab;a(II)Lfab;
-
light
Specifies the light element of the current vertex.- Specified by:
lightin interfaceVertexConsumer- 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 bLfab;b(II)Lfab;
-
uv
- Mappings:
Namespace Name Mixin selector named uvLnet/minecraft/client/render/BufferVertexConsumer;uv(SSI)Lnet/minecraft/client/render/VertexConsumer;intermediary method_22899Lnet/minecraft/class_4584;method_22899(SSI)Lnet/minecraft/class_4588;official aLezu;a(SSI)Lfab;
-
normal
Specifies the normal element of the current vertex.- Specified by:
normalin interfaceVertexConsumer- 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 aLfab;a(FFF)Lfab;
-
packByte
static byte packByte(float f) - Mappings:
Namespace Name Mixin selector named packByteLnet/minecraft/client/render/BufferVertexConsumer;packByte(F)Bintermediary method_24212Lnet/minecraft/class_4584;method_24212(F)Bofficial aLezu;a(F)B
-