Class Tessellator

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

@Environment(CLIENT) public class Tessellator extends Object
Holding a single instance of BufferBuilder.

This class reuses the buffer builder so a buffer doesn't have to be allocated every time.

Mappings:
Namespace Name
named net/minecraft/client/render/Tessellator
intermediary net/minecraft/class_289
official fab
  • Field Details

    • field_46841

      private static final int field_46841
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46841 Lnet/minecraft/client/render/Tessellator;field_46841:I
      intermediary field_46841 Lnet/minecraft/class_289;field_46841:I
      official a Lfab;a:I
    • INSTANCE

      @Nullable private static @Nullable Tessellator INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/client/render/Tessellator;INSTANCE:Lnet/minecraft/client/render/Tessellator;
      intermediary field_1573 Lnet/minecraft/class_289;field_1573:Lnet/minecraft/class_289;
      official c Lfab;c:Lfab;
    • buffer

      private final BufferBuilder buffer
      Mappings:
      Namespace Name Mixin selector
      named buffer Lnet/minecraft/client/render/Tessellator;buffer:Lnet/minecraft/client/render/BufferBuilder;
      intermediary field_1574 Lnet/minecraft/class_289;field_1574:Lnet/minecraft/class_287;
      official b Lfab;b:Lezu;
  • Constructor Details

    • Tessellator

      public Tessellator(int bufferCapacity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/Tessellator;<init>(I)V
      intermediary <init> Lnet/minecraft/class_289;<init>(I)V
      official <init> Lfab;<init>(I)V
    • Tessellator

      public Tessellator()
  • Method Details

    • initialize

      public static void initialize()
      Mappings:
      Namespace Name Mixin selector
      named initialize Lnet/minecraft/client/render/Tessellator;initialize()V
      intermediary method_54560 Lnet/minecraft/class_289;method_54560()V
      official a Lfab;a()V
    • getInstance

      public static Tessellator getInstance()
      Mappings:
      Namespace Name Mixin selector
      named getInstance Lnet/minecraft/client/render/Tessellator;getInstance()Lnet/minecraft/client/render/Tessellator;
      intermediary method_1348 Lnet/minecraft/class_289;method_1348()Lnet/minecraft/class_289;
      official b Lfab;b()Lfab;
    • draw

      public void draw()
      Draws the contents of the buffer builder using the shader program specified with RenderSystem#setShader.
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/render/Tessellator;draw()V
      intermediary method_1350 Lnet/minecraft/class_289;method_1350()V
      official c Lfab;c()V
    • getBuffer

      public BufferBuilder getBuffer()
      Mappings:
      Namespace Name Mixin selector
      named getBuffer Lnet/minecraft/client/render/Tessellator;getBuffer()Lnet/minecraft/client/render/BufferBuilder;
      intermediary method_1349 Lnet/minecraft/class_289;method_1349()Lnet/minecraft/class_287;
      official d Lfab;d()Lezu;