Interface ScreenKeyboardEvents.BeforeKeyPress

Enclosing class:
ScreenKeyboardEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScreenKeyboardEvents.BeforeKeyPress
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beforeKeyPress(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.KeyEvent event)
    Called before a key press is handled.
  • Method Details

    • beforeKeyPress

      void beforeKeyPress(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.KeyEvent event)
      Called before a key press is handled.
      Parameters:
      event - the key press event, containing the key, scancode and modifiers
      See Also: