Posted July 14, 20196 yr I would like to respond to the mouse wheel being scrolled (with a modifier to avoid interrupting scrolling between items on the hotbar). But I'm struggling to find an event that works. InputEvent.MouseInputEvent has 'button', 'action', and 'mods', but nothing for scrolling. There is a GuiScreenEvent.MouseScrollEvent, but this only fires when a GUI is open (logically enough). I'm only interested in the event when a GUI is not open. In 1.12.2 there is a MouseEvent, but this is now missing -- presumably replaced with the InputEvent above. Am I merely missing seeing its replacement? If not, is there some other means of responding to the mouse scroll wheel? Thanks!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.