Program: 22317
Project: 22317
Buggy source:
public static void registerSteamPower(){
  SteamcraftRegistry.addCategory("String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.boiler)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  if (Config.enableFlashBoiler) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.flashBoiler)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.pipe)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  if (Config.enableRuptureDisc) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.ruptureDisc)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHorn) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.horn)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableGauge) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.gauge)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.tank)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(Items.BOWL)));
  SteamcraftRegistry.bookRecipes.put(new ItemStack(SteamcraftBlocks.tank,1,1),MutablePair.of("String_Node_Str",0));
  if (Config.enableCharger) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.charger)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableChargingPad && Config.enableCharger) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.chargingPad)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHeater) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.heater)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableMortar && Config.enableAstrolabe) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.itemMortar)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHammer) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.hammer)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enablePump) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.pump)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableSmasher) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.smasher)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableThumper) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.thumper)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableFan) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.fan)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    if (Config.enableVacuum) {
      SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.vacuum)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    }
  }
  if (Config.enableFluidSteamConverter) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.fluidSteamConverter)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"));
  }
}

Fixed version (ground truth):
public static void registerSteamPower(){
  SteamcraftRegistry.addCategory("String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(BOILER.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  if (Config.enableFlashBoiler) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(FLASH_BOILER.getBlock())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(PIPE.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  if (Config.enableRuptureDisc) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(RUPTURE_DISC.getBlock())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHorn) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(STEAM_WHISTLE.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableGauge) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(STEAM_GAUGE.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(TANK.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(Items.BOWL)));
  SteamcraftRegistry.bookRecipes.put(new ItemStack(TANK.getBlock(),1,1),MutablePair.of("String_Node_Str",0));
  if (Config.enableCharger) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(STEAM_FILLER.getBlock())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableChargingPad && Config.enableCharger) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(FILLING_PAD.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHeater) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(STEAM_HEATER.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableMortar && Config.enableAstrolabe) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(ITEM_MORTAR.getBlock())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHammer) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(STEAM_HAMMER.getBlock())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enablePump) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(ARCHIMEDES_SCREW.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableSmasher) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(ROCK_SMASHER.getBlock())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableThumper) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(THUMPER.getBlock())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableFan) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(FAN.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    if (Config.enableVacuum) {
      SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(VACUUM.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    }
  }
  if (Config.enableFluidSteamConverter) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(PRESSURE_CONVERTER.getBlock())),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"));
  }
}