Package net.minecraftforge.client.event
Class GuiScreenEvent.MouseDragEvent
- 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
-
- Direct Known Subclasses:
GuiScreenEvent.MouseDragEvent.Post
,GuiScreenEvent.MouseDragEvent.Pre
- Enclosing class:
- GuiScreenEvent
public abstract static class GuiScreenEvent.MouseDragEvent extends GuiScreenEvent.MouseInputEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuiScreenEvent.MouseDragEvent.Post
This event fires afterIGuiEventListener.mouseDragged(double, double, int, double, double)
if the drag was not already handled.static class
GuiScreenEvent.MouseDragEvent.Pre
This event fires when a mouse drag 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
dragX
private double
dragY
private int
mouseButton
-
Constructor Summary
Constructors Constructor Description MouseDragEvent(Screen gui, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDragX()
double
getDragY()
int
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
-
MouseDragEvent
public MouseDragEvent(Screen gui, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
-
-