Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (String[] solved : AspectCalculation.solvedIssues) { //
- // System.out.println(posX + "/" + posY);
- int aspects = solved.length;
- int overallSpaces = aspects + aspects - 1;
- for (int y = 0; y < aspects; y++) {
- Aspect as = AspectCalculation.map.get(solved[y]);
- Color c = new Color(as.getColor());
- int red = c.getRed();
- int green = c.getGreen();
- int blue = c.getBlue();
- GL11.glEnable(GL11.GL_BLEND);
- GL11.glDepthMask(false);
- GlStateManager.color(red, green, blue);
- mc.getTextureManager().bindTexture(as.getImage());
- drawModalRectWithCustomSizedTexture((posX - (aspects - y) * 32), posY, 0, 0, 16, 16, 16, 16);
- if (y != aspects - 1) {
- GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f);
- mc.getTextureManager().bindTexture(tchelperRight);
- drawModalRectWithCustomSizedTexture((posX - ((aspects - y) * 32) + 16), posY, 0, 0, 16, 16, 16, 16);
- }
- GL11.glDisable(GL11.GL_BLEND);
- GL11.glDepthMask(true);
- }
- posY = posY + 20;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement