Class ScreenEvent.MouseDragged.Post
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ScreenEvent
net.neoforged.neoforge.client.event.ScreenEvent.MouseInput
net.neoforged.neoforge.client.event.ScreenEvent.MouseDragged
net.neoforged.neoforge.client.event.ScreenEvent.MouseDragged.Post
- Enclosing class:
ScreenEvent.MouseDragged
Fired after the mouse drag is handled, if not handled by the screen
and the corresponding
ScreenEvent.MouseDragged.Pre
is not cancelled.
This event is not cancellable, and does not have a result. If the event is cancelled, the mouse drag will be set as handled.
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.neoforged.neoforge.client.event.ScreenEvent.MouseDragged
ScreenEvent.MouseDragged.Post, ScreenEvent.MouseDragged.Pre
Nested classes/interfaces inherited from class net.neoforged.neoforge.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.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent.MouseDragged
getDragX, getDragY, getMouseButton
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent.MouseInput
getMouseX, getMouseY
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent
getScreen
Methods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult
-
Constructor Details
-
Post
@Internal public Post(Screen screen, double mouseX, double mouseY, int mouseButton, double dragX, double dragY)
-