Package net.minecraftforge.client.event
Class GuiScreenEvent.MouseScrollEvent.Post
- 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
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseScrollEvent.Post
-
- Enclosing class:
- GuiScreenEvent.MouseScrollEvent
public static class GuiScreenEvent.MouseScrollEvent.Post extends GuiScreenEvent.MouseScrollEvent
This event fires afterIGuiEventListener#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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent.MouseScrollEvent
GuiScreenEvent.MouseScrollEvent.Post, GuiScreenEvent.MouseScrollEvent.Pre
-
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
-
-
Method Summary
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent.MouseScrollEvent
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
-
Post
public Post(Screen gui, double mouseX, double mouseY, double scrollDelta)
-
-