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.

Featured Replies

Posted

How could I disable the game's Health and Hunger Gui. As I understand it, I need to use ForgeIngameGui, but I don't know how to proceed after that.

 

Sorry for any typos, my English is not the best.

  • Author

I am really far from mastering java so if you can show me the code (how you use it) it would be really cool

  • Author

public static void eventHandler(RenderGameOverlayEvent event) {

if (event.getType() == RenderGameOverlayEvent.ElementType.HEALTH){ event.setcancelled(true);} }

 

unfortunately this code does not work anymore

  • Author

public class RemoveAllBarsOverlay { @SubscribeEvent(priority = EventPriority.NORMAL) public static void IIngameOverlay(RenderGameOverlayEvent Gui) { OverlayRegistry.enableOverlay(ForgeIngameGui.PLAYER_HEALTH_ELEMENT, enable); } }

Edited by Dreyka Oas

  • Author

public static void IIngameOverlay(RenderGameOverlayEvent Gui) { OverlayRegistry.enableOverlay(ForgeIngameGui.PLAYER_HEALTH_ELEMENT, false); }

 

 

this working yeeeesss

  • Author

as long as it works, I'm fine (ps: I'm under MCreator, forge works fine under this software)

Edited by Dreyka Oas
bug

  • Guest locked this topic
Guest
This topic is now closed to further replies.

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.