cpw.mods.fml.client.registry
Class KeyBindingRegistry
java.lang.Object
cpw.mods.fml.client.registry.KeyBindingRegistry
public class KeyBindingRegistry
- extends Object
Nested Class Summary |
static class |
KeyBindingRegistry.KeyHandler
Extend this class to register a KeyBinding and recieve callback
when the key binding is triggered |
KeyBindingRegistry
public KeyBindingRegistry()
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)