Adding Osmium bees using Ore Dictionary queries for products.

Add compatability for non-TCons Cobalt to Cobalt bee.
This commit is contained in:
MysteriousAges committed 2015-06-19 14:02:44 -07:00
1 parent e5f296cf83
commit 8e7767d4ba
4 files changed
+43 -4

No files matched your search

+17 -2
View File
@@ -172,8 +172,14 @@ public class BeeMutation implements IBeeMutation
}
if (BeeSpecies.COBALT.isActive())
{
new BeeMutation(Allele.getBaseSpecies("Imperial"), BeeSpecies.INFERNAL, BeeSpecies.COBALT, 9)
.setBlockRequired("blockCobalt");
mutation = new BeeMutation(Allele.getBaseSpecies("Imperial"), BeeSpecies.INFERNAL, BeeSpecies.COBALT, 9);
if (OreDictionary.getOres("nuggetCobalt").size() > 0 && OreDictionary.getOres("blockCobalt").size() > 0) {
mutation.setBlockRequired("blockCobalt");
}
mutation = new BeeMutation(Allele.getBaseSpecies("Imperial"), BeeSpecies.INFERNAL, BeeSpecies.COBALT, 13);
if (OreDictionary.getOres("nuggetNaturalCobalt").size() > 0 && OreDictionary.getOres("blockNaturalCobalt").size() > 0) {
mutation.setBlockRequired("blockNaturalCobalt");
}
}
if (BeeSpecies.MANYULLYN.isActive())
{
@@ -181,6 +187,15 @@ public class BeeMutation implements IBeeMutation
.setBlockRequired("blockManyullyn");
}
if (BeeSpecies.OSMIUM.isActive()) {
baseA = (BeeSpecies.SILVER.isActive()) ? BeeSpecies.SILVER : Allele.getBaseSpecies("Imperial");
baseB = (BeeSpecies.COBALT.isActive()) ? BeeSpecies.COBALT : BeeSpecies.INFERNAL;
mutation = new BeeMutation(baseA, baseB, BeeSpecies.OSMIUM, 11);
if (OreDictionary.getOres("blockOsmium").size() > 0) {
mutation.setBlockRequired("blockOsmium");
}
}
new BeeMutation(Allele.getBaseSpecies("Austere"), BeeSpecies.GOLD, BeeSpecies.DIAMOND, 7)
.setBlockRequired(Blocks.diamond_block);
baseA = (BeeSpecies.SILVER.isActive()) ? BeeSpecies.SILVER : Allele.getBaseSpecies("Imperial");