public static class GuiScreenEvent.MouseScrollEvent.Post extends GuiScreenEvent.MouseScrollEvent
IGuiEventListener#mouseScrolled(double)
if the scroll was not already handled.
Cancel this event when you successfully use the mouse scroll, to prevent other handlers from using the same input.GuiScreenEvent.MouseScrollEvent.Post, GuiScreenEvent.MouseScrollEvent.Pre
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent
Constructor and Description |
---|
Post(Screen gui,
double mouseX,
double mouseY,
double scrollDelta) |
getScrollDelta
getMouseX, getMouseY
getGui
public Post(Screen gui, double mouseX, double mouseY, double scrollDelta)