Class ScreenEvent.KeyReleased.Pre
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ScreenEvent
net.neoforged.neoforge.client.event.ScreenEvent.KeyInput
net.neoforged.neoforge.client.event.ScreenEvent.KeyReleased
net.neoforged.neoforge.client.event.ScreenEvent.KeyReleased.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
ScreenEvent.KeyReleased
public static class ScreenEvent.KeyReleased.Pre
extends ScreenEvent.KeyReleased
implements net.neoforged.bus.api.ICancellableEvent
Fired before the key release is handled by the screen.
This event is cancellable, and does not
.
If the event is cancelled, the screen's key release handler will be bypassed
and the corresponding invalid reference
have a result
ScreenEvent.KeyReleased.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.KeyReleased
ScreenEvent.KeyReleased.Post, ScreenEvent.KeyReleased.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
-
Constructor Summary
-
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent.KeyInput
getKeyCode, getModifiers, getScanCode
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent
getScreen
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
-