Class ScreenEvent.MouseButtonReleased.Pre
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.MouseButtonReleased
net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
- ScreenEvent.MouseButtonReleased
public static class ScreenEvent.MouseButtonReleased.Pre
extends ScreenEvent.MouseButtonReleased
implements net.neoforged.bus.api.ICancellableEvent
Fired before the mouse release is handled by the screen.
This event is cancellable, and does not have a result.
If the event is cancelled, the screen's mouse release handler will be bypassed
and the corresponding ScreenEvent.MouseButtonReleased.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.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased
ScreenEvent.MouseButtonReleased.Post, ScreenEvent.MouseButtonReleased.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.MouseButtonReleased
getButton
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Pre
-