Interface IVertexConsumer

All Superinterfaces:
IForgeVertexBuilder, IVertexBuilder
All Known Implementing Classes:
BufferBuilder

public interface IVertexConsumer extends IVertexBuilder
  • Method Details

    • currentElement

      VertexFormatElement currentElement()
    • nextElement

      void nextElement()
    • putByte

      void putByte(int p_225589_1_, byte p_225589_2_)
    • putShort

      void putShort(int p_225591_1_, short p_225591_2_)
    • putFloat

      void putFloat(int p_225590_1_, float p_225590_2_)
    • vertex

      default IVertexBuilder vertex(double p_225582_1_, double p_225582_3_, double p_225582_5_)
      Specified by:
      vertex in interface IVertexBuilder
    • color

      default IVertexBuilder color(int p_225586_1_, int p_225586_2_, int p_225586_3_, int p_225586_4_)
      Specified by:
      color in interface IVertexBuilder
    • uv

      default IVertexBuilder uv(float p_225583_1_, float p_225583_2_)
      Specified by:
      uv in interface IVertexBuilder
    • overlayCoords

      default IVertexBuilder overlayCoords(int p_225585_1_, int p_225585_2_)
      Specified by:
      overlayCoords in interface IVertexBuilder
    • uv2

      default IVertexBuilder uv2(int p_225587_1_, int p_225587_2_)
      Specified by:
      uv2 in interface IVertexBuilder
    • uvShort

      default IVertexBuilder uvShort(short p_227847_1_, short p_227847_2_, int p_227847_3_)
    • normal

      default IVertexBuilder normal(float p_225584_1_, float p_225584_2_, float p_225584_3_)
      Specified by:
      normal in interface IVertexBuilder
    • normalIntValue

      static byte normalIntValue(float p_227846_0_)