Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void renderIcons(int width, int height) {
- int sizeX = 22, sizeY = 82; //Size of bar
- int posX = width - sizeX;
- int posY = (height - sizeY) / 2;
- int i = 0;
- for(Icon icon : Mod.skillsList) {
- mc.renderEngine.bindTexture(icon.getTexture());
- drawModalRectWithCustomSizedTexture(posX + 3, posY + 3 + (18 + 2 * i), 0, 0, 16, 16, 16, 16);
- //drawTexturedModalRect();
- i++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement