Package net.minecraft.client.render
Class Tessellator
java.lang.Object
net.minecraft.client.render.Tessellator
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 eas
intermediary net/minecraft/class_289
named net/minecraft/client/render/Tessellator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BufferBuilder
private static final int
private static final int
private static final Tessellator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
Draws the contents of the buffer builder using the shader specified withRenderSystem#setShader
.static Tessellator
-
Field Details
-
field_32051
private static final int field_32051- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leas;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
Leas;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
- Mappings:
Namespace Name Mixin selector official d
Leas;d:Leas;
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
- Mappings:
Namespace Name Mixin selector official c
Leas;c:Leal;
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>
Leas;<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
- Mappings:
Namespace Name Mixin selector official a
Leas;a()Leas;
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 specified withRenderSystem#setShader
.- Mappings:
Namespace Name Mixin selector official b
Leas;b()V
intermediary method_1350
Lnet/minecraft/class_289;method_1350()V
named draw
Lnet/minecraft/client/render/Tessellator;draw()V
-
getBuffer
- Mappings:
Namespace Name Mixin selector official c
Leas;c()Leal;
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;
-