Class ScreenEvent.KeyReleased.Post

Enclosing class:
ScreenEvent.KeyReleased

public static class ScreenEvent.KeyReleased.Post extends ScreenEvent.KeyReleased
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 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)