package net.minecraft.realms;

import com.mojang.blaze3d.vertex.Tesselator;

public class Tezzelator {
    public static final Tesselator t;
    public static final Tezzelator instance;
    
    public void end() {
        Tezzelator.t.end();
    }
    
    public Tezzelator vertex(final double double1, final double double2, final double double3) {
        Tezzelator.t.getBuilder().vertex(double1, double2, double3);
        return this;
    }
    
    public void begin(final int integer, final RealmsVertexFormat realmsVertexFormat) {
        Tezzelator.t.getBuilder().begin(integer, realmsVertexFormat.getVertexFormat());
    }
    
    public void endVertex() {
        Tezzelator.t.getBuilder().endVertex();
    }
    
    public Tezzelator color(final int integer1, final int integer2, final int integer3, final int integer4) {
        Tezzelator.t.getBuilder().color(integer1, integer2, integer3, integer4);
        return this;
    }
    
    public Tezzelator tex(final float float1, final float float2) {
        Tezzelator.t.getBuilder().uv(float1, float2);
        return this;
    }
    
    static {
        t = Tesselator.getInstance();
        instance = new Tezzelator();
    }
}
