use of mcjty.rftoolscontrol.ForgeEventHandlers in project RFToolsControl by McJty.
the class CommonProxy method preInit.
public void preInit(FMLPreInitializationEvent e) {
MinecraftForge.EVENT_BUS.register(new ForgeEventHandlers());
McJtyLib.preInit(e);
CommandHandler.registerCommands();
GeneralConfig.preInit(e);
modConfigDir = e.getModConfigurationDirectory();
mainConfig = new Configuration(new File(modConfigDir.getPath() + File.separator + "rftools", "control.cfg"));
readMainConfig();
SimpleNetworkWrapper network = PacketHandler.registerMessages(RFToolsControl.MODID, "rftoolsctrl");
RFToolsCtrlMessages.registerNetworkMessages(network);
Opcodes.init();
Functions.init();
ModBlocks.init();
ModItems.init();
// if (RFToolsControl.mcmpPresent) {
// MCMPSetup.init();
// }
}
Aggregations