cpw.mods.fml.client.registry

## Class KeyBindingRegistry

- java.lang.Object
- - cpw.mods.fml.client.registry.KeyBindingRegistry

-     public class KeyBindingRegistry
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `KeyBindingRegistry.KeyHandler` Extend this class to register a KeyBinding and recieve callback when the key binding is triggered

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeyBindingRegistry()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static KeyBindingRegistry` | `instance()` Deprecated.
    `static void` | `registerKeyBinding(KeyBindingRegistry.KeyHandler handler)` Register a KeyHandler to the game.
    `void` | `uploadKeyBindingsToGame(GameSettings settings)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KeyBindingRegistry

          public KeyBindingRegistry()

  - ### Method Detail

    - #### registerKeyBinding

          public static void registerKeyBinding(KeyBindingRegistry.KeyHandler handler)

      Register a KeyHandler to the game. This handler will be called on certain tick events if any of its key is inactive or has recently changed state
      Parameters:
        `handler` -

    - #### instance

          @Deprecated
          public static KeyBindingRegistry instance()

      Deprecated.

    - #### uploadKeyBindingsToGame

          public void uploadKeyBindingsToGame(GameSettings settings)