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 fgt
  • 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 Lfgt;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 Lfgt;c:Lfgt;
    • allocator

      private final BufferAllocator allocator
      Mappings:
      Namespace Name Mixin selector
      named allocator Lnet/minecraft/client/render/Tessellator;allocator:Lnet/minecraft/client/util/BufferAllocator;
      intermediary field_52098 Lnet/minecraft/class_289;field_52098:Lnet/minecraft/class_9799;
      official b Lfgt;b:Lfgo;
  • 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> Lfgt;<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 Lfgt;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 Lfgt;b()Lfgt;
    • begin

      public BufferBuilder begin(VertexFormat.DrawMode drawMode, VertexFormat format)
      Mappings:
      Namespace Name Mixin selector
      named begin Lnet/minecraft/client/render/Tessellator;begin(Lnet/minecraft/client/render/VertexFormat$DrawMode;Lnet/minecraft/client/render/VertexFormat;)Lnet/minecraft/client/render/BufferBuilder;
      intermediary method_60827 Lnet/minecraft/class_289;method_60827(Lnet/minecraft/class_293$class_5596;Lnet/minecraft/class_293;)Lnet/minecraft/class_287;
      official a Lfgt;a(Lfgw$c;Lfgw;)Lfgm;
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/render/Tessellator;clear()V
      intermediary method_60828 Lnet/minecraft/class_289;method_60828()V
      official c Lfgt;c()V