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 eqdintermediary net/minecraft/class_289named net/minecraft/client/render/Tessellator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BufferBuilderprivate static final intprivate static @Nullable Tessellator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw()Draws the contents of the buffer builder using the shader program specified withRenderSystem#setShader.static Tessellatorstatic void
-
Field Details
-
field_46841
private static final int field_46841- See Also:
- Mappings:
Namespace Name Mixin selector official aLeqd;a:Iintermediary field_46841Lnet/minecraft/class_289;field_46841:Inamed field_46841Lnet/minecraft/client/render/Tessellator;field_46841:I
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official cLeqd;c:Leqd;intermediary field_1573Lnet/minecraft/class_289;field_1573:Lnet/minecraft/class_289;named INSTANCELnet/minecraft/client/render/Tessellator;INSTANCE:Lnet/minecraft/client/render/Tessellator;
-
buffer
- Mappings:
Namespace Name Mixin selector official bLeqd;b:Lepw;intermediary field_1574Lnet/minecraft/class_289;field_1574:Lnet/minecraft/class_287;named bufferLnet/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)Vintermediary <init>Lnet/minecraft/class_289;<init>(I)Vnamed <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 aLeqd;a()Vintermediary method_54560Lnet/minecraft/class_289;method_54560()Vnamed initializeLnet/minecraft/client/render/Tessellator;initialize()V
-
getInstance
- Mappings:
Namespace Name Mixin selector official bLeqd;b()Leqd;intermediary method_1348Lnet/minecraft/class_289;method_1348()Lnet/minecraft/class_289;named getInstanceLnet/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 withRenderSystem#setShader.- Mappings:
Namespace Name Mixin selector official cLeqd;c()Vintermediary method_1350Lnet/minecraft/class_289;method_1350()Vnamed drawLnet/minecraft/client/render/Tessellator;draw()V
-
getBuffer
- Mappings:
Namespace Name Mixin selector official dLeqd;d()Lepw;intermediary method_1349Lnet/minecraft/class_289;method_1349()Lnet/minecraft/class_287;named getBufferLnet/minecraft/client/render/Tessellator;getBuffer()Lnet/minecraft/client/render/BufferBuilder;
-