Package net.minecraft.client.render
Interface BufferVertexConsumer
- All Superinterfaces:
VertexConsumer
- All Known Implementing Classes:
BufferBuilder
- Mappings:
Namespace Name official eig
intermediary net/minecraft/class_4584
named net/minecraft/client/render/BufferVertexConsumer
-
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
-
Method Details
-
getCurrentElement
VertexFormatElement getCurrentElement()- Mappings:
Namespace Name Mixin selector official i
Leig;i()Leip;
intermediary method_22900
Lnet/minecraft/class_4584;method_22900()Lnet/minecraft/class_296;
named getCurrentElement
Lnet/minecraft/client/render/BufferVertexConsumer;getCurrentElement()Lnet/minecraft/client/render/VertexFormatElement;
-
nextElement
void nextElement()- Mappings:
Namespace Name Mixin selector official f
Leig;f()V
intermediary method_1325
Lnet/minecraft/class_4584;method_1325()V
named nextElement
Lnet/minecraft/client/render/BufferVertexConsumer;nextElement()V
-
putByte
void putByte(int index, byte value) - Mappings:
Namespace Name Mixin selector official a
Leig;a(IB)V
intermediary method_22896
Lnet/minecraft/class_4584;method_22896(IB)V
named putByte
Lnet/minecraft/client/render/BufferVertexConsumer;putByte(IB)V
-
putShort
void putShort(int index, short value) - Mappings:
Namespace Name Mixin selector official a
Leig;a(IS)V
intermediary method_22898
Lnet/minecraft/class_4584;method_22898(IS)V
named putShort
Lnet/minecraft/client/render/BufferVertexConsumer;putShort(IS)V
-
putFloat
void putFloat(int index, float value) - Mappings:
Namespace Name Mixin selector official a
Leig;a(IF)V
intermediary method_22897
Lnet/minecraft/class_4584;method_22897(IF)V
named putFloat
Lnet/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:
vertex
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official a
Lein;a(DDD)Lein;
intermediary method_22912
Lnet/minecraft/class_4588;method_22912(DDD)Lnet/minecraft/class_4588;
named vertex
Lnet/minecraft/client/render/VertexConsumer;vertex(DDD)Lnet/minecraft/client/render/VertexConsumer;
-
color
Specifies the color element of the current vertex.- Specified by:
color
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official a
Lein;a(IIII)Lein;
intermediary method_1336
Lnet/minecraft/class_4588;method_1336(IIII)Lnet/minecraft/class_4588;
named color
Lnet/minecraft/client/render/VertexConsumer;color(IIII)Lnet/minecraft/client/render/VertexConsumer;
-
texture
Specifies the texture element of the current vertex.- Specified by:
texture
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official a
Lein;a(FF)Lein;
intermediary method_22913
Lnet/minecraft/class_4588;method_22913(FF)Lnet/minecraft/class_4588;
named texture
Lnet/minecraft/client/render/VertexConsumer;texture(FF)Lnet/minecraft/client/render/VertexConsumer;
-
overlay
Specifies the overlay element of the current vertex.- Specified by:
overlay
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official a
Lein;a(II)Lein;
intermediary method_22917
Lnet/minecraft/class_4588;method_22917(II)Lnet/minecraft/class_4588;
named overlay
Lnet/minecraft/client/render/VertexConsumer;overlay(II)Lnet/minecraft/client/render/VertexConsumer;
-
light
Specifies the light element of the current vertex.- Specified by:
light
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official b
Lein;b(II)Lein;
intermediary method_22921
Lnet/minecraft/class_4588;method_22921(II)Lnet/minecraft/class_4588;
named light
Lnet/minecraft/client/render/VertexConsumer;light(II)Lnet/minecraft/client/render/VertexConsumer;
-
uv
- Mappings:
Namespace Name Mixin selector official a
Leig;a(SSI)Lein;
intermediary method_22899
Lnet/minecraft/class_4584;method_22899(SSI)Lnet/minecraft/class_4588;
named uv
Lnet/minecraft/client/render/BufferVertexConsumer;uv(SSI)Lnet/minecraft/client/render/VertexConsumer;
-
normal
Specifies the normal element of the current vertex.- Specified by:
normal
in interfaceVertexConsumer
- Returns:
- this consumer, for chaining
- Mappings:
Namespace Name Mixin selector official a
Lein;a(FFF)Lein;
intermediary method_22914
Lnet/minecraft/class_4588;method_22914(FFF)Lnet/minecraft/class_4588;
named normal
Lnet/minecraft/client/render/VertexConsumer;normal(FFF)Lnet/minecraft/client/render/VertexConsumer;
-
packByte
static byte packByte(float f) - Mappings:
Namespace Name Mixin selector official a
Leig;a(F)B
intermediary method_24212
Lnet/minecraft/class_4584;method_24212(F)B
named packByte
Lnet/minecraft/client/render/BufferVertexConsumer;packByte(F)B
-