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

    • field_32051

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

      private static final int DEFAULT_BUFFER_CAPACITY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leil;b:I
      intermediary field_32052 Lnet/minecraft/class_289;field_32052:I
      named DEFAULT_BUFFER_CAPACITY Lnet/minecraft/client/render/Tessellator;DEFAULT_BUFFER_CAPACITY:I
    • INSTANCE

      private static final Tessellator INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official d Leil;d:Leil;
      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 c Leil;c:Leie;
      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> Leil;<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

    • getInstance

      public static Tessellator getInstance()
      Mappings:
      Namespace Name Mixin selector
      official a Leil;a()Leil;
      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 b Leil;b()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 c Leil;c()Leie;
      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;