Program: 12653
Project: 12653
Buggy source:
private static Map<ResourceLocation,EntryAbstract> buildVampire(){
  Map<ResourceLocation,EntryAbstract> entries=new LinkedHashMap<>();
  String base="String_Node_Str";
  List<IPage> gettingStarted=new ArrayList<>();
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",Keyboard.getKeyName(ModKeys.getKeyCode(ModKeys.KEY.SUCK))),300));
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(gettingStarted,UtilLib.translate(base + "String_Node_Str")));
  List<IPage> bloodPages=new ArrayList<>();
  bloodPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",UtilLib.translate(ModItems.bloodBottle.getUnlocalizedName() + "String_Node_Str"),UtilLib.translate(Items.GLASS_BOTTLE.getUnlocalizedName() + "String_Node_Str")),250));
  bloodPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",ModBlocks.bloodContainer.getLocalizedName()),250));
  bloodPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str")),new PageHolderWithLinks.URLLink("String_Node_Str",URI.create("String_Node_Str"))));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(bloodPages,UtilLib.translate(base + "String_Node_Str")));
  VampireLevelingConf levelingConf=VampireLevelingConf.getInstance();
  List<IPage> levelingPages=new ArrayList<>();
  levelingPages.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  String altarOfInspiration="String_Node_Str" + ModBlocks.altarInspiration.getLocalizedName() + "String_Node_Str"+ UtilLib.translate(base + "String_Node_Str")+ "String_Node_Str";
  altarOfInspiration+=UtilLib.translate(base + "String_Node_Str") + "String_Node_Str";
  altarOfInspiration+=UtilLib.translateFormatted(base + "String_Node_Str",levelingConf.getRequiredBloodForAltarInspiration(2),levelingConf.getRequiredBloodForAltarInspiration(3),levelingConf.getRequiredBloodForAltarInspiration(4));
  levelingPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(altarOfInspiration,250),new ResourceLocation("String_Node_Str")));
  String altarOfInfusion="String_Node_Str" + ModBlocks.altarInfusion.getLocalizedName() + "String_Node_Str"+ UtilLib.translate(base + "String_Node_Str")+ "String_Node_Str";
  altarOfInfusion+=UtilLib.translateFormatted(base + "String_Node_Str",ModBlocks.altarInfusion.getLocalizedName(),ModBlocks.altarPillar.getLocalizedName(),ModBlocks.altarTip.getLocalizedName());
  levelingPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(altarOfInfusion,300),new ResourceLocation("String_Node_Str")));
  String blocks="String_Node_Str";
  for (  BlockAltarPillar.EnumPillarType t : BlockAltarPillar.EnumPillarType.values()) {
    if (t == BlockAltarPillar.EnumPillarType.NONE)     continue;
    blocks+=t.fillerBlock.getLocalizedName() + "String_Node_Str" + t.getValue()+ "String_Node_Str";
  }
  levelingPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",blocks),250));
  String items=UtilLib.translate(ModItems.humanHeart.getUnlocalizedName() + "String_Node_Str") + "String_Node_Str" + UtilLib.translate(ModItems.pureBlood.getUnlocalizedName() + "String_Node_Str")+ "String_Node_Str"+ UtilLib.translate(ModItems.vampireBook.getUnlocalizedName() + "String_Node_Str");
  levelingPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",items),300),new ResourceLocation("String_Node_Str"),new ResourceLocation("String_Node_Str"),new ResourceLocation("String_Node_Str")));
  PageTable.Builder requirementsBuilder=new PageTable.Builder(5);
  requirementsBuilder.addUnlocLine("String_Node_Str",base + "String_Node_Str",ModItems.pureBlood.getUnlocalizedName() + "String_Node_Str",base + "String_Node_Str",base + "String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.setHeadline(UtilLib.translate(base + "String_Node_Str"));
  PageHolderWithLinks requirementTable=new PageHolderWithLinks(requirementsBuilder.build());
  requirementTable.addLink(new ResourceLocation("String_Node_Str"));
  requirementTable.addLink(new ResourceLocation("String_Node_Str"));
  requirementTable.addLink(new ResourceLocation("String_Node_Str"));
  levelingPages.add(requirementTable);
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(levelingPages,base + "String_Node_Str"));
  List<IPage> skillPages=new ArrayList<>();
  skillPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",Keyboard.getKeyName(ModKeys.getKeyCode(ModKeys.KEY.SKILL))),300));
  skillPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",Keyboard.getKeyName(ModKeys.getKeyCode(ModKeys.KEY.ACTION))),300));
  skillPages.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(skillPages,base + "String_Node_Str"));
  List<IPage> unvampirePages=new ArrayList<>();
  unvampirePages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",ModBlocks.churchAltar.getLocalizedName()),300));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(unvampirePages,base + "String_Node_Str"));
  links.putAll(entries);
  return entries;
}

Fixed version (ground truth):
private static Map<ResourceLocation,EntryAbstract> buildVampire(){
  Map<ResourceLocation,EntryAbstract> entries=new LinkedHashMap<>();
  String base="String_Node_Str";
  List<IPage> gettingStarted=new ArrayList<>();
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",Keyboard.getKeyName(ModKeys.getKeyCode(ModKeys.KEY.SUCK))),300));
  gettingStarted.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(gettingStarted,UtilLib.translate(base + "String_Node_Str")));
  List<IPage> bloodPages=new ArrayList<>();
  bloodPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",UtilLib.translate(ModItems.bloodBottle.getUnlocalizedName() + "String_Node_Str"),UtilLib.translate(Items.GLASS_BOTTLE.getUnlocalizedName() + "String_Node_Str")),250));
  bloodPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",ModBlocks.bloodContainer.getLocalizedName()),250),new ResourceLocation("String_Node_Str")));
  bloodPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str")),new PageHolderWithLinks.URLLink("String_Node_Str",URI.create("String_Node_Str"))));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(bloodPages,UtilLib.translate(base + "String_Node_Str")));
  VampireLevelingConf levelingConf=VampireLevelingConf.getInstance();
  List<IPage> levelingPages=new ArrayList<>();
  levelingPages.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  String altarOfInspiration="String_Node_Str" + ModBlocks.altarInspiration.getLocalizedName() + "String_Node_Str"+ UtilLib.translate(base + "String_Node_Str")+ "String_Node_Str";
  altarOfInspiration+=UtilLib.translate(base + "String_Node_Str") + "String_Node_Str";
  altarOfInspiration+=UtilLib.translateFormatted(base + "String_Node_Str",levelingConf.getRequiredBloodForAltarInspiration(2),levelingConf.getRequiredBloodForAltarInspiration(3),levelingConf.getRequiredBloodForAltarInspiration(4));
  levelingPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(altarOfInspiration,250),new ResourceLocation("String_Node_Str")));
  String altarOfInfusion="String_Node_Str" + ModBlocks.altarInfusion.getLocalizedName() + "String_Node_Str"+ UtilLib.translate(base + "String_Node_Str")+ "String_Node_Str";
  altarOfInfusion+=UtilLib.translateFormatted(base + "String_Node_Str",ModBlocks.altarInfusion.getLocalizedName(),ModBlocks.altarPillar.getLocalizedName(),ModBlocks.altarTip.getLocalizedName());
  levelingPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(altarOfInfusion,300),new ResourceLocation("String_Node_Str")));
  String blocks="String_Node_Str";
  for (  BlockAltarPillar.EnumPillarType t : BlockAltarPillar.EnumPillarType.values()) {
    if (t == BlockAltarPillar.EnumPillarType.NONE)     continue;
    blocks+=t.fillerBlock.getLocalizedName() + "String_Node_Str" + t.getValue()+ "String_Node_Str";
  }
  levelingPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",blocks),250));
  String items=UtilLib.translate(ModItems.humanHeart.getUnlocalizedName() + "String_Node_Str") + "String_Node_Str" + UtilLib.translate(ModItems.pureBlood.getUnlocalizedName() + "String_Node_Str")+ "String_Node_Str"+ UtilLib.translate(ModItems.vampireBook.getUnlocalizedName() + "String_Node_Str");
  levelingPages.addAll(GuideHelper.addLinks(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",items),300),new ResourceLocation("String_Node_Str"),new ResourceLocation("String_Node_Str"),new ResourceLocation("String_Node_Str")));
  PageTable.Builder requirementsBuilder=new PageTable.Builder(5);
  requirementsBuilder.addUnlocLine("String_Node_Str",base + "String_Node_Str",ModItems.pureBlood.getUnlocalizedName() + "String_Node_Str",base + "String_Node_Str",base + "String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.addLine("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  requirementsBuilder.setHeadline(UtilLib.translate(base + "String_Node_Str"));
  PageHolderWithLinks requirementTable=new PageHolderWithLinks(requirementsBuilder.build());
  requirementTable.addLink(new ResourceLocation("String_Node_Str"));
  requirementTable.addLink(new ResourceLocation("String_Node_Str"));
  requirementTable.addLink(new ResourceLocation("String_Node_Str"));
  levelingPages.add(requirementTable);
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  levelingPages.add(new PageTextImage(UtilLib.translate(base + "String_Node_Str"),new ResourceLocation(IMAGE_BASE + "String_Node_Str"),false));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(levelingPages,base + "String_Node_Str"));
  List<IPage> skillPages=new ArrayList<>();
  skillPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",Keyboard.getKeyName(ModKeys.getKeyCode(ModKeys.KEY.SKILL))),300));
  skillPages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",Keyboard.getKeyName(ModKeys.getKeyCode(ModKeys.KEY.ACTION))),300));
  skillPages.addAll(PageHelper.pagesForLongText(UtilLib.translate(base + "String_Node_Str"),300));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(skillPages,base + "String_Node_Str"));
  List<IPage> unvampirePages=new ArrayList<>();
  unvampirePages.addAll(PageHelper.pagesForLongText(UtilLib.translateFormatted(base + "String_Node_Str",ModBlocks.churchAltar.getLocalizedName()),300));
  entries.put(new ResourceLocation(base + "String_Node_Str"),new EntryText(unvampirePages,base + "String_Node_Str"));
  links.putAll(entries);
  return entries;
}