Created
July 10, 2014 22:47
-
-
Save WhiteAbeLincoln/2d527f016bdcb7267f90 to your computer and use it in GitHub Desktop.
calling your keybinding methods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Mod(modid = Reference.MODID, version = Reference.VERSION, name = Reference.NAME_STRING) | |
public class TutorialMod | |
{ | |
KeyInputHandler keys = new KeyInputHandler(); | |
@EventHandler | |
public void preinit(FMLPreInitializationEvent event){ | |
FMLCommonHandler.instance().bus().register(keys); | |
} | |
@EventHandler | |
public void init(FMLInitializationEvent event){ | |
KeyBindings.init(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment