Package net.minecraftforge.client.event
Class GuiScreenEvent.MouseDragEvent.Pre
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.GuiScreenEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseInputEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseDragEvent
-
- net.minecraftforge.client.event.GuiScreenEvent.MouseDragEvent.Pre
-
- Enclosing class:
- GuiScreenEvent.MouseDragEvent
public static class GuiScreenEvent.MouseDragEvent.Pre extends GuiScreenEvent.MouseDragEvent
This event fires when a mouse drag is detected for a GuiScreen, before it is handled. Cancel this event to bypassIGuiEventListener.mouseDragged(double, double, int, double, double)
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.GuiScreenEvent.MouseDragEvent
GuiScreenEvent.MouseDragEvent.Post, GuiScreenEvent.MouseDragEvent.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.MouseDragEvent
getDragX, getDragY, getMouseButton
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent.MouseInputEvent
getMouseX, getMouseY
-
Methods inherited from class net.minecraftforge.client.event.GuiScreenEvent
getGui
-
-
-
-
Constructor Detail
-
Pre
public Pre(Screen gui, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
-
-