Package net.minecraftforge.client.event
Class ScreenEvent.MouseDragEvent.Post
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.MouseInputEvent
net.minecraftforge.client.event.ScreenEvent.MouseDragEvent
net.minecraftforge.client.event.ScreenEvent.MouseDragEvent.Post
- Enclosing class:
- ScreenEvent.MouseDragEvent
This event fires after
GuiEventListener.mouseDragged(double, double, int, double, double)
if the drag was not already handled.
Cancel this event when you successfully use the mouse drag, to prevent other handlers from using the same input.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEvent.MouseDragEvent
ScreenEvent.MouseDragEvent.Post, ScreenEvent.MouseDragEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEvent
ScreenEvent.BackgroundDrawnEvent, ScreenEvent.DrawScreenEvent, ScreenEvent.InitScreenEvent, ScreenEvent.KeyboardCharTypedEvent, ScreenEvent.KeyboardKeyEvent, ScreenEvent.KeyboardKeyPressedEvent, ScreenEvent.KeyboardKeyReleasedEvent, ScreenEvent.MouseClickedEvent, ScreenEvent.MouseDragEvent, ScreenEvent.MouseInputEvent, ScreenEvent.MouseReleasedEvent, ScreenEvent.MouseScrollEvent, ScreenEvent.PotionShiftEvent, ScreenEvent.PotionSizeEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.ScreenEvent.MouseDragEvent
getDragX, getDragY, getMouseButton
Methods inherited from class net.minecraftforge.client.event.ScreenEvent.MouseInputEvent
getMouseX, getMouseY
Methods inherited from class net.minecraftforge.client.event.ScreenEvent
getScreen
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Constructor Details
-
Post
public Post(Screen screen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
-