i tried using it and fixing the errors, but ive never tried anything with OpenGL, so it created some errors
This is what the code it now: https://pastebin.com/ayFFV06m
and it gives an error at line 10: tess.begin(7, new VertexFormat());
and i think it would probably make some more errors with the code using the Tessellator