Package net.minecraft.client.render
Interface BufferVertexConsumer
- All Superinterfaces:
VertexConsumer
- All Known Implementing Classes:
BufferBuilder
- Mappings:
Namespace Name named net/minecraft/client/render/BufferVertexConsumer
intermediary net/minecraft/class_4584
official ezx
-
Method Summary
Modifier and TypeMethodDescriptiondefault VertexConsumer
color
(int red, int green, int blue, int alpha) Specifies the color element of the current vertex.default VertexConsumer
light
(int u, int v) Specifies the light element of the current vertex.void
default VertexConsumer
normal
(float x, float y, float z) Specifies the normal element of the current vertex.default VertexConsumer
overlay
(int u, int v) Specifies the overlay element of the current vertex.static byte
packByte
(float f) void
putByte
(int index, byte value) void
putFloat
(int index, float value) void
putShort
(int index, short value) default VertexConsumer
texture
(float u, float v) Specifies the texture element of the current vertex.default VertexConsumer
uv
(short u, short v, int index) default VertexConsumer
vertex
(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 getCurrentElement
Lnet/minecraft/client/render/BufferVertexConsumer;getCurrentElement()Lnet/minecraft/client/render/VertexFormatElement;
intermediary method_22900
Lnet/minecraft/class_4584;method_22900()Lnet/minecraft/class_296;
official j
Lezx;j()Lfag;
-
nextElement
void nextElement()- Mappings:
Namespace Name Mixin selector named nextElement
Lnet/minecraft/client/render/BufferVertexConsumer;nextElement()V
intermediary method_1325
Lnet/minecraft/class_4584;method_1325()V
official f
Lezx;f()V
-
putByte
void putByte(int index, byte value) - Mappings:
Namespace Name Mixin selector named putByte
Lnet/minecraft/client/render/BufferVertexConsumer;putByte(IB)V
intermediary method_22896
Lnet/minecraft/class_4584;method_22896(IB)V
official a
Lezx;a(IB)V
-
putShort
void putShort(int index, short value) - Mappings:
Namespace Name Mixin selector named putShort
Lnet/minecraft/client/render/BufferVertexConsumer;putShort(IS)V
intermediary method_22898
Lnet/minecraft/class_4584;method_22898(IS)V
official a
Lezx;a(IS)V
-
putFloat
void putFloat(int index, float value) - Mappings:
Namespace Name Mixin selector named putFloat
Lnet/minecraft/client/render/BufferVertexConsumer;putFloat(IF)V
intermediary method_22897
Lnet/minecraft/class_4584;method_22897(IF)V
official a
Lezx;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:
vertex
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a position element.- Mappings:
Namespace Name Mixin selector named vertex
Lnet/minecraft/client/render/VertexConsumer;vertex(DDD)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22912
Lnet/minecraft/class_4588;method_22912(DDD)Lnet/minecraft/class_4588;
official a
Lfae;a(DDD)Lfae;
-
color
Specifies the color element of the current vertex.- Specified by:
color
in 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 color
Lnet/minecraft/client/render/VertexConsumer;color(IIII)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_1336
Lnet/minecraft/class_4588;method_1336(IIII)Lnet/minecraft/class_4588;
official a
Lfae;a(IIII)Lfae;
-
texture
Specifies the texture element of the current vertex.- Specified by:
texture
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a texture element.- Mappings:
Namespace Name Mixin selector named texture
Lnet/minecraft/client/render/VertexConsumer;texture(FF)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22913
Lnet/minecraft/class_4588;method_22913(FF)Lnet/minecraft/class_4588;
official a
Lfae;a(FF)Lfae;
-
overlay
Specifies the overlay element of the current vertex.- Specified by:
overlay
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting an overlay element.- Mappings:
Namespace Name Mixin selector named overlay
Lnet/minecraft/client/render/VertexConsumer;overlay(II)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22917
Lnet/minecraft/class_4588;method_22917(II)Lnet/minecraft/class_4588;
official a
Lfae;a(II)Lfae;
-
light
Specifies the light element of the current vertex.- Specified by:
light
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a light element.- Mappings:
Namespace Name Mixin selector named light
Lnet/minecraft/client/render/VertexConsumer;light(II)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22921
Lnet/minecraft/class_4588;method_22921(II)Lnet/minecraft/class_4588;
official b
Lfae;b(II)Lfae;
-
uv
- Mappings:
Namespace Name Mixin selector named uv
Lnet/minecraft/client/render/BufferVertexConsumer;uv(SSI)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22899
Lnet/minecraft/class_4584;method_22899(SSI)Lnet/minecraft/class_4588;
official a
Lezx;a(SSI)Lfae;
-
normal
Specifies the normal element of the current vertex.- Specified by:
normal
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Throws:
IllegalStateException
- if this consumer is not currently accepting a normal element.- Mappings:
Namespace Name Mixin selector named normal
Lnet/minecraft/client/render/VertexConsumer;normal(FFF)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_22914
Lnet/minecraft/class_4588;method_22914(FFF)Lnet/minecraft/class_4588;
official a
Lfae;a(FFF)Lfae;
-
packByte
static byte packByte(float f) - Mappings:
Namespace Name Mixin selector named packByte
Lnet/minecraft/client/render/BufferVertexConsumer;packByte(F)B
intermediary method_24212
Lnet/minecraft/class_4584;method_24212(F)B
official a
Lezx;a(F)B
-