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 eidintermediary net/minecraft/class_289named net/minecraft/client/render/Tessellator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BufferBuilderprivate static final intprivate static final intprivate static final Tessellator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw()Draws the contents of the buffer builder using the shader program specified withRenderSystem#setShader.static Tessellator
-
Field Details
-
field_32051
private static final int field_32051- See Also:
- Mappings:
Namespace Name Mixin selector official aLeid;a:Iintermediary field_32051Lnet/minecraft/class_289;field_32051:Inamed field_32051Lnet/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 bLeid;b:Iintermediary field_32052Lnet/minecraft/class_289;field_32052:Inamed DEFAULT_BUFFER_CAPACITYLnet/minecraft/client/render/Tessellator;DEFAULT_BUFFER_CAPACITY:I
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official dLeid;d:Leid;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 cLeid;c:Lehw;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>Leid;<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
-
getInstance
- Mappings:
Namespace Name Mixin selector official aLeid;a()Leid;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 bLeid;b()Vintermediary method_1350Lnet/minecraft/class_289;method_1350()Vnamed drawLnet/minecraft/client/render/Tessellator;draw()V
-
getBuffer
- Mappings:
Namespace Name Mixin selector official cLeid;c()Lehw;intermediary method_1349Lnet/minecraft/class_289;method_1349()Lnet/minecraft/class_287;named getBufferLnet/minecraft/client/render/Tessellator;getBuffer()Lnet/minecraft/client/render/BufferBuilder;
-