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.

_Beau

Members
  • Joined

  • Last visited

  1. Manually releasing and grabbing the mouse seems to have done the trick. I'm doing it quite simply- not sure if using these methods outside a vanilla context could have any weird side effects. public void setActive(boolean active) { if(active) { Minecraft.getInstance().mouseHandler.releaseMouse(); } else { Minecraft.getInstance().mouseHandler.grabMouse(); } this.active = active; }
  2. After a bit more of a dive through the code I've figured out roughly how player movement inputs are interrupted by screens and it's looking like it would require a mixin to unlock movement for my radial menu if it's implemented as a screen. Will investigate the idea of an overlay and manually releasing the mouse for menu selection.
  3. Hi- I'm developing a small mod where the player will have access to a range of abilities and, to keep the keybind clutter down, I've decided to implement a single keybind that will trigger a radial menu for ability selection. Normally I'd just make a Screen for this, but I'd like to let keyboard input pass since the radial menu itself won't use any keybinds and allowing the player to move while in the menu will be quite nice. Thus my question: Is there a way to let keyboard input pass a Screen? Or should I make an IIngameOverlay and manually releaseMouse() for the selection? I've tried setting Screen.passEvents to true, but I don't think I read its usages in the code properly since it doesn't seem to allow the player to move while in the screen. Thanks.

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.