Package net.minecraftforge.client.event
Class ScreenEvent.MouseDragged.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.MouseInput
net.minecraftforge.client.event.ScreenEvent.MouseDragged
net.minecraftforge.client.event.ScreenEvent.MouseDragged.Pre
- Enclosing class:
- ScreenEvent.MouseDragged
Fired before the mouse drag is handled by the screen.
This event is cancellable, and does not have a result.
If the event is cancelled, the screen's mouse drag handler will be bypassed
and the corresponding ScreenEvent.MouseDragged.Post
will not be fired.
This event is fired on the main Forge event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEvent.MouseDragged
ScreenEvent.MouseDragged.Post, ScreenEvent.MouseDragged.Pre
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEvent
ScreenEvent.BackgroundRendered, ScreenEvent.CharacterTyped, ScreenEvent.Closing, ScreenEvent.Init, ScreenEvent.KeyPressed, ScreenEvent.KeyReleased, ScreenEvent.MouseButtonPressed, ScreenEvent.MouseButtonReleased, ScreenEvent.MouseDragged, ScreenEvent.MouseScrolled, ScreenEvent.Opening, ScreenEvent.Render, ScreenEvent.RenderInventoryMobEffects
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.MouseDragged
getDragX, getDragY, getMouseButton
Methods inherited from class net.minecraftforge.client.event.ScreenEvent.MouseInput
getMouseX, getMouseY
Methods inherited from class net.minecraftforge.client.event.ScreenEvent
getScreen
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
@Internal public Pre(Screen screen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
-