getTileCoordinates(5, c);
tessellator.addVertexWithUV(0.5D, 0.5D, 0.5D, c[0], c[2]);
tessellator.addVertexWithUV(-0.5D, 0.5D, 0.5D, c[1], c[2]);
tessellator.addVertexWithUV(-0.5D, -0.5D, 0.5D, c[1], c[3]);
tessellator.addVertexWithUV(0.5D, -0.5D, 0.5D, c[0], c[3]);
tessellator.draw();
}
private static void getTileCoordinates(int tileNum, double[] c) {
c[0] = (double)(tileNum % 3) / 3.0D;
c[1] = c[0] + 0.3333333333333333D;