Interface IKeyHandler


public interface IKeyHandler
A handler responsible for handling key presses.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onKeyPressed(net.minecraft.client.KeyMapping kb)
    This method is called whenever a key, which is mapped to this KeyHandler is pressed.
  • Method Details

    • onKeyPressed

      void onKeyPressed(net.minecraft.client.KeyMapping kb)
      This method is called whenever a key, which is mapped to this KeyHandler is pressed.
      Parameters:
      kb - KeyMapping of the key that was pressed.