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.

DisBeGee

Members
  • Joined

  • Last visited

  1. Hi, looking through the available functions and such, back in 1.12 there was a Mouse class that provided lots of functionality for interacting with the mouse cursor. Right now, it looks like they've taken that class out and now we have MouseHelper and KeyboardListener. Is there any replacement methods or objects for the old Mouse functionality (such as setCursorPosition() or clickMouse())? I have a call right now for clickmouse, it goes mc.keyboardListener.onKeyEvent(mc.mainWindow.getHandle(), org.lwjgl.glfw.GLFW.GLFW_MOUSE_BUTTON_1, -1, org.lwjgl.glfw.GLFW.GLFW_PRESS , 0); however this seems *very* verbose for simply a clickMouse call (and I have not even verified if it works yet). Right now, I'm looking for a replacement for setCursorPosition specifically. If there are no setters for this, would a Reflection into MouseHelper's private variables do the same effect, or does it not work like that? (I am not even sure if I can do a Reflection into MouseHelper yet). And if this functionality is not implemented, would doing a pull request with a simple setter in MouseHelper be sufficient? Thanks a bunch for any answers!

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.