Class BufferRenderer

java.lang.Object
net.minecraft.client.render.BufferRenderer

@Environment(CLIENT) public class BufferRenderer extends Object
Mappings:
Namespace Name
official dti
intermediary net/minecraft/class_286
named net/minecraft/client/render/BufferRenderer
  • Field Details

    • currentVertexArray

      private static int currentVertexArray
      Mappings:
      Namespace Name Mixin selector
      official a Ldti;a:I
      intermediary field_29331 Lnet/minecraft/class_286;field_29331:I
      named currentVertexArray Lnet/minecraft/client/render/BufferRenderer;currentVertexArray:I
    • currentVertexBuffer

      private static int currentVertexBuffer
      Mappings:
      Namespace Name Mixin selector
      official b Ldti;b:I
      intermediary field_29332 Lnet/minecraft/class_286;field_29332:I
      named currentVertexBuffer Lnet/minecraft/client/render/BufferRenderer;currentVertexBuffer:I
    • currentElementBuffer

      private static int currentElementBuffer
      Mappings:
      Namespace Name Mixin selector
      official c Ldti;c:I
      intermediary field_29333 Lnet/minecraft/class_286;field_29333:I
      named currentElementBuffer Lnet/minecraft/client/render/BufferRenderer;currentElementBuffer:I
    • vertexFormat

      @Nullable private static @Nullable VertexFormat vertexFormat
      Mappings:
      Namespace Name Mixin selector
      official d Ldti;d:Ldtr;
      intermediary field_29334 Lnet/minecraft/class_286;field_29334:Lnet/minecraft/class_293;
      named vertexFormat Lnet/minecraft/client/render/BufferRenderer;vertexFormat:Lnet/minecraft/client/render/VertexFormat;
  • Constructor Details

    • BufferRenderer

      public BufferRenderer()
  • Method Details

    • unbindAll

      public static void unbindAll()
      Mappings:
      Namespace Name Mixin selector
      official a Ldti;a()V
      intermediary method_34420 Lnet/minecraft/class_286;method_34420()V
      named unbindAll Lnet/minecraft/client/render/BufferRenderer;unbindAll()V
    • unbindElementBuffer

      public static void unbindElementBuffer()
      Mappings:
      Namespace Name Mixin selector
      official b Ldti;b()V
      intermediary method_34423 Lnet/minecraft/class_286;method_34423()V
      named unbindElementBuffer Lnet/minecraft/client/render/BufferRenderer;unbindElementBuffer()V
    • draw

      public static void draw(BufferBuilder bufferBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Ldti;a(Ldth;)V
      intermediary method_1309 Lnet/minecraft/class_286;method_1309(Lnet/minecraft/class_287;)V
      named draw Lnet/minecraft/client/render/BufferRenderer;draw(Lnet/minecraft/client/render/BufferBuilder;)V
    • draw

      private static void draw(ByteBuffer buffer, VertexFormat.DrawMode drawMode, VertexFormat vertexFormat, int count, VertexFormat.IntType elementFormat, int vertexCount, boolean textured)
      Mappings:
      Namespace Name Mixin selector
      official a Ldti;a(Ljava/nio/ByteBuffer;Ldtr$b;Ldtr;ILdtr$a;IZ)V
      intermediary method_34422 Lnet/minecraft/class_286;method_34422(Ljava/nio/ByteBuffer;Lnet/minecraft/class_293$class_5596;Lnet/minecraft/class_293;ILnet/minecraft/class_293$class_5595;IZ)V
      named draw Lnet/minecraft/client/render/BufferRenderer;draw(Ljava/nio/ByteBuffer;Lnet/minecraft/client/render/VertexFormat$DrawMode;Lnet/minecraft/client/render/VertexFormat;ILnet/minecraft/client/render/VertexFormat$IntType;IZ)V
    • postDraw

      public static void postDraw(BufferBuilder builder)
      Similar to a regular draw, however this method will skip rendering shaders.
      Mappings:
      Namespace Name Mixin selector
      official b Ldti;b(Ldth;)V
      intermediary method_34424 Lnet/minecraft/class_286;method_34424(Lnet/minecraft/class_287;)V
      named postDraw Lnet/minecraft/client/render/BufferRenderer;postDraw(Lnet/minecraft/client/render/BufferBuilder;)V
    • bind

      private static void bind(VertexFormat vertexFormat)
      Mappings:
      Namespace Name Mixin selector
      official a Ldti;a(Ldtr;)V
      intermediary method_34421 Lnet/minecraft/class_286;method_34421(Lnet/minecraft/class_293;)V
      named bind Lnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/render/VertexFormat;)V