mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-27 23:45:37 +00:00
Adding Apatite bees.
Mutation class supports block requirements beneath the apiary. Can use blockId/blockId & meta/ore dictionary entry. Added Ars Magica recipe for Concentrated compound.
This commit is contained in:
1 parent
e5ae2527a9
commit
62b7d28020
10 files changed
+186
-27
No files matched your search
@@ -1,3 +1,5 @@
|
||||
Adding Apatite bees.
|
||||
|
||||
1.4.6
|
||||
Ars Magica integration! 13 new bee species to help you research & cast spells.
|
||||
Changing mutations around, because I'm still not happy with them. (Again.)
|
||||
|
||||
@@ -48,8 +48,9 @@
|
||||
<entry key="tb.nugget.tin">Tin Nugget</entry>
|
||||
<entry key="tb.nugget.silver">Silver Nugget</entry>
|
||||
<entry key="tb.nugget.lead">Lead Nugget</entry>
|
||||
<entry key="tb.nugget.diamond">Diamond Nugget</entry>
|
||||
<entry key="tb.nugget.emerald">Emerald Nugget</entry>
|
||||
<entry key="tb.nugget.diamond">Diamond Shard</entry>
|
||||
<entry key="tb.nugget.emerald">Emerald Shard</entry>
|
||||
<entry key="tb.nugget.apatite">Apatite Shard</entry>
|
||||
|
||||
<!-- Propolis names -->
|
||||
<entry key="tb.propolis.dull">Dull Propolis</entry>
|
||||
@@ -173,6 +174,8 @@
|
||||
<entry key="thaumicbees.speciesDiamond.description">Crystalline, glittering, and harder than dragon's teeth. These bees are none of those.|Apinomicon</entry>
|
||||
<entry key="thaumicbees.speciesEmerald">Esmeraldi</entry>
|
||||
<entry key="thaumicbees.speciesEmerald.description">It is said they have been to a land ruled by a Great Wizard, and have taken the aspect of his city.|Apinomicon</entry>
|
||||
<entry key="thaumicbees.speciesApatite">Apatine</entry>
|
||||
<entry key="thaumicbees.speciesApatite.description">Day and night the whining droned on. I barricaded the windows and hid in the cellar, but everywhere the high-pitched noise of the apatine bees penetrated the walls and drove me to distraction.|Beekeeping 101</entry>
|
||||
|
||||
<entry key="thaumicbees.speciesScholarly">Scholarly</entry>
|
||||
<entry key="thaumicbees.speciesScholarly.description">"I can't be sure, but I think they might be smarter than me..."|Yorae, Librarian</entry>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
@@ -627,6 +627,17 @@ public class BeeGenomeManager
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateApatite()
|
||||
{
|
||||
IAllele[] genome = getTemplateBaseMetallic();
|
||||
|
||||
genome[EnumBeeChromosome.SPECIES.ordinal()] = BeeSpecies.APATITE;
|
||||
genome[EnumBeeChromosome.SPEED.ordinal()] = Allele.getBaseAllele("speedNorm");
|
||||
genome[EnumBeeChromosome.LIFESPAN.ordinal()] = Allele.getBaseAllele("lifespanNormal");
|
||||
|
||||
return genome;
|
||||
}
|
||||
|
||||
public static IAllele[] getTemplateChicken()
|
||||
{
|
||||
IAllele[] genome = getTemplateBaseMetallic();
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
package thaumicbees.bees;
|
||||
|
||||
import forestry.api.apiculture.*;
|
||||
import forestry.api.core.BlockInterface;
|
||||
import forestry.api.core.ItemInterface;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IGenome;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import cpw.mods.fml.common.FMLLog;
|
||||
|
||||
import thaumcraft.api.ThaumcraftApi;
|
||||
@@ -15,6 +21,7 @@ import thaumicbees.main.utils.MoonPhase;
|
||||
import thaumicbees.main.utils.compat.ArsMagicaHelper;
|
||||
import thaumicbees.main.utils.compat.EquivalentExchangeHelper;
|
||||
import thaumicbees.main.utils.compat.ExtraBeesHelper;
|
||||
import thaumicbees.main.utils.compat.ForestryHelper;
|
||||
import thaumicbees.main.utils.compat.ThaumcraftHelper;
|
||||
|
||||
public class BeeMutation implements IBeeMutation
|
||||
@@ -54,8 +61,7 @@ public class BeeMutation implements IBeeMutation
|
||||
private static BeeMutation Lead;
|
||||
private static BeeMutation Diamond;
|
||||
private static BeeMutation Emerald;
|
||||
private static BeeMutation Lead1;
|
||||
private static BeeMutation Lead2;
|
||||
private static BeeMutation Apatite;
|
||||
|
||||
private static BeeMutation Vis;
|
||||
private static BeeMutation Vis1;
|
||||
@@ -101,18 +107,18 @@ public class BeeMutation implements IBeeMutation
|
||||
BeeMutation.Arcane = new BeeMutation(BeeSpecies.ESOTERIC, BeeSpecies.MYSTERIOUS, BeeSpecies.ARCANE, 8)
|
||||
.setMoonPhaseBonus(MoonPhase.WANING_CRESCENT, MoonPhase.WAXING_CRESCENT, 1.5f);
|
||||
|
||||
BeeMutation.Charmed = new BeeMutation(Allele.getBaseSpecies("Diligent"), Allele.getBaseSpecies("Valiant"), BeeSpecies.CHARMED, 20);
|
||||
BeeMutation.Charmed1 = new BeeMutation(Allele.getBaseSpecies("Diligent"), Allele.getBaseSpecies("Monastic"), BeeSpecies.CHARMED, 20);
|
||||
BeeMutation.Charmed = new BeeMutation(Allele.getBaseSpecies("Diligent"), Allele.getBaseSpecies("Valiant"), BeeSpecies.CHARMED, 12);
|
||||
BeeMutation.Charmed1 = new BeeMutation(Allele.getBaseSpecies("Diligent"), Allele.getBaseSpecies("Monastic"), BeeSpecies.CHARMED, 18);
|
||||
BeeMutation.Enchanted = new BeeMutation(BeeSpecies.CHARMED, Allele.getBaseSpecies("Valiant"), BeeSpecies.ENCHANTED, 8);
|
||||
BeeMutation.Enchanted1 = new BeeMutation(BeeSpecies.CHARMED, Allele.getBaseSpecies("Monastic"), BeeSpecies.ENCHANTED, 8);
|
||||
BeeMutation.Supernatural = new BeeMutation(BeeSpecies.CHARMED, BeeSpecies.ENCHANTED, BeeSpecies.SUPERNATURAL, 10)
|
||||
BeeMutation.Supernatural = new BeeMutation(BeeSpecies.CHARMED, BeeSpecies.ENCHANTED, BeeSpecies.SUPERNATURAL, 6)
|
||||
.setMoonPhaseBonus(MoonPhase.WAXING_GIBBOUS, MoonPhase.WANING_GIBBOUS, 1.5f);
|
||||
|
||||
BeeMutation.Pupil = new BeeMutation(Allele.getBaseSpecies("Hermitic"), BeeSpecies.ENCHANTED, BeeSpecies.PUPIL, 10);
|
||||
|
||||
BeeMutation.Stark = new BeeMutation(BeeSpecies.ARCANE, BeeSpecies.SUPERNATURAL, BeeSpecies.STARK, 8);
|
||||
|
||||
BeeMutation.Spidery = new BeeMutation(BeeSpecies.SKULKING, Allele.getBaseSpecies("Tropical"), BeeSpecies.SPIDERY, 13);
|
||||
BeeMutation.Spidery = new BeeMutation(BeeSpecies.SKULKING, Allele.getBaseSpecies("Tropical"), BeeSpecies.SPIDERY, 10);
|
||||
|
||||
BeeMutation.Aware = new BeeMutation(Allele.getBaseSpecies("Demonic"), Allele.getBaseSpecies("Edenic"), BeeSpecies.AWARE, 12);
|
||||
|
||||
@@ -120,44 +126,73 @@ public class BeeMutation implements IBeeMutation
|
||||
BeeMutation.Lordly = new BeeMutation(BeeSpecies.TIMELY, Allele.getBaseSpecies("Imperial"), BeeSpecies.LORDLY, 9);
|
||||
BeeMutation.Doctoral = new BeeMutation(BeeSpecies.TIMELY, BeeSpecies.LORDLY, BeeSpecies.DOCTORAL, 7);
|
||||
|
||||
BeeMutation.Spirit = new BeeMutation(Allele.getBaseSpecies("Fiendish"), BeeSpecies.ENCHANTED, BeeSpecies.SPIRIT, 12);
|
||||
BeeMutation.Spirit1 = new BeeMutation(Allele.getBaseSpecies("Fiendish"), Allele.getBaseSpecies("Ended"), BeeSpecies.SPIRIT, 20);
|
||||
BeeMutation.Spirit = new BeeMutation(Allele.getBaseSpecies("Fiendish"), BeeSpecies.ENCHANTED, BeeSpecies.SPIRIT, 8);
|
||||
BeeMutation.Spirit1 = new BeeMutation(Allele.getBaseSpecies("Fiendish"), Allele.getBaseSpecies("Ended"), BeeSpecies.SPIRIT, 13);
|
||||
BeeMutation.Soul = new BeeMutation(Allele.getBaseSpecies("Fiendish"), BeeSpecies.SPIRIT, BeeSpecies.SOUL, 11);
|
||||
|
||||
BeeMutation.Iron = new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Common"), BeeSpecies.IRON, 10);
|
||||
BeeMutation.Iron = new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Common"), BeeSpecies.IRON, 8)
|
||||
.setBlockRequired(Block.blockIron);
|
||||
|
||||
baseA = (BeeSpecies.MINIUM.isActive()) ? BeeSpecies.MINIUM : Allele.getBaseSpecies("Imperial");
|
||||
baseB = (BeeSpecies.LEAD.isActive()) ? BeeSpecies.LEAD : BeeSpecies.IRON;
|
||||
BeeMutation.Gold = new BeeMutation(baseA, baseB, BeeSpecies.GOLD, 8);
|
||||
BeeMutation.Gold = new BeeMutation(baseA, baseB, BeeSpecies.GOLD, 5)
|
||||
.setBlockRequired(Block.blockGold);
|
||||
|
||||
if (BeeSpecies.COPPER.isActive())
|
||||
{
|
||||
BeeMutation.Copper = new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Meadows"), BeeSpecies.COPPER, 12);
|
||||
BeeMutation.Copper = new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Meadows"), BeeSpecies.COPPER, 10);
|
||||
if (OreDictionary.getOres("blockCopper").size() > 0)
|
||||
{
|
||||
Copper.setBlockRequired("blockCopper");
|
||||
}
|
||||
}
|
||||
if (BeeSpecies.TIN.isActive())
|
||||
{
|
||||
BeeMutation.Tin = new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Forest"), BeeSpecies.TIN, 12);
|
||||
BeeMutation.Tin = new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Forest"), BeeSpecies.TIN, 9);
|
||||
if (OreDictionary.getOres("blockTin").size() > 0)
|
||||
{
|
||||
Tin.setBlockRequired("blockTin");
|
||||
}
|
||||
}
|
||||
if (BeeSpecies.SILVER.isActive())
|
||||
{
|
||||
BeeMutation.Silver = new BeeMutation(Allele.getBaseSpecies("Imperial"), Allele.getBaseSpecies("Modest"), BeeSpecies.SILVER, 10);
|
||||
BeeMutation.Silver = new BeeMutation(Allele.getBaseSpecies("Imperial"), Allele.getBaseSpecies("Modest"), BeeSpecies.SILVER, 8);
|
||||
if (OreDictionary.getOres("blockSilver").size() > 0)
|
||||
{
|
||||
Silver.setBlockRequired("blockSilver");
|
||||
}
|
||||
}
|
||||
if (BeeSpecies.LEAD.isActive())
|
||||
{
|
||||
if (BeeSpecies.COPPER.isActive())
|
||||
{
|
||||
BeeMutation.Lead = new BeeMutation(Allele.getBaseSpecies("Industrious"), BeeSpecies.COPPER, BeeSpecies.LEAD, 13);
|
||||
}
|
||||
if (BeeSpecies.TIN.isActive())
|
||||
{
|
||||
BeeMutation.Lead1 = new BeeMutation(Allele.getBaseSpecies("Industrious"), BeeSpecies.TIN, BeeSpecies.LEAD, 13);
|
||||
baseA = BeeSpecies.TIN;
|
||||
}
|
||||
else if (BeeSpecies.COPPER.isActive())
|
||||
{
|
||||
baseA = BeeSpecies.COPPER;
|
||||
}
|
||||
else
|
||||
{
|
||||
baseA = BeeSpecies.IRON;
|
||||
}
|
||||
BeeMutation.Lead = new BeeMutation(baseA, Allele.getBaseSpecies("Common"), BeeSpecies.LEAD, 8);
|
||||
|
||||
if (OreDictionary.getOres("blockLead").size() > 0)
|
||||
{
|
||||
Lead.setBlockRequired("blockLead");
|
||||
}
|
||||
BeeMutation.Lead2 = new BeeMutation(Allele.getBaseSpecies("Industrious"), Allele.getBaseSpecies("Common"), BeeSpecies.LEAD, 9);
|
||||
}
|
||||
|
||||
BeeMutation.Diamond = new BeeMutation(Allele.getBaseSpecies("Austere"), BeeSpecies.GOLD, BeeSpecies.DIAMOND, 6);
|
||||
BeeMutation.Diamond = new BeeMutation(Allele.getBaseSpecies("Austere"), BeeSpecies.GOLD, BeeSpecies.DIAMOND, 4)
|
||||
.setBlockRequired(Block.blockDiamond);
|
||||
|
||||
baseA = (BeeSpecies.SILVER.isActive()) ? BeeSpecies.SILVER : Allele.getBaseSpecies("Imperial");
|
||||
BeeMutation.Emerald = new BeeMutation(Allele.getBaseSpecies("Austere"), baseA, BeeSpecies.EMERALD, 6);
|
||||
BeeMutation.Emerald = new BeeMutation(Allele.getBaseSpecies("Austere"), baseA, BeeSpecies.EMERALD, 4)
|
||||
.setBlockRequired(Block.blockEmerald);
|
||||
|
||||
BeeMutation.Apatite = new BeeMutation(BeeSpecies.EARTH, Allele.getBaseSpecies("Rural"), BeeSpecies.APATITE, 6)
|
||||
.setBlockAndMetaRequired(BlockInterface.getBlock("resources").itemID, ForestryHelper.BlockResource.APATITE.ordinal());
|
||||
|
||||
// Now we get into a little bit of branching...
|
||||
if (ExtraBeesHelper.isActive())
|
||||
@@ -258,7 +293,7 @@ public class BeeMutation implements IBeeMutation
|
||||
|
||||
if (ExtraBeesHelper.isActive())
|
||||
{
|
||||
BeeMutation.Vortex = new BeeMutation(BeeSpecies.QUINTESSENCE, Allele.getExtraSpecies("creepy"), BeeSpecies.VORTEX, 12);
|
||||
BeeMutation.Vortex = new BeeMutation(BeeSpecies.QUINTESSENCE, Allele.getExtraSpecies("creeper"), BeeSpecies.VORTEX, 12);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -279,6 +314,10 @@ public class BeeMutation implements IBeeMutation
|
||||
private boolean nodeRequired;
|
||||
private EnumNodeType nodeType;
|
||||
private double nodeRange;
|
||||
private boolean requiresBlock;
|
||||
private int requiredBlockId;
|
||||
private int requiredBlockMeta;
|
||||
private String requiredBlockOreDictEntry;
|
||||
|
||||
public BeeMutation(IAlleleBeeSpecies species0, IAlleleBeeSpecies species1, BeeSpecies resultSpecies, int percentChance)
|
||||
{
|
||||
@@ -290,6 +329,9 @@ public class BeeMutation implements IBeeMutation
|
||||
this.isMoonRestricted = false;
|
||||
this.moonPhaseMutationBonus = -1f;
|
||||
this.nodeType = null;
|
||||
this.requiresBlock = false;
|
||||
this.requiredBlockMeta = OreDictionary.WILDCARD_VALUE;
|
||||
this.requiredBlockOreDictEntry = null;
|
||||
|
||||
BeeManager.breedingManager.registerBeeMutation(this);
|
||||
}
|
||||
@@ -341,6 +383,32 @@ public class BeeMutation implements IBeeMutation
|
||||
}
|
||||
}
|
||||
|
||||
if (this.requiresBlock)
|
||||
{
|
||||
int blockId = housing.getWorld().getBlockId(housing.getXCoord(), housing.getYCoord() - 1, housing.getZCoord());
|
||||
int blockMeta = housing.getWorld().getBlockMetadata(housing.getXCoord(), housing.getYCoord() - 1, housing.getZCoord());
|
||||
|
||||
if (this.requiredBlockOreDictEntry != null)
|
||||
{
|
||||
int dicId = OreDictionary.getOreID(new ItemStack(blockId, 1, blockMeta));
|
||||
if (dicId != -1)
|
||||
{
|
||||
if (!OreDictionary.getOreName(dicId).equals(this.requiredBlockOreDictEntry))
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
else if (this.requiredBlockId != blockId || (this.requiredBlockMeta != OreDictionary.WILDCARD_VALUE && this.requiredBlockMeta != blockMeta))
|
||||
{
|
||||
chance = 0;
|
||||
}
|
||||
}
|
||||
|
||||
finalChance = Math.round(chance
|
||||
* housing.getMutationModifier((IBeeGenome) genome0,
|
||||
(IBeeGenome) genome1, chance)
|
||||
@@ -403,6 +471,48 @@ public class BeeMutation implements IBeeMutation
|
||||
return isSecret;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockRequired(int blockId)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = blockId;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockRequired(Block block)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = block.blockID;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockAndMetaRequired(int blockId, int meta)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = blockId;
|
||||
this.requiredBlockMeta = meta;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockAndMetaRequired(Block block, int meta)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockId = block.blockID;
|
||||
this.requiredBlockMeta = meta;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setBlockRequired(String oreDictEntry)
|
||||
{
|
||||
this.requiresBlock = true;
|
||||
this.requiredBlockOreDictEntry = oreDictEntry;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BeeMutation setMoonPhaseRestricted(MoonPhase begin, MoonPhase end)
|
||||
{
|
||||
this.isMoonRestricted = true;
|
||||
|
||||
@@ -95,7 +95,10 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
BeeClassification.GEM, 0x209581, 0x8DF5E3, EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, false),
|
||||
EMERALD("Emerald", "prasinus",
|
||||
BeeClassification.GEM, 0x005300, 0x17DD62, EnumTemperature.NORMAL, EnumHumidity.NORMAL, true, false),
|
||||
APATITE("Apatite", "apatite",
|
||||
BeeClassification.GEM, 0x2EA7EC, 0x001D51, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, false),
|
||||
|
||||
// --------- Thaumcraft Bees ---------------------------------------------------------------------------------------
|
||||
SCHOLARLY("Scholarly", "studiosis",
|
||||
BeeClassification.SCHOLARLY, 0x6E0000, EnumTemperature.NORMAL, EnumHumidity.ARID, false, false),
|
||||
SAVANT("Savant", "philologus",
|
||||
@@ -126,10 +129,12 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
BeeClassification.FLESHY, 0x40221A, 0xAC6753, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, true),
|
||||
PORK("Pork", "porcina",
|
||||
BeeClassification.FLESHY, 0x725D2F, 0xD2BF93, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, true),
|
||||
|
||||
|
||||
// --------- Equivalent Exchange Bees -----------------------------------------------------------------------------
|
||||
MINIUM("Minium", "mutabilis",
|
||||
BeeClassification.ALCHEMICAL, 0xac0921, 0x3a030b, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, true),
|
||||
|
||||
// --------- Ars Magica Bees --------------------------------------------------------------------------------------
|
||||
ESSENCE("Essence", "essentia",
|
||||
BeeClassification.ESSENTIAL, 0x86BBC5, 0xE3A55B, EnumTemperature.NORMAL, EnumHumidity.NORMAL, false, true),
|
||||
QUINTESSENCE("Quintessence", "cor essentia",
|
||||
@@ -365,6 +370,10 @@ public enum BeeSpecies implements IAlleleBeeSpecies, IIconProvider
|
||||
.addSpecialty(Config.nuggets.getStackForType(NuggetType.EMERALD), 2)
|
||||
.setGenome(BeeGenomeManager.getTemplateEmerald())
|
||||
.register();
|
||||
APATITE.addProduct(new ItemStack(Config.fBeeComb, 1, ForestryHelper.Comb.HONEY.ordinal()), 10)
|
||||
.addSpecialty(Config.nuggets.getStackForType(NuggetType.APATITE), 2)
|
||||
.setGenome(BeeGenomeManager.getTemplateApatite())
|
||||
.register();
|
||||
|
||||
INFUSED.addProduct(Config.combs.getStackForType(CombType.INFUSED), 20)
|
||||
.setGenome(BeeGenomeManager.getTemplateInfused())
|
||||
|
||||
@@ -12,6 +12,7 @@ public enum NuggetType
|
||||
LEAD,
|
||||
DIAMOND,
|
||||
EMERALD,
|
||||
APATITE,
|
||||
;
|
||||
|
||||
private Item targetIngot;
|
||||
|
||||
@@ -181,7 +181,7 @@ public class Config
|
||||
|
||||
Item item = new ItemMultiTextureTile(planksWood.blockID - 256, planksWood, PlankType.getAllNames());
|
||||
Item.itemsList[planksWood.blockID] = item;
|
||||
|
||||
|
||||
OreDictionary.registerOre("plankWood", new ItemStack(planksWood, 1, -1));
|
||||
FMLInterModComms.sendMessage("BuildCraft|Transport", "add-facade", ThaumicBees.getConfig().planksWood.blockID + "@" + PlankType.GREATWOOD.ordinal());
|
||||
FMLInterModComms.sendMessage("BuildCraft|Transport", "add-facade", ThaumicBees.getConfig().planksWood.blockID + "@" + PlankType.SILVERWOOD.ordinal());
|
||||
|
||||
@@ -189,6 +189,11 @@ public class CraftingManager
|
||||
"xxx", "xxx", "xxx",
|
||||
'x', "shardEmerald"
|
||||
}));
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(ItemInterface.getItem("apatite"), new Object[] {
|
||||
"xxx", "xxx", "xxx",
|
||||
'x', Config.nuggets.getStackForType(NuggetType.APATITE)
|
||||
}));
|
||||
|
||||
if (ThaumcraftHelper.isActive())
|
||||
{
|
||||
@@ -249,6 +254,16 @@ public class CraftingManager
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (ArsMagicaHelper.isActive())
|
||||
{
|
||||
input = ItemInterface.getItem("apatite");
|
||||
output = Config.miscResources.getStackForType(ResourceType.EXTENDED_FERTILIZER, 4);
|
||||
GameRegistry.addShapelessRecipe(output, new Object[] {
|
||||
new ItemStack(Config.amEssenceEarth), new ItemStack(Config.amEssencePlant),
|
||||
input, input
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private static void setupCentrifugeRecipes()
|
||||
|
||||
@@ -7,7 +7,15 @@ import forestry.api.core.ItemInterface;
|
||||
import thaumicbees.main.Config;
|
||||
|
||||
public class ForestryHelper
|
||||
{
|
||||
{
|
||||
public enum BlockResource
|
||||
{
|
||||
APATITE,
|
||||
COPPER,
|
||||
TIN,
|
||||
;
|
||||
}
|
||||
|
||||
public enum CraftingMaterial
|
||||
{
|
||||
PULSATING_DUST, // unused
|
||||
|
||||
Reference in new issue
Block a user