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
official eqd
intermediary net/minecraft/class_289
named net/minecraft/client/render/Tessellator
  • Field Details

    • field_46841

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

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

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

    • Tessellator

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

      public Tessellator()
  • Method Details

    • initialize

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

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

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

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