protected void drawGuiContainerBackgroundLayer(float f, int i, int j) {
super.drawGuiContainerBackgroundLayer(f, i, j);
String header = StringUtil.localize("gui.page") + " " + (pageCurrent + 1) + "/" + pageMax;
fontRendererObj.drawString(header, guiLeft + 95 + getCenteredOffset(header, 98), guiTop + 10, fontColor.get("gui.title"));
IIndividual individual = getIndividualAtPosition(i, j);
if (individual == null)
displayBreedingStatistics(10);
if (individual != null) {
RenderHelper.enableGUIStandardItemLighting();
startPage();
displaySpeciesInformation(true, individual.getGenome().getPrimary(), iconStacks.get(individual.getIdent()), 10);
if (!individual.isPureBred(0))
displaySpeciesInformation(individual.isAnalyzed(), individual.getGenome().getSecondary(), iconStacks.get(individual.getGenome().getSecondary().getUID()),
10);
endPage();
}
}