mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-20 04:09:48 +00:00
Start on Botania integration.
This commit is contained in:
1 parent
d8cd023876
commit
b16524e919
5 files changed
+233
-266
No files matched your search
@@ -17,6 +17,7 @@ import magicbees.main.utils.LocalizationManager;
|
||||
import magicbees.main.utils.LogHelper;
|
||||
import magicbees.main.utils.compat.ArsMagicaHelper;
|
||||
import magicbees.main.utils.compat.BloodMagicHelper;
|
||||
import magicbees.main.utils.compat.BotaniaHelper;
|
||||
import magicbees.main.utils.compat.EquivalentExchangeHelper;
|
||||
import magicbees.main.utils.compat.ForestryHelper;
|
||||
import magicbees.main.utils.compat.RedstoneArsenalHelper;
|
||||
@@ -294,6 +295,19 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
|
||||
BM_BOUND("BMBound", "obligatus",
|
||||
BeeClassification.BLOODY, 0xb7102f, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
|
||||
|
||||
//----------------------Botania Bees---------------------------------------
|
||||
BOT_BOTANIC("BotBotanic", "botanica",
|
||||
BeeClassification.BOTANICAL, 0xffffff, 0x6666ff, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, true),
|
||||
BOT_BLOSSOM("BotBlossom", "viridis",
|
||||
BeeClassification.BOTANICAL, 0x00ffff, 0x6666ff, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
BOT_FLORAL("BotFloral", "florens",
|
||||
BeeClassification.BOTANICAL, 0x0000ff, 0x6666ff, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, true),
|
||||
|
||||
BOT_VAZBEE("BotVazbee", "vazbii",
|
||||
BeeClassification.BOTANICAL, 0x00ff00, 0x6666ff, EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, false),
|
||||
|
||||
;
|
||||
|
||||
public static void setupBeeSpecies()
|
||||
@@ -421,13 +435,27 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
|
||||
if (BloodMagicHelper.isActive())
|
||||
{
|
||||
BloodMagicHelper.addAltarRecipeBee(MYSTICAL, BM_BLOODY, 1, 1000, 100, 100);
|
||||
|
||||
BloodMagicHelper.addBindingRecipeBee(BM_BLOODY, BM_BOUND);
|
||||
}
|
||||
else
|
||||
{
|
||||
BM_BLOODY.setInactive();
|
||||
}
|
||||
|
||||
if (BotaniaHelper.isActive())
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
BOT_BLOSSOM.setInactive();
|
||||
BOT_BOTANIC.setInactive();
|
||||
BOT_FLORAL.setInactive();
|
||||
BOT_VAZBEE.setInactive();
|
||||
}
|
||||
|
||||
|
||||
AlleleManager.alleleRegistry.registerDeprecatedAlleleReplacement("thaumicbees.speciesBlitz", AM_LIGHTNING);
|
||||
|
||||
@@ -970,14 +998,6 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
.setGenome(BeeGenomeManager.getTemplateBMBound())
|
||||
.register();
|
||||
|
||||
|
||||
if (BloodMagicHelper.isActive())
|
||||
{
|
||||
BloodMagicHelper.addAltarRecipeBee(MYSTICAL, BM_BLOODY, 1, 1000, 100, 100);
|
||||
|
||||
BloodMagicHelper.addBindingRecipeBee(BM_BLOODY, BM_BOUND);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user