use of mcjty.rftoolsdim.ForgeEventHandlers in project RFToolsDimensions by McJty.
the class CommonProxy method preInit.
public void preInit(FMLPreInitializationEvent e) {
MinecraftForge.EVENT_BUS.register(new ForgeEventHandlers());
GeneralConfig.preInit(e);
modConfigDir = e.getModConfigurationDirectory();
mainConfig = new Configuration(new File(modConfigDir.getPath() + File.separator + "rftools", "dimensions.cfg"));
readMainConfig();
SimpleNetworkWrapper network = PacketHandler.registerMessages(RFToolsDim.MODID, "rftoolsdim");
RFToolsDimMessages.registerNetworkMessages(network);
ModItems.init();
ModBlocks.init();
ModDimensions.init();
DimletRules.readRules(modConfigDir);
}
Aggregations