Interface BufferVertexConsumer

All Superinterfaces:
VertexConsumer
All Known Implementing Classes:
BufferBuilder

@Environment(CLIENT) public interface BufferVertexConsumer extends VertexConsumer
Mappings:
Namespace Name
named net/minecraft/client/render/BufferVertexConsumer
intermediary net/minecraft/class_4584
official ezw
  • 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 Lezw;j()Lfaf;
    • 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 Lezw;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 Lezw;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 Lezw;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 Lezw;a(IF)V
    • vertex

      default VertexConsumer vertex(double x, double y, double z)
      Specifies the position element of the current vertex.

      This is typically the first element in a vertex, hence the name.

      Specified by:
      vertex in interface VertexConsumer
      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 Lfad;a(DDD)Lfad;
    • color

      default VertexConsumer color(int red, int green, int blue, int alpha)
      Specifies the color element of the current vertex.
      Specified by:
      color in interface VertexConsumer
      Returns:
      this consumer, for chaining
      Throws:
      IllegalStateException - if this consumer is not currently accepting a color element or if a color has been set in VertexConsumer.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 Lfad;a(IIII)Lfad;
    • texture

      default VertexConsumer texture(float u, float v)
      Specifies the texture element of the current vertex.
      Specified by:
      texture in interface VertexConsumer
      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 Lfad;a(FF)Lfad;
    • overlay

      default VertexConsumer overlay(int u, int v)
      Specifies the overlay element of the current vertex.
      Specified by:
      overlay in interface VertexConsumer
      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 Lfad;a(II)Lfad;
    • light

      default VertexConsumer light(int u, int v)
      Specifies the light element of the current vertex.
      Specified by:
      light in interface VertexConsumer
      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 Lfad;b(II)Lfad;
    • uv

      default VertexConsumer uv(short u, short v, int index)
      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 Lezw;a(SSI)Lfad;
    • normal

      default VertexConsumer normal(float x, float y, float z)
      Specifies the normal element of the current vertex.
      Specified by:
      normal in interface VertexConsumer
      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 Lfad;a(FFF)Lfad;
    • 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 Lezw;a(F)B