if(!edition.isEmpty())
par3List.add(edition);
List<KnowledgeType> typesKnown = new ArrayList();
for(String s : BotaniaAPI.knowledgeTypes.keySet()) {
KnowledgeType type = BotaniaAPI.knowledgeTypes.get(s);
if(isKnowledgeUnlocked(par1ItemStack, type))
typesKnown.add(type);
}
String format = typesKnown.size() == 1 ? "botaniamisc.knowledgeTypesSingular" : "botaniamisc.knowledgeTypesPlural";
addStringToTooltip(String.format(StatCollector.translateToLocal(format), typesKnown.size()), par3List);
for(KnowledgeType type : typesKnown)
addStringToTooltip(" \u2022 " + StatCollector.translateToLocal(type.getUnlocalizedName()), par3List);
} else addStringToTooltip(StatCollector.translateToLocal("botaniamisc.shiftinfo"), par3List);
}