I edited my code so now it looks like
glColor3f(1f, 1f, 1f);
glBegin(GL_QUADS);
glTexCoord2f(0f, 0f);
glVertex3f(1f, 0f, 0f);
glTexCoord2f(1f, 0f);
glVertex3f(0f, 0f, 0f);
glTexCoord2f(1f, 1f);
glVertex3f(0f, 1f, 0f);
glTexCoord2f(0f, 1f);
glVertex3f(1f, 1f, 0f);
glEnd();
but i get the same results. I've also tried with Tessellator.addVertexWithUV() and Tessellator.setTranslation() but with weird results: GUI shifted, slimes flying and my block isnt rendering
I'm sure it contains the correct texture, because the background is cleared in a rainbow, but over that rainbow there should be a yellow rectangle:
glColor4f(1f, 1f, 0, 0f);
glBegin(GL_QUADS);
glVertex3f(0.8f, 0.2f, 1f);
glVertex3f(0.2f, 0.2f, 1f);
glVertex3f(0.2f, 0.8f, 1f);
glVertex3f(0.8f, 0.8f, 1f);
glEnd();