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.

thejereman13

Members
  • Joined

  • Last visited

Everything posted by thejereman13

  1. Yes, removing my InitGui() override fixed it as far as I can tell, will do some more testing when I'm home. I must have had that left over from some testing with sliders earlier. Thank you very much.
  2. So, I simply can not seem to get my container slots to link up with the GUI I'm working on. It seems that when using addSlotToContainer() (correct as far as I can tell), it is just putting the slot at absolute coordinate values on the screen, which of course does not work with different screen sizes. I am aware that the slots should be relative to the GUI image itself so that it scales correctly, but every tutorial I have found gives me the same code, which of course isn't working for me. I'm assuming that I am either just missing something, or am going about this wrong. I am only adding the player's hotbar slots until I can get this working, but even with them in the wrong position, they aren't working anyway (e.g. picking up items out of the slots). For Reference: TileEntityArmorWorkbench GuiArmorWorkbench ContainerArmorWorkbench ArmorWorkbench (block class) Gui Handler Thanks in advance!

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.