mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-23 21:50:06 +00:00
quick fixes 2
Added TE signalum and lumium bees Investigating why Amped/Rocking spawn Blizz instead of respective TE mobs
This commit is contained in:
1 parent
9196bee240
commit
afee91a925
7 files changed
+56
-2
No files matched your search
@@ -236,14 +236,15 @@ public class Allele implements IAllele {
|
||||
spawnWispOrHecate = new AlleleEffectPlaceholder(EFFECT_AM_WISP, true);
|
||||
}
|
||||
|
||||
//TODO TE spawning
|
||||
if (ThermalModsHelper.isActive()) {
|
||||
spawnBlizz = new AlleleEffectSpawnMob(EFFECT_TE_BLIZZY, true, ThermalModsHelper.Entity.BLIZZ.entityID, ThermalModsHelper.Entity.BLIZZ.soundName)
|
||||
.setThrottle(100)
|
||||
.setChanceToSpawn(80);
|
||||
spawnBlitz = new AlleleEffectSpawnMob(EFFECT_TE_BLITZ, true, ThermalModsHelper.Entity.BLIZZ.entityID, ThermalModsHelper.Entity.BLIZZ.soundName)
|
||||
spawnBlitz = new AlleleEffectSpawnMob(EFFECT_TE_BLITZ, true, ThermalModsHelper.Entity.BLITZ.entityID, ThermalModsHelper.Entity.BLITZ.soundName)
|
||||
.setThrottle(100)
|
||||
.setChanceToSpawn(80);
|
||||
spawnBasalz = new AlleleEffectSpawnMob(EFFECT_TE_BASALZ, true, ThermalModsHelper.Entity.BLIZZ.entityID, ThermalModsHelper.Entity.BLIZZ.soundName)
|
||||
spawnBasalz = new AlleleEffectSpawnMob(EFFECT_TE_BASALZ, true, ThermalModsHelper.Entity.BASALZ.entityID, ThermalModsHelper.Entity.BASALZ.soundName)
|
||||
.setThrottle(100)
|
||||
.setChanceToSpawn(80);
|
||||
}
|
||||
|
||||
@@ -1320,6 +1320,22 @@ public class BeeGenomeManager {
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTESignalus() {
|
||||
IAllele[] genome = getTemplateTEBase();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_SIGNALUS.getSpecies();
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTELumius() {
|
||||
IAllele[] genome = getTemplateTEBaseNether();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_LUMIUS.getSpecies();
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEDante() {
|
||||
IAllele[] genome = getTemplateTEBaseNether();
|
||||
|
||||
@@ -349,6 +349,12 @@ public class BeeMutation {
|
||||
|
||||
beeMutationFactory.createMutation(BeeSpecies.TE_WINSOME.getSpecies(), BeeSpecies.TE_COAL.getSpecies(), BeeSpecies.TE_ENDEARING.getGenome(), 8)
|
||||
.requireResource("blockEnderium");
|
||||
|
||||
beeMutationFactory.createMutation(BeeSpecies.COPPER.getSpecies(), BeeSpecies.TE_DESTABILIZED.getSpecies(), BeeSpecies.TE_SIGNALUS.getGenome(), 8)
|
||||
.requireResource("blockSignalum");
|
||||
|
||||
beeMutationFactory.createMutation(BeeSpecies.TIN.getSpecies(), BeeSpecies.TE_LUX.getSpecies(), BeeSpecies.TE_LUMIUS.getGenome(), 8)
|
||||
.requireResource("blockLumium");
|
||||
}
|
||||
|
||||
if (BotaniaHelper.isActive()) {
|
||||
|
||||
@@ -368,6 +368,11 @@ public class BeeProductHelper {
|
||||
TE_GROUNDED.addProduct(Config.combs.getStackForType(CombType.EARTHY), 0.16f);
|
||||
TE_ROCKING.addProduct(Config.combs.getStackForType(CombType.EARTHY), 0.29f);
|
||||
|
||||
TE_SIGNALUS.addProduct(Config.combs.getStackForType(CombType.TE_DESTABILIZED), 0.10f)
|
||||
.addProduct(Config.combs.getStackForType(CombType.OCCULT), 0.10f);
|
||||
TE_LUMIUS.addProduct(Config.combs.getStackForType(CombType.TE_LUX), 0.10f)
|
||||
.addProduct(Config.combs.getStackForType(CombType.OCCULT), 0.10f);
|
||||
|
||||
if (ThermalModsHelper.isActive()) {
|
||||
LogHelper.info("Thermal Expansion bees active");
|
||||
TE_BLIZZY.addSpecialty(ThermalModsHelper.dustBlizz, 0.09f);
|
||||
@@ -380,6 +385,8 @@ public class BeeProductHelper {
|
||||
TE_ROCKING.addSpecialty(ThermalModsHelper.dustPetrotheum, 0.09f);
|
||||
TE_WINSOME.addSpecialty(ThermalModsHelper.dustPlatinum, 0.09f);
|
||||
TE_ENDEARING.addSpecialty(ThermalModsHelper.enderiumNugget, 0.09f);
|
||||
TE_SIGNALUS.addSpecialty(ThermalModsHelper.signalumNugget, 0.09f);
|
||||
TE_LUMIUS.addSpecialty(ThermalModsHelper.lumiumNugget, 0.09f);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -281,6 +281,10 @@ public enum BeeSpecies
|
||||
0x096B67, EnumTemperature.COLD, EnumHumidity.NORMAL, false, false),
|
||||
TE_ENDEARING("TEEndearing", "cognito", BeeClassification.ADORABLE,
|
||||
0x069E97, EnumTemperature.COLD, EnumHumidity.NORMAL, true, true),
|
||||
TE_SIGNALUS("TESignalus", "scelerisque", BeeClassification.THERMAL,
|
||||
0x5E0203, EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, true),
|
||||
TE_LUMIUS("TELumius", "lucidum", BeeClassification.THERMAL,
|
||||
0xF1FA89, EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, true),
|
||||
|
||||
// --------------------Redstone Arsenal Bees-----------------------------
|
||||
RSA_FLUXED("RSAFluxed", "Thermametallic electroflux", BeeClassification.THERMAL,
|
||||
@@ -442,6 +446,8 @@ public enum BeeSpecies
|
||||
TE_LUX.registerGenomeTemplate(BeeGenomeManager.getTemplateTELux());
|
||||
TE_WINSOME.registerGenomeTemplate(BeeGenomeManager.getTemplateTEWinsome());
|
||||
TE_ENDEARING.registerGenomeTemplate(BeeGenomeManager.getTemplateTEEndearing());
|
||||
TE_SIGNALUS.registerGenomeTemplate(BeeGenomeManager.getTemplateTESignalus());
|
||||
TE_LUMIUS.registerGenomeTemplate(BeeGenomeManager.getTemplateTELumius());
|
||||
RSA_FLUXED.registerGenomeTemplate(BeeGenomeManager.getTemplateRSAFluxed());
|
||||
BOT_ROOTED.registerGenomeTemplate(BeeGenomeManager.getTemplateBotRooted());
|
||||
BOT_BOTANIC.registerGenomeTemplate(BeeGenomeManager.getTemplateBotBotanic());
|
||||
@@ -512,6 +518,8 @@ public enum BeeSpecies
|
||||
TE_LUX.setInactive();
|
||||
TE_WINSOME.setInactive();
|
||||
TE_ENDEARING.setInactive();
|
||||
TE_SIGNALUS.setInactive();
|
||||
TE_LUMIUS.setInactive();
|
||||
}
|
||||
|
||||
BeeProductHelper.initRedstoneArsenelProducts();
|
||||
|
||||
Reference in new issue
Block a user