Jump to content

Zebo1

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Zebo1

  1. Thanks! Im going to try this right now. I just hope the methods are still similar because 1.7 changed a lot of this stuff. EDIT: Thanks so much! it works great!!!
  2. I'm having trouble getting the texture of the current item selected in my hotbar and rendering it to the screen. I've tried several different methods but I can't seem to figure it out. Every time I run the code (assuming it doesn't error out) it renders a random character instead of the texture (Like an "F" or an "%") the IIcon variable is not null (tested with system.out.println(), it shows the correct item) this.drawTexturedModelRectFromIcon(175, 175, this.mc.thePlayer.inventory.mainInventory[this.mc.thePlayer.inventory.currentItem].getIconIndex(), 16, 16); (Code I was using to render to screen) EDIT: ive also tried the forge wiki's tutorial on rendering 2d items to screen. It has the same result.
  3. Can someone tell me a way to re position that chat box? (There may be something really simple that im missing but I cant figure it out) Essentials my mod replaces minecraft's Hud with a Halo style hud. However the chatbox gets hidden behind the overlay. So... can someone tell me a way to re position that chat box? (All I need to do is move it up) (There may be something really simple that im missing but I cant figure it out) Thanks in advance for the help!
  4. thanks for the help! its working now!
  5. My mod implements a halo style gui for minecraft. However the methods I used wont render the image ingame. Im using the exact same method used by the pumpkin blur. The code calls the method (Which ive tested by putting a system.out.println("test") in the method). T he the program also seems to find the image file. (Ive tested it by using an incorrect image location and it responds with the missing image error) So im not sure what time doing wrong. (I know my code has a lot of unused import, im going to clean those up once this issue is fixed) Attached Code: HaloHUD class (FML start class) HaloRender Class
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.