Class ScreenEvent.KeyReleased.Post

All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
ScreenEvent.KeyReleased

public static class ScreenEvent.KeyReleased.Post extends ScreenEvent.KeyReleased implements net.neoforged.bus.api.ICancellableEvent
Fired after the key release is handled, if not handled by the screen and the corresponding ScreenEvent.KeyReleased.Pre is not cancelled.

This event is cancellable, and does not

invalid reference
have a result
. If the event is cancelled, the key release will be set as handled.

This event is fired on the main Forge event bus, only on the logical client.

  • Constructor Details

    • Post

      @Internal public Post(Screen screen, int keyCode, int scanCode, int modifiers)