Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. private void renderIcons(int width, int height) {
  2. int sizeX = 22, sizeY = 82; //Size of bar
  3. int posX = width - sizeX;
  4. int posY = (height - sizeY) / 2;
  5.  
  6. int i = 0;
  7. for(Icon icon : Mod.skillsList) {
  8. mc.renderEngine.bindTexture(icon.getTexture());
  9. drawModalRectWithCustomSizedTexture(posX + 3, posY + 3 + (18 + 2 * i), 0, 0, 16, 16, 16, 16);
  10. //drawTexturedModalRect();
  11. i++;
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement