use of forestry.api.apiculture.IApiaristTracker in project ForestryMC by ForestryMC.
the class BeeStatsSaveHelper method addExtraInfo.
@Override
public void addExtraInfo(Collection<String> statistics, IBreedingTracker breedingTracker) {
IApiaristTracker tracker = (IApiaristTracker) breedingTracker;
String discoveredLine = Translator.translateToLocal("for.chat.command.forestry.stats.save.key.discovered") + ":";
statistics.add(discoveredLine);
statistics.add(StringUtil.line(discoveredLine.length()));
String queen = Translator.translateToLocal("for.bees.grammar.queen.type");
String princess = Translator.translateToLocal("for.bees.grammar.princess.type");
String drone = Translator.translateToLocal("for.bees.grammar.drone.type");
statistics.add(queen + ":\t\t" + tracker.getQueenCount());
statistics.add(princess + ":\t" + tracker.getPrincessCount());
statistics.add(drone + ":\t\t" + tracker.getDroneCount());
statistics.add("");
}
Aggregations