Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Zebo1

Members
  • Joined

  • Last visited

  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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.