public abstract static class GuiScreenEvent.MouseScrollEvent extends GuiScreenEvent.MouseInputEvent
Modifier and Type | Class and Description |
---|---|
static class |
GuiScreenEvent.MouseScrollEvent.Post
This event fires after
IGuiEventListener#mouseScrolled(double) if the scroll was not already handled. |
static class |
GuiScreenEvent.MouseScrollEvent.Pre
This event fires when a mouse scroll is detected for a GuiScreen, before it is handled.
|
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
Modifier and Type | Field and Description |
---|---|
private double |
scrollDelta |
Constructor and Description |
---|
MouseScrollEvent(Screen gui,
double mouseX,
double mouseY,
double scrollDelta) |
Modifier and Type | Method and Description |
---|---|
double |
getScrollDelta() |
getMouseX, getMouseY
getGui
public MouseScrollEvent(Screen gui, double mouseX, double mouseY, double scrollDelta)