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.

Kel

Members
  • Joined

  • Last visited

  1. Thank you Ernio, but I'm still a little confused on some things. First, to clarify, I'm assuming when you said I wasn't overriding the "real" method that you were referring to the ones in GuiHandler.java. Am I correct in this assumption or were you talking about something else? Second, I made the last change that you suggested about running player.openGui() on !world.isRemote instead. Lastly though, I understand what you're saying by your "2nd mistake" but I'm unsure what you're instructing me to do by informing me of this. If you could get back to me sometime soon, that would be fantastic. Thank you very much Ernio
  2. I have written code for a block that acts somewhat like a furnace. I will edit how it works once I get the gui running, but for now I am having trouble getting the gui to open. The game starts up properly, and will load the world, but when I click the block it doesn't run onBlockActivated from what I can tell. I don't get a crash as well, so I think it isn't running the code to open the gui. I have included every relevant class. Any help would be appreciated. All files are on the github Focus is on BasicCrusher, Intricateoreprocessing, and GuiHandler. GITHUB LINK: https://github.com/KelCo/CodeHelp

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.