mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-24 22:14:38 +00:00
Cleaning up code from TE merge
This commit is contained in:
1 parent
a4ebd6d859
commit
2146249b9c
6 files changed
+197
-212
No files matched your search
@@ -380,15 +380,15 @@
|
||||
<entry key="magicbees.speciesAMWight.description">"They attract magical spirits; not always docile."|Mithion, Adept</entry>
|
||||
|
||||
<entry key="magicbees.speciesTEBlizzy">Blizzy</entry>
|
||||
<entry key="magicbees.speciesTEBlizzy.description">Frigid and cold like miniature snowmen|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEBlizzy.description">Frigid and cold, like miniature snowmen.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEGelid">Gelid</entry>
|
||||
<entry key="magicbees.speciesTEGelid.description">Liquid coolant producers|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEGelid.description">Liquid coolant producers.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEDante">Dante</entry>
|
||||
<entry key="magicbees.speciesTEDante.description">Mixing bees in an inferno produces surprising results|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEDante.description">Mixing bees in an inferno produces surprising results.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEPyro">Pyro</entry>
|
||||
<entry key="magicbees.speciesTEPyro.description">"You Monster"|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEDante">Dante</entry>
|
||||
<entry key="magicbees.speciesTEDante.description">Mixing bees in an inferno produces surprising results|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEDante.description">Mixing bees in an inferno produces surprising results.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEElectrum">Electrum</entry>
|
||||
<entry key="magicbees.speciesTEElectrum.description">...|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEPlatinum">Platinum</entry>
|
||||
@@ -402,13 +402,14 @@
|
||||
<entry key="magicbees.speciesTECoal">Carbon</entry>
|
||||
<entry key="magicbees.speciesTECoal.description">...|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEDestabilized">Destabilized</entry>
|
||||
<entry key="magicbees.speciesTEDestabilized.description">These bees started out unstable, they didn't get better with time|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEDestabilized.description">These bees started out unstable; they didn't get better with time.|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTELux">Lux</entry>
|
||||
<entry key="magicbees.speciesTELux.description">Let there be light..|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTELux.description">Let there be light...|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEWinsome">Winsome</entry>
|
||||
<entry key="magicbees.speciesTEWinsome.description">....|Apinomicon</entry>
|
||||
<entry key="magicbees.speciesTEEndearing">Endearing</entry>
|
||||
<entry key="magicbees.speciesTEEndearing.description">....|Apinomicon</entry>
|
||||
|
||||
<entry key="magicbees.speciesRSAFluxed">Fluxed</entry>
|
||||
<entry key="magicbees.speciesRSAFluxed.description">....|Apinomicon</entry>
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
2.1.11
|
||||
Thermal Expansion & Redstone Arsenal bees, courtesy of jadedcat.
|
||||
|
||||
2.1.10
|
||||
Changing Aluminum bees to use changed ore dictionary entries. mDiyo Houuuuuuuuuuuuuuuuuse!
|
||||
Updating AM2 mob-spawning bees to use newer names.
|
||||
|
||||
@@ -3,6 +3,7 @@ package magicbees.bees;
|
||||
import magicbees.main.utils.LocalizationManager;
|
||||
import magicbees.main.utils.compat.ArsMagicaHelper;
|
||||
import magicbees.main.utils.compat.ThaumcraftHelper;
|
||||
import magicbees.main.utils.compat.ThermalExpansionHelper;
|
||||
import net.minecraft.potion.Potion;
|
||||
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||
import forestry.api.apiculture.IAlleleBeeSpecies;
|
||||
@@ -38,6 +39,7 @@ public class Allele implements IAllele
|
||||
public static IAlleleEffect spawnGhast;
|
||||
public static IAlleleEffect spawnSpider;
|
||||
public static IAlleleEffect spawnBlaze;
|
||||
public static IAlleleEffect spawnBlizz;
|
||||
public static IAlleleEffect spawnManaDrainer;
|
||||
public static IAlleleEffect spawnWispOrHecate;
|
||||
|
||||
@@ -95,6 +97,16 @@ public class Allele implements IAllele
|
||||
Allele.effectNodePurify = new AlleleEffectAuraNodePurify("NodePurify", false, 600, 150);
|
||||
Allele.effectNodeFlux = new AlleleEffectAuraNodeFlux("NodeFlux", true, 300, 300);
|
||||
Allele.effectNodeCharge = new AlleleEffectAuraNodeCharge("NodeCharge", true, 1200);*/
|
||||
|
||||
if (ThermalExpansionHelper.isActive())
|
||||
{
|
||||
Allele.spawnBlizz = new AlleleEffectSpawnMob("Blizzy", true, ThermalExpansionHelper.Entity.BLIZZ.entityID)
|
||||
.setThrottle(100).setChanceToSpawn(80);
|
||||
}
|
||||
else
|
||||
{
|
||||
Allele.spawnBlizz = (IAlleleEffect)Allele.getBaseAllele("effectNone");
|
||||
}
|
||||
|
||||
Allele.effectCleansing = new AlleleEffectCure("Curative", false);
|
||||
Allele.effectDigSpeed = new AlleleEffectPotion("DigSpeed", Potion.digSpeed, 15, false);
|
||||
|
||||
@@ -1188,7 +1188,7 @@ public class BeeGenomeManager
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEBase()
|
||||
private static IAllele[] getTemplateTEBase()
|
||||
{
|
||||
IAllele[] genome = getTemplateModBase();
|
||||
|
||||
@@ -1201,23 +1201,10 @@ public class BeeGenomeManager
|
||||
genome[EnumBeeChromosome.FLOWER_PROVIDER.ordinal()] = Allele.getBaseAllele("flowersVanilla");
|
||||
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEBaseMetal()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBase();
|
||||
|
||||
genome[EnumBeeChromosome.NOCTURNAL.ordinal()] = Allele.getBaseAllele("boolTrue");
|
||||
genome[EnumBeeChromosome.CAVE_DWELLING.ordinal()] = Allele.getBaseAllele("boolTrue");
|
||||
genome[EnumBeeChromosome.SPEED.ordinal()] = Allele.getBaseAllele("speedSlowest");
|
||||
genome[EnumBeeChromosome.FERTILITY.ordinal()] = Allele.getBaseAllele("fertilityLow");
|
||||
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEBaseNether()
|
||||
private static IAllele[] getTemplateTEBaseNether()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBase();
|
||||
|
||||
@@ -1232,7 +1219,7 @@ public class BeeGenomeManager
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEEnd()
|
||||
private static IAllele[] getTemplateTEEnd()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBase();
|
||||
|
||||
@@ -1244,14 +1231,12 @@ public class BeeGenomeManager
|
||||
genome[EnumBeeChromosome.HUMIDITY_TOLERANCE.ordinal()] = Allele.getBaseAllele("toleranceBoth2");
|
||||
genome[EnumBeeChromosome.LIFESPAN.ordinal()] = Allele.getBaseAllele("lifespanLongest");
|
||||
|
||||
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEElectrum()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBaseMetal();
|
||||
IAllele[] genome = getTemplateBaseMetallic();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_ELECTRUM;
|
||||
|
||||
@@ -1268,7 +1253,7 @@ public class BeeGenomeManager
|
||||
|
||||
public static IAllele[] getTemplateTENickel()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBaseMetal();
|
||||
IAllele[] genome = getTemplateBaseMetallic();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_NICKEL;
|
||||
|
||||
@@ -1286,7 +1271,7 @@ public class BeeGenomeManager
|
||||
|
||||
public static IAllele[] getTemplateTEBronze()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBaseMetal();
|
||||
IAllele[] genome = getTemplateBaseMetallic();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_BRONZE;
|
||||
|
||||
@@ -1315,11 +1300,7 @@ public class BeeGenomeManager
|
||||
IAllele[] genome = getTemplateTEEnd();
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_PYRO;
|
||||
genome[EnumBeeChromosome.EFFECT.ordinal()] = Allele.getBaseAllele("effectIgnition");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
@@ -1359,17 +1340,6 @@ public class BeeGenomeManager
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEGelid()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEEnd();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_GELID;
|
||||
genome[EnumBeeChromosome.FLOWER_PROVIDER.ordinal()] = Allele.getBaseAllele("flowersSnow");
|
||||
genome[EnumBeeChromosome.EFFECT.ordinal()] = Allele.getBaseAllele("effectGlacial");
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEBlizzy()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEEnd();
|
||||
@@ -1381,6 +1351,16 @@ public class BeeGenomeManager
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTEGelid()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBlizzy();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.TE_GELID;
|
||||
genome[EnumBeeChromosome.EFFECT.ordinal()] = Allele.spawnBlizz;
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateTECoal()
|
||||
{
|
||||
IAllele[] genome = getTemplateTEBase();
|
||||
@@ -1390,7 +1370,7 @@ public class BeeGenomeManager
|
||||
return genome;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------- Other Stuff ---------------------------------- */
|
||||
|
||||
public static ItemStack getBeeNBTForSpecies(BeeSpecies species, EnumBeeType beeType)
|
||||
{
|
||||
|
||||
@@ -247,33 +247,34 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
BeeClassification.ESSENTIAL, 0xB50000, 0x4C4837, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
|
||||
//---------------------Thermal Expansion Bees---------------------------
|
||||
TE_BLIZZY("TEBlizzy", "Detestabilapis blizzard",
|
||||
TE_BLIZZY("TEBlizzy", "blizzard",
|
||||
BeeClassification.ABOMINABLE, 0x0073C4, EnumTemperature.COLD, EnumHumidity.NORMAL, false, false),
|
||||
TE_GELID("TEGelid", "Detestabilapis cyro",
|
||||
TE_GELID("TEGelid", "cyro",
|
||||
BeeClassification.ABOMINABLE, 0x4AAFF7, EnumTemperature.COLD, EnumHumidity.NORMAL, true, true),
|
||||
TE_DANTE("TEDante", "Detestabilapis inferno",
|
||||
TE_DANTE("TEDante", "inferno",
|
||||
BeeClassification.ABOMINABLE, 0xF7AC4A, EnumTemperature.HELLISH, EnumHumidity.ARID, false, false),
|
||||
TE_PYRO("TEPyro", "Detestabilapis pyromaniac",
|
||||
TE_PYRO("TEPyro", "pyromaniac",
|
||||
BeeClassification.ABOMINABLE, 0xFA930C, EnumTemperature.HELLISH, EnumHumidity.ARID, true, true),
|
||||
TE_ELECTRUM("TEElectrum", "Thermametallic electrum",
|
||||
|
||||
TE_ELECTRUM("TEElectrum", "electrum",
|
||||
BeeClassification.THERMAL, 0xEAF79E, EnumTemperature.HOT, EnumHumidity.ARID, false, false),
|
||||
TE_PLATINUM("TEPlatinum", "Thermametallic platina",
|
||||
TE_PLATINUM("TEPlatinum", "platina",
|
||||
BeeClassification.THERMAL, 0x9EE7F7, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
TE_NICKEL("TENickel", "Thermametallic nickel",
|
||||
TE_NICKEL("TENickel", "nickel",
|
||||
BeeClassification.THERMAL, 0xB4C989, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
TE_INVAR("TEInvar", "Thermametallic invar",
|
||||
TE_INVAR("TEInvar", "invar",
|
||||
BeeClassification.THERMAL, 0xCDE3A1, EnumTemperature.HOT, EnumHumidity.ARID, false, false),
|
||||
TE_BRONZE("TEBronze", "Thermametallic pyropus",
|
||||
TE_BRONZE("TEBronze", "pyropus",
|
||||
BeeClassification.THERMAL, 0xB56D07, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
TE_COAL("TECoal", "Thermametallic carbonis",
|
||||
TE_COAL("TECoal", "carbonis",
|
||||
BeeClassification.THERMAL, 0x2E2D2D, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
TE_DESTABILIZED("TEDestabilized", "Thermametallic electric",
|
||||
TE_DESTABILIZED("TEDestabilized", "electric",
|
||||
BeeClassification.THERMAL, 0x5E0203, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
TE_LUX("TELux", "Thermametallic lux",
|
||||
TE_LUX("TELux", "lux",
|
||||
BeeClassification.THERMAL, 0xF1FA89, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
TE_WINSOME("TEWinsome", "Amabilis cuniculus",
|
||||
TE_WINSOME("TEWinsome", "cuniculus",
|
||||
BeeClassification.ADORABLE, 0x096B67, EnumTemperature.COLD, EnumHumidity.NORMAL, false, false),
|
||||
TE_ENDEARING("TEEndearing", "Amabilis cognito",
|
||||
TE_ENDEARING("TEEndearing", "cognito",
|
||||
BeeClassification.ADORABLE, 0x069E97, EnumTemperature.COLD, EnumHumidity.NORMAL, true, true),
|
||||
|
||||
|
||||
@@ -379,10 +380,6 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
TE_PYRO.addSpecialty(Config.teDustPyrotheum, 9);
|
||||
TE_WINSOME.addSpecialty(Config.teDustPlatinum, 9);
|
||||
TE_ENDEARING.addSpecialty(Config.teEnderiumNugget, 9);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -401,14 +398,11 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
|
||||
if (RedstoneArsenalHelper.isActive())
|
||||
{
|
||||
RSA_FLUXED.addSpecialty(Config.rsaFluxNugget, 9);
|
||||
|
||||
|
||||
RSA_FLUXED.addSpecialty(Config.rsaFluxNugget, 9);
|
||||
}
|
||||
else
|
||||
{
|
||||
RSA_FLUXED.setInactive();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -819,130 +813,130 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
|
||||
TE_ELECTRUM.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEElectrum());
|
||||
if (OreDictionary.getOres("nuggetElectrum").size() > 0)
|
||||
{
|
||||
TE_ELECTRUM.addSpecialty(OreDictionary.getOres("nuggetElectrum").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_ELECTRUM.setInactive();
|
||||
}
|
||||
TE_ELECTRUM.register();
|
||||
|
||||
|
||||
TE_PLATINUM.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEPlatinum());
|
||||
if (OreDictionary.getOres("nuggetPlatinum").size() > 0)
|
||||
{
|
||||
TE_PLATINUM.addSpecialty(OreDictionary.getOres("nuggetPlatinum").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_PLATINUM.setInactive();
|
||||
}
|
||||
TE_PLATINUM.register();
|
||||
|
||||
|
||||
TE_NICKEL.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTENickel());
|
||||
if (OreDictionary.getOres("nuggetNickel").size() > 0)
|
||||
{
|
||||
TE_NICKEL.addSpecialty(OreDictionary.getOres("nuggetNickel").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_NICKEL.setInactive();
|
||||
}
|
||||
TE_NICKEL.register();
|
||||
|
||||
|
||||
TE_INVAR.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEInvar());
|
||||
if (OreDictionary.getOres("nuggetInvar").size() > 0)
|
||||
{
|
||||
TE_INVAR.addSpecialty(OreDictionary.getOres("nuggetInvar").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_INVAR.setInactive();
|
||||
}
|
||||
TE_INVAR.register();
|
||||
|
||||
|
||||
TE_BRONZE.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEBronze());
|
||||
if (OreDictionary.getOres("nuggetBronze").size() > 0)
|
||||
{
|
||||
TE_BRONZE.addSpecialty(OreDictionary.getOres("nuggetBronze").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_BRONZE.setInactive();
|
||||
}
|
||||
TE_BRONZE.register();
|
||||
|
||||
|
||||
RSA_FLUXED.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateRSAFluxed());
|
||||
if (OreDictionary.getOres("nuggetElectrumFlux").size() > 0)
|
||||
{
|
||||
RSA_FLUXED.addSpecialty(OreDictionary.getOres("nuggetElectrumFlux").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
RSA_FLUXED.setInactive();
|
||||
}
|
||||
RSA_FLUXED.register();
|
||||
|
||||
|
||||
TE_DANTE.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.MOLTEN), 10)
|
||||
.addSpecialty(new ItemStack(Item.blazePowder), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEDante())
|
||||
.register();
|
||||
|
||||
TE_PYRO.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.MOLTEN), 10)
|
||||
.addSpecialty(new ItemStack(Item.blazePowder), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEPyro())
|
||||
.register();
|
||||
|
||||
TE_DESTABILIZED.addProduct(Config.combs.getStackForType(CombType.TE_DESTABILIZED), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.OCCULT), 10)
|
||||
.addSpecialty(new ItemStack(Item.redstone), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEDestabilized())
|
||||
.register();
|
||||
|
||||
TE_LUX.addProduct(Config.combs.getStackForType(CombType.TE_LUX), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.OCCULT), 10)
|
||||
.addSpecialty(new ItemStack(Item.glowstone), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTELux())
|
||||
.register();
|
||||
|
||||
TE_WINSOME.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.TE_ENDEARING), 5)
|
||||
.addSpecialty(new ItemStack(Item.enderPearl), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEWinsome())
|
||||
.register();
|
||||
|
||||
TE_ENDEARING.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.MYSTERIOUS.ordinal()), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.TE_ENDEARING), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEEndearing())
|
||||
.register();
|
||||
|
||||
TE_COAL.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.TE_CARBON), 5)
|
||||
.addSpecialty(new ItemStack(Item.coal), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTECoal())
|
||||
.register();
|
||||
|
||||
TE_BLIZZY.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.FROZEN.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEBlizzy())
|
||||
.register();
|
||||
|
||||
TE_GELID.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.FROZEN.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEBlizzy())
|
||||
.register();
|
||||
if (OreDictionary.getOres("nuggetElectrum").size() > 0)
|
||||
{
|
||||
TE_ELECTRUM.addSpecialty(OreDictionary.getOres("nuggetElectrum").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_ELECTRUM.setInactive();
|
||||
}
|
||||
TE_ELECTRUM.register();
|
||||
|
||||
|
||||
TE_PLATINUM.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEPlatinum());
|
||||
if (OreDictionary.getOres("nuggetPlatinum").size() > 0)
|
||||
{
|
||||
TE_PLATINUM.addSpecialty(OreDictionary.getOres("nuggetPlatinum").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_PLATINUM.setInactive();
|
||||
}
|
||||
TE_PLATINUM.register();
|
||||
|
||||
|
||||
TE_NICKEL.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTENickel());
|
||||
if (OreDictionary.getOres("nuggetNickel").size() > 0)
|
||||
{
|
||||
TE_NICKEL.addSpecialty(OreDictionary.getOres("nuggetNickel").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_NICKEL.setInactive();
|
||||
}
|
||||
TE_NICKEL.register();
|
||||
|
||||
|
||||
TE_INVAR.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEInvar());
|
||||
if (OreDictionary.getOres("nuggetInvar").size() > 0)
|
||||
{
|
||||
TE_INVAR.addSpecialty(OreDictionary.getOres("nuggetInvar").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_INVAR.setInactive();
|
||||
}
|
||||
TE_INVAR.register();
|
||||
|
||||
|
||||
TE_BRONZE.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEBronze());
|
||||
if (OreDictionary.getOres("nuggetBronze").size() > 0)
|
||||
{
|
||||
TE_BRONZE.addSpecialty(OreDictionary.getOres("nuggetBronze").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
TE_BRONZE.setInactive();
|
||||
}
|
||||
TE_BRONZE.register();
|
||||
|
||||
|
||||
RSA_FLUXED.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateRSAFluxed());
|
||||
if (OreDictionary.getOres("nuggetElectrumFlux").size() > 0)
|
||||
{
|
||||
RSA_FLUXED.addSpecialty(OreDictionary.getOres("nuggetElectrumFlux").get(0), 18);
|
||||
}
|
||||
else
|
||||
{
|
||||
RSA_FLUXED.setInactive();
|
||||
}
|
||||
RSA_FLUXED.register();
|
||||
|
||||
|
||||
TE_DANTE.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.MOLTEN), 10)
|
||||
.addSpecialty(new ItemStack(Item.blazePowder), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEDante())
|
||||
.register();
|
||||
|
||||
TE_PYRO.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.MOLTEN), 10)
|
||||
.addSpecialty(new ItemStack(Item.blazePowder), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEPyro())
|
||||
.register();
|
||||
|
||||
TE_DESTABILIZED.addProduct(Config.combs.getStackForType(CombType.TE_DESTABILIZED), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.OCCULT), 10)
|
||||
.addSpecialty(new ItemStack(Item.redstone), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEDestabilized())
|
||||
.register();
|
||||
|
||||
TE_LUX.addProduct(Config.combs.getStackForType(CombType.TE_LUX), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.OCCULT), 10)
|
||||
.addSpecialty(new ItemStack(Item.glowstone), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTELux())
|
||||
.register();
|
||||
|
||||
TE_WINSOME.addProduct(Config.combs.getStackForType(CombType.FURTIVE), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.TE_ENDEARING), 5)
|
||||
.addSpecialty(new ItemStack(Item.enderPearl), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEWinsome())
|
||||
.register();
|
||||
|
||||
TE_ENDEARING.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.MYSTERIOUS.ordinal()), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.TE_ENDEARING), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEEndearing())
|
||||
.register();
|
||||
|
||||
TE_COAL.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.addProduct(Config.combs.getStackForType(CombType.TE_CARBON), 5)
|
||||
.addSpecialty(new ItemStack(Item.coal), 5)
|
||||
.setGenome(BeeGenomeManager.getTemplateTECoal())
|
||||
.register();
|
||||
|
||||
TE_BLIZZY.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.FROZEN.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEBlizzy())
|
||||
.register();
|
||||
|
||||
TE_GELID.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.FROZEN.ordinal()), 10)
|
||||
.setGenome(BeeGenomeManager.getTemplateTEGelid())
|
||||
.register();
|
||||
}
|
||||
|
||||
|
||||
@@ -1329,8 +1323,6 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
return "/gfx/forestry/entities/bees/honeyBee.png";
|
||||
}
|
||||
|
||||
private static final BeeSpecies[] skulkingIconBees = { SKULKING, GHASTLY, SPIDERY, SMOULDERING, TC_BRAINY, TC_WISPY, TC_BATTY, AM_VORTEX, TC_WISPY };
|
||||
|
||||
@Override
|
||||
public void registerIcons(IconRegister itemMap)
|
||||
{
|
||||
@@ -1361,6 +1353,7 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
case SKULKING: case GHASTLY: case SPIDERY: case SMOULDERING:
|
||||
case TC_BRAINY: case TC_WISPY: case TC_BATTY:
|
||||
case AM_VORTEX: case AM_WIGHT:
|
||||
case TE_BLIZZY: case TE_GELID: case TE_DANTE: case TE_PYRO:
|
||||
value = CommonProxy.DOMAIN + ":bees/skulking/";
|
||||
break;
|
||||
|
||||
|
||||
@@ -48,8 +48,18 @@ public class ThermalExpansionHelper
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
public enum Entity
|
||||
{
|
||||
BLIZZ("Blizz"),
|
||||
;
|
||||
|
||||
public final String entityID;
|
||||
private Entity(String s)
|
||||
{
|
||||
this.entityID = s;
|
||||
}
|
||||
}
|
||||
|
||||
public static final String Name = "ThermalExpansion";
|
||||
private static boolean isThermalExpansionPresent = false;
|
||||
|
||||
@@ -65,8 +75,7 @@ public class ThermalExpansionHelper
|
||||
isThermalExpansionPresent = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static void init()
|
||||
{
|
||||
if (isActive()) {
|
||||
@@ -75,19 +84,15 @@ public class ThermalExpansionHelper
|
||||
}
|
||||
}
|
||||
|
||||
private static void getFluids() {
|
||||
private static void getFluids()
|
||||
{
|
||||
Config.teFluidGlowstone = FluidRegistry.getFluidStack("glowstone", 50);
|
||||
Config.teFluidCoal = FluidRegistry.getFluidStack("coal", 50);
|
||||
Config.teFluidRedstone = FluidRegistry.getFluidStack("redstone", 50);
|
||||
Config.teFluidEnder = FluidRegistry.getFluidStack("ender", 50);
|
||||
|
||||
|
||||
Config.teFluidEnder = FluidRegistry.getFluidStack("ender", 50);
|
||||
}
|
||||
|
||||
|
||||
private static void setupCrafting()
|
||||
{
|
||||
|
||||
//crucible recipes
|
||||
// carbon to liquid coal
|
||||
ItemStack carbonDrop = Config.drops.getStackForType(DropType.CARBON);
|
||||
@@ -139,8 +144,6 @@ public class ThermalExpansionHelper
|
||||
luxDrop.writeToNBT(toSend.getCompoundTag("input"));
|
||||
Config.teFluidGlowstone.writeToNBT(toSend.getCompoundTag("output"));
|
||||
FMLInterModComms.sendMessage("ThermalExpansion", "CrucibleRecipe", toSend);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public static void postInit()
|
||||
@@ -149,11 +152,9 @@ public class ThermalExpansionHelper
|
||||
{
|
||||
// Apparently the Game Registry isn't populated until now. ):
|
||||
getBlocks();
|
||||
getItems();
|
||||
|
||||
getItems();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void getBlocks()
|
||||
{
|
||||
@@ -179,9 +180,4 @@ public class ThermalExpansionHelper
|
||||
Config.teDustPlatinum = GameRegistry.findItemStack("ThermalExpansion", "dustPlatinum", 1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user