I am trying to make some rendering stuf, unfortunatly I have little idea what to do.
So I tried
Tessellator tesselator = RenderSystem.renderThreadTesselator();
BufferBuilder b = tesselator.getBuffer();
b.begin(VertexFormat.DrawMode.DEBUG_LINES,
VertexFormats.POSITION);
b.vertex(1, 2, 1);
b.vertex(2, 1, 2);
b.next();
tesselator.draw();
But not much happened
I figure this is supposed to be ran on a loop.
What callback am I supposed to use?
I want to make lines that show up in front of stuff and apear in the minecraft world, meaning I can go around it.