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.

Bets

Members
  • Joined

  • Last visited

Everything posted by Bets

  1. The centering works, I want to position the text above the hotbar, like where the food levels and hp are
  2. That's how you get the horizontal center, it works fine. I need the vertical position that doesn't work because it always changes mc.ingameGUI.drawCenteredString(mc.fontRendererObj, context, mc.displayWidth / 4, mc.displayHeight - 400, 0xFFFFFF);
  3. Hi guys! I'm trying to display text at the center of the screen above the hotbar by using ingameGUI.drawCenteredString. I managed to get the horizontal center of the screen by: mc.displayWidth / 4 It does the job pretty well. Now, I am trying to position it vertically a little bit above the hotbar. The problem is it always moves when I change the resolution of the screen, this is what I tried doing: mc.displayHeight - 100 This is just an example, it actually is not in the screen when I do this, but you get it. So do any of you guys know how can I make it position itself exactly above the hotbar? I'll appreciate it very much

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.