类 ScreenEvent.KeyReleased.Pre

封闭类:
ScreenEvent.KeyReleased

public static class ScreenEvent.KeyReleased.Pre extends ScreenEvent.KeyReleased
Fired before the key release is handled by the screen.

This event is cancellable, and does not have a result. If the event is cancelled, the screen's key release handler will be bypassed and the corresponding ScreenEvent.KeyReleased.Post will not be fired.

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

  • 构造器详细资料

    • Pre

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