mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-12 08:17:29 +00:00
Adding Osmium bees using Ore Dictionary queries for products.
Add compatability for non-TCons Cobalt to Cobalt bee.
This commit is contained in:
1 parent
e5f296cf83
commit
8e7767d4ba
4 files changed
+43
-4
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user