@Mod.EventHandler
  public void preInit(FMLPreInitializationEvent event) {
    IELogger.debug = VERSION.startsWith("${");
    Config.init(event);
    IEContent.preInit();

    WireType.cableLossRatio = Config.getDoubleArray("cableLossRatio");
    WireType.cableTransferRate = Config.getIntArray("cableTransferRate");
    WireType.cableColouration = Config.getIntArray("cableColouration");
    WireType.cableLength = Config.getIntArray("cableLength");

    for (int b : Config.getIntArray("oreDimBlacklist")) IEWorldGen.oreDimBlacklist.add(b);
    IEApi.modPreference = Arrays.asList(Config.getStringArray("preferredOres"));
    IECompatModule.preInit();
  }
  @Mod.EventHandler
  public void preInit(FMLPreInitializationEvent event) {
    IELogger.debug = VERSION.startsWith("${");
    Config.init(event);
    IEContent.preInit();

    WireType.cableLossRatio = Config.getDoubleArray("cableLossRatio");
    WireType.cableTransferRate = Config.getIntArray("cableTransferRate");
    WireType.cableColouration = Config.getIntArray("cableColouration");
    WireType.cableLength = Config.getIntArray("cableLength");

    for (int b : Config.getIntArray("oreDimBlacklist")) IEWorldGen.oreDimBlacklist.add(b);
    IEApi.modPreference = Arrays.asList(Config.getStringArray("preferredOres"));
    IEApi.prefixToIngotMap.put("ingot", new Integer[] {1, 1});
    IEApi.prefixToIngotMap.put("nugget", new Integer[] {1, 9});
    IEApi.prefixToIngotMap.put("block", new Integer[] {9, 1});
    IEApi.prefixToIngotMap.put("plate", new Integer[] {1, 1});
    IEApi.prefixToIngotMap.put("gear", new Integer[] {4, 1});
    IEApi.prefixToIngotMap.put("rod", new Integer[] {2, 1});
    IEApi.prefixToIngotMap.put("fence", new Integer[] {6, 16});
    IECompatModule.preInitModules();
  }