Posted December 6, 201311 yr Hi I have been trying to find a way to capture scroll wheel actions to do something else with them instead of change current item. The vanilla code polls Mouse.getEventDWheel(); and jumps straight to InventoryPlayer.changeCurrentItem. Perhaps Forge could provide a hook in changeCurrentItem? Or even better, a more flexible way to intercept Mouse and Keyboard events before the vanilla code sees them, especially in Minecraft.runTick()? -TGG
December 6, 201311 yr Author By crikey so it does, how on earth did I miss that? Was it recently introduced? That's exactly what I need, thanks! -TGG
December 7, 201311 yr Author Was introduced some time between 1.6.2 and 1.6.4. Guess I should upgrade my Forge more often...
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.