public void preInit(File configFile) {
this.config = new MwConfig(configFile);
}
public void load() {
Mw mw = new Mw(this.config);
MinecraftForge.EVENT_BUS.register(new EventHandler(mw));
FMLCommonHandler.instance().bus().register(new MwKeyHandler());
// temporary workaround for user defined key bindings not being loaded
// at game start. see https://github.com/MinecraftForge/FML/issues/378
// for more info.