mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 11:19:28 +00:00
#606 Allow Flutterlyzer to show mutations
This commit is contained in:
1 parent
784a47ba11
commit
ae1ed86b50
1 file changed
-49
@@ -11,19 +11,14 @@
|
||||
package forestry.lepidopterology.gui;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import net.minecraft.client.renderer.RenderHelper;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import forestry.api.genetics.AlleleManager;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IAlleleFlowers;
|
||||
import forestry.api.genetics.IAlleleInteger;
|
||||
import forestry.api.genetics.IAlleleTolerance;
|
||||
import forestry.api.genetics.IMutation;
|
||||
import forestry.api.lepidopterology.EnumButterflyChromosome;
|
||||
import forestry.api.lepidopterology.IAlleleButterflySpecies;
|
||||
import forestry.api.lepidopterology.IButterfly;
|
||||
@@ -258,48 +253,4 @@ public class GuiFlutterlyzer extends GuiAlyzer {
|
||||
|
||||
endPage();
|
||||
}
|
||||
|
||||
private void drawAnalyticsPage4(IButterfly butterfly) {
|
||||
|
||||
startPage(COLUMN_0, COLUMN_1, COLUMN_2);
|
||||
drawLine(StringUtil.localize("gui.beealyzer.mutations") + ":", COLUMN_0);
|
||||
newLine();
|
||||
newLine();
|
||||
|
||||
// RenderHelper.enableGUIStandardItemLighting();
|
||||
//
|
||||
// HashMap<IMutation, IAllele> combinations = new HashMap<IMutation, IAllele>();
|
||||
//
|
||||
// for (IMutation mutation : TreeTemplates.getCombinations(butterfly.getGenome().getPrimary()))
|
||||
// combinations.put(mutation, butterfly.getGenome().getPrimary());
|
||||
//
|
||||
// for (IMutation mutation : TreeTemplates.getCombinations(butterfly.getGenome().getSecondary()))
|
||||
// combinations.put(mutation, butterfly.getGenome().getSecondary());
|
||||
//
|
||||
// int columnWidth = 50;
|
||||
// int x = 0;
|
||||
//
|
||||
// for (Map.Entry<IMutation, IAllele> mutation : combinations.entrySet()) {
|
||||
//
|
||||
// //if (breedingTracker.isDiscovered(mutation.getKey()))
|
||||
// drawMutationInfo(mutation.getKey(), mutation.getValue(), COLUMN_0 + x);
|
||||
// /*else {
|
||||
// // Do not display secret undiscovered mutations.
|
||||
// if (mutation.getKey().isSecret())
|
||||
// continue;
|
||||
//
|
||||
// drawUnknownMutation(mutation.getKey(), mutation.getValue(), COLUMN_0 + x);
|
||||
// } */
|
||||
//
|
||||
// x += columnWidth;
|
||||
// if (x > 150) {
|
||||
// x = 0;
|
||||
// newLine();
|
||||
// newLine();
|
||||
// }
|
||||
// }
|
||||
|
||||
endPage();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user