Package net.minecraftforge.client.event
Class GuiScreenEvent.MouseScrollEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.GuiScreenEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseInputEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseScrollEvent
-
- Direct Known Subclasses:
GuiScreenEvent.MouseScrollEvent.Post
,GuiScreenEvent.MouseScrollEvent.Pre
- Enclosing class:
- GuiScreenEvent
public abstract static class GuiScreenEvent.MouseScrollEvent extends GuiScreenEvent.MouseInputEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuiScreenEvent.MouseScrollEvent.Post
This event fires afterIGuiEventListener#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.-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent
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
-
-
Field Summary
Fields Modifier and Type Field Description private double
scrollDelta
-
Constructor Summary
Constructors Constructor Description MouseScrollEvent(Screen gui, double mouseX, double mouseY, double scrollDelta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getScrollDelta()
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent.MouseInputEvent
getMouseX, getMouseY
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
-
-
-
-
Constructor Detail
-
MouseScrollEvent
public MouseScrollEvent(Screen gui, double mouseX, double mouseY, double scrollDelta)
-
-