package makeo.gadomancy.common.registration; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.CraftingManager; import net.minecraft.item.crafting.IRecipe; import cpw.mods.fml.common.FMLLog; import cpw.mods.fml.common.registry.GameRegistry; import makeo.gadomancy.api.golems.AdditionalGolemType; import makeo.gadomancy.common.Gadomancy; import makeo.gadomancy.common.crafting.EtherealFamiliarCreationRecipe; import makeo.gadomancy.common.crafting.EtherealFamiliarUpgradeRecipe; import makeo.gadomancy.common.crafting.FamiliarUndoRecipe; import makeo.gadomancy.common.crafting.InfusionDisguiseArmor; import makeo.gadomancy.common.crafting.InfusionUpgradeRecipe; import makeo.gadomancy.common.crafting.RecipeStickyJar; import makeo.gadomancy.common.data.config.ModConfig; import makeo.gadomancy.common.familiar.FamiliarAugment; import makeo.gadomancy.common.items.ItemAuraCore; import makeo.gadomancy.common.items.ItemElement; import makeo.gadomancy.common.items.baubles.ItemEtherealFamiliar; import makeo.gadomancy.common.research.SimpleResearchItem; import makeo.gadomancy.common.utils.RandomizedAspectList; import thaumcraft.api.ThaumcraftApi; import thaumcraft.api.aspects.Aspect; import thaumcraft.api.aspects.AspectList; import thaumcraft.api.crafting.CrucibleRecipe; import thaumcraft.api.crafting.IArcaneRecipe; import thaumcraft.api.crafting.InfusionEnchantmentRecipe; import thaumcraft.api.crafting.InfusionRecipe; import thaumcraft.common.config.Config; import thaumcraft.common.config.ConfigBlocks; import thaumcraft.common.config.ConfigItems; import thaumcraft.common.items.wands.ItemWandCasting; /** * This class is part of the Gadomancy Mod Gadomancy is Open Source and distributed under the GNU LESSER GENERAL PUBLIC * LICENSE for more read the LICENSE file *
* Created by makeo @ 16.06.2015 01:17
*/
public class RegisteredRecipes {
private RegisteredRecipes() {}
public static AspectList costsNodeManipulatorMultiblock = new AspectList().add(Aspect.FIRE, 100)
.add(Aspect.WATER, 100).add(Aspect.EARTH, 100).add(Aspect.AIR, 100).add(Aspect.ORDER, 100)
.add(Aspect.ENTROPY, 100);
public static AspectList costsEldritchPortalCreatorMultiblock = new AspectList().add(Aspect.FIRE, 150)
.add(Aspect.WATER, 150).add(Aspect.EARTH, 150).add(Aspect.AIR, 150).add(Aspect.ORDER, 150)
.add(Aspect.ENTROPY, 150);
public static AspectList costsAuraPylonMultiblock = new AspectList().add(Aspect.FIRE, 150).add(Aspect.WATER, 150)
.add(Aspect.EARTH, 150).add(Aspect.AIR, 150).add(Aspect.ORDER, 150).add(Aspect.ENTROPY, 150);
public static AspectList costsCompressorMultiblock = new AspectList().add(Aspect.WATER, 140).add(Aspect.EARTH, 80)
.add(Aspect.AIR, 150).add(Aspect.ORDER, 20).add(Aspect.ENTROPY, 140);
// public static AspectList costsAuraCoreStart = new AspectList().add(Aspect.FIRE, 70).add(Aspect.WATER,
// 70).add(Aspect.EARTH, 70).add(Aspect.AIR, 70).add(Aspect.ORDER, 70).add(Aspect.ENTROPY, 70);
public static List multiblockNodeManipulator;
public static List multiblockEldritchPortalCreator;
public static List multiblockAuraPylon;
public static List multiblockEssentiaCompressor;
public static List[] auraCoreRecipes;
public static InfusionRecipe recipeGolemSilverwood;
public static InfusionRecipe[] recipesGolemRunicShield;
public static InfusionRecipe recipeGolemCoreBreak;
public static InfusionRecipe recipeInfusionClaw;
public static InfusionRecipe recipeNodeManipulator;
public static InfusionRecipe recipeRandomizationFocus;
public static InfusionRecipe recipeFamiliar;
public static InfusionRecipe recipeGolemCoreBodyguard;
public static InfusionRecipe recipePortalFocus;
public static InfusionRecipe recipeElementVoid;
public static InfusionRecipe recipeAiShutdown;
// For indexing, look below...
public static InfusionRecipe[] recipesFamiliarAugmentation;
public static IArcaneRecipe recipeStickyJar;
public static IArcaneRecipe recipeArcaneDropper;
public static IArcaneRecipe recipeRemoteJar;
public static IArcaneRecipe recipeAncientPedestal;
public static IArcaneRecipe[] recipeBlockProtector;
public static CrucibleRecipe recipeAncientStonePedestal;
public static IArcaneRecipe recipeAncientStone;
public static IArcaneRecipe eldritchdecoblocks1;
public static IArcaneRecipe eldritchdecoblocks2;
public static IArcaneRecipe eldritchdecoblocks3;
public static IArcaneRecipe eldritchdecoblocks4;
public static IArcaneRecipe eldritchdecoblocks5;
public static InfusionRecipe eldritchdecoblocks6;
public static CrucibleRecipe[] recipesWashAuraCore;
public static IRecipe[] recipesUndoAuraCore;
public static InfusionRecipe recipeAuraCore;
public static IArcaneRecipe recipeAuraPylon;
public static IArcaneRecipe recipeAuraPylonPeak;
public static IArcaneRecipe recipeArcanePackager;
public static IArcaneRecipe recipeKnowledgeBook;
public static IArcaneRecipe recipeEssentiaCompressor;
public static InfusionEnchantmentRecipe recipeRevealer;
/**
* Creates the randomized aspect lists used by the infusion recipes below. If Aspect Recipe Index (or a version
* providing its range api) is present, a variant implementing the range interface is used so NEI can show the
* possible cost ranges; otherwise the plain list is returned. The ranged class is loaded reflectively because
* linking it directly would make Gadomancy fail to start without Aspect Recipe Index.
*/
private static RandomizedAspectList createRandomizedAspectList() {
try {
return (RandomizedAspectList) Class.forName("makeo.gadomancy.common.utils.RandomizedAspectListRanged")
.getDeclaredConstructor().newInstance();
} catch (ReflectiveOperationException | LinkageError e) {
FMLLog.info("[Gadomancy] Aspect Recipe Index range api not available, cost range tooltips disabled");
return new RandomizedAspectList();
}
}
@SuppressWarnings("unchecked")
public static void init() {
AdditionalGolemType typeSilverwood = RegisteredGolemStuff.typeSilverwood;
RegisteredRecipes.recipeGolemSilverwood = ThaumcraftApi.addInfusionCraftingRecipe(
SimpleResearchItem.getFullName("GOLEMSILVERWOOD"),
/* new ItemStack(Items.bread, 1, 0), */ new ItemStack(
typeSilverwood.getPlacerItem(),
1,
typeSilverwood.getEnumEntry().ordinal()),
7,
new AspectList().add(Aspect.MOTION, 16).add(Aspect.MAGIC, 16).add(Aspect.MAN, 16)
.add(Aspect.SENSES, 16),
new ItemStack(ConfigBlocks.blockMagicalLog, 1, 1),
new ItemStack[] { new ItemStack(ConfigItems.itemResource, 1, 15),
new ItemStack(ConfigItems.itemResource, 1, 14), new ItemStack(ConfigItems.itemResource, 1, 9),
new ItemStack(ConfigItems.itemResource, 1, 3), new ItemStack(ConfigItems.itemResource, 1, 14),
new ItemStack(ConfigItems.itemResource, 1, 9), new ItemStack(ConfigItems.itemResource, 1, 3) });
RegisteredRecipes.recipesGolemRunicShield = InfusionUpgradeRecipe.createRecipes(
SimpleResearchItem.getFullName("GOLEMRUNICSHIELD"),
RegisteredGolemStuff.upgradeRunicShield,
5,
new AspectList().add(Aspect.MAGIC, 16).add(Aspect.ENERGY, 16).add(Aspect.ARMOR, 8).add(Aspect.AURA, 4),
new ItemStack[] { new ItemStack(ConfigItems.itemGirdleRunic, 1, 0),
new ItemStack(ConfigItems.itemResource, 1, 14),
new ItemStack(ConfigItems.itemResource, 1, 14) });
ThaumcraftApi.getCraftingRecipes().addAll(Arrays.asList(RegisteredRecipes.recipesGolemRunicShield));
RegisteredRecipes.recipeStickyJar = new RecipeStickyJar();
ThaumcraftApi.getCraftingRecipes().add(RegisteredRecipes.recipeStickyJar);
RegisteredRecipes.recipeArcaneDropper = ThaumcraftApi.addArcaneCraftingRecipe(
SimpleResearchItem.getFullName("ARCANEDROPPER"),
new ItemStack(RegisteredBlocks.blockArcaneDropper),
new AspectList().add(Aspect.ORDER, 14).add(Aspect.AIR, 14).add(Aspect.EARTH, 10),
"SDS",
"BAB",
"SSS",
'S',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
'D',
new ItemStack(Blocks.dropper),
'A',
new ItemStack(ConfigBlocks.blockMetalDevice, 1, 9),
'B',
new ItemStack(ConfigBlocks.blockWoodenDevice));
RegisteredRecipes.recipeGolemCoreBreak = ThaumcraftApi.addInfusionCraftingRecipe(
SimpleResearchItem.getFullName("GOLEMCOREBREAK"),
new ItemStack(RegisteredItems.itemGolemCoreBreak),
3,
new AspectList().add(Aspect.ENTROPY, 16).add(Aspect.TOOL, 24).add(Aspect.MECHANISM, 16),
new ItemStack(ConfigItems.itemGolemCore, 1, 3),
new ItemStack[] { new ItemStack(ConfigItems.itemShovelElemental),
new ItemStack(ConfigItems.itemPickElemental), new ItemStack(ConfigItems.itemAxeElemental) });
RegisteredRecipes.recipeInfusionClaw = ThaumcraftApi.addInfusionCraftingRecipe(
SimpleResearchItem.getFullName("INFUSIONCLAW"),
new ItemStack(RegisteredBlocks.blockInfusionClaw),
10,
new AspectList().add(Aspect.ELDRITCH, 25).add(Aspect.MECHANISM, 20).add(Aspect.MAGIC, 16)
.add(Aspect.ORDER, 20).add(Aspect.DARKNESS, 12),
new ItemStack(ConfigBlocks.blockStoneDevice, 1, 5),
new ItemStack[] { new ItemStack(ConfigItems.itemFocusPrimal), /* new ItemStack(Items.redstone), */
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
new ItemStack(ConfigItems.itemGolemCore, 1, 8), new ItemStack(ConfigItems.itemResource, 1, 16),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
new ItemStack(ConfigItems.itemResource, 1, 15), /* new ItemStack(Items.redstone), */
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
new ItemStack(ConfigItems.itemZombieBrain), new ItemStack(ConfigItems.itemResource, 1, 16),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6) });
RegisteredRecipes.recipeRemoteJar = ThaumcraftApi.addArcaneCraftingRecipe(
SimpleResearchItem.getFullName("REMOTEJAR"),
new ItemStack(RegisteredBlocks.blockRemoteJar),
new AspectList().add(Aspect.WATER, 10).add(Aspect.EARTH, 10).add(Aspect.ORDER, 10),
"GJG",
"GMG",
'G',
new ItemStack(ConfigBlocks.blockMagicalLog),
'J',
new ItemStack(ConfigBlocks.blockJar),
'M',
(Config.allowMirrors ? new ItemStack(ConfigBlocks.blockMirror, 1, 6)
: new ItemStack(ConfigItems.itemResource, 1, 10)));
RegisteredRecipes.recipeNodeManipulator = ThaumcraftApi.addInfusionCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".NODE_MANIPULATOR",
new ItemStack(RegisteredBlocks.blockNodeManipulator, 1, 5),
10,
new AspectList().add(Aspect.AURA, 42).add(Aspect.ELDRITCH, 22).add(Aspect.MAGIC, 38)
.add(Aspect.MECHANISM, 28).add(Aspect.DARKNESS, 14),
new ItemStack(ConfigBlocks.blockStoneDevice, 1, 5),
new ItemStack[] { new ItemStack(ConfigBlocks.blockStoneDevice, 1, 9),
new ItemStack(ConfigBlocks.blockCrystal, 1, 6), new ItemStack(ConfigItems.itemResource, 1, 17),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
new ItemStack(ConfigItems.itemResource, 1, 1), new ItemStack(ConfigItems.itemResource, 1, 15),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 3),
new ItemStack(ConfigBlocks.blockCrystal, 1, 6), new ItemStack(ConfigItems.itemResource, 1, 17),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
new ItemStack(ConfigItems.itemResource, 1, 1),
new ItemStack(ConfigItems.itemResource, 1, 15) });
RegisteredRecipes.recipeRandomizationFocus = ThaumcraftApi.addInfusionCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".NODE_MANIPULATOR",
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 0),
7,
new AspectList().add(Aspect.ELDRITCH, 18).add(Aspect.MAGIC, 18).add(Aspect.MECHANISM, 20)
.add(Aspect.DARKNESS, 28).add(Aspect.ORDER, 30),
new ItemStack(ConfigBlocks.blockStoneDevice, 1, 8),
new ItemStack[] { new ItemStack(ConfigItems.itemResource, 1, 15),
new ItemStack(ConfigItems.itemResource, 1, 16), new ItemStack(ConfigBlocks.blockCrystal, 1, 6),
new ItemStack(ConfigItems.itemResource, 1, 16), new ItemStack(ConfigItems.itemResource, 1, 15),
new ItemStack(ConfigItems.itemResource, 1, 16), new ItemStack(ConfigBlocks.blockCrystal, 1, 6),
new ItemStack(ConfigItems.itemResource, 1, 16) });
RegisteredRecipes.recipePortalFocus = ThaumcraftApi.addInfusionCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".E_PORTAL_CREATOR",
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 3),
7,
new AspectList().add(Aspect.ELDRITCH, 22).add(Aspect.VOID, 38).add(Aspect.MECHANISM, 30)
.add(Aspect.DARKNESS, 28).add(Aspect.EXCHANGE, 38),
new ItemStack(ConfigBlocks.blockStoneDevice, 1, 8),
new ItemStack[] { new ItemStack(ConfigItems.itemEldritchObject, 1, 0),
new ItemStack(ConfigBlocks.blockCrystal, 1, 5), new ItemStack(ConfigItems.itemResource, 1, 16),
new ItemStack(ConfigBlocks.blockCrystal, 1, 5),
new ItemStack(ConfigItems.itemEldritchObject, 1, 0),
new ItemStack(ConfigBlocks.blockCrystal, 1, 5), new ItemStack(ConfigItems.itemResource, 1, 16),
new ItemStack(ConfigBlocks.blockCrystal, 1, 5) });
if (ModConfig.eldritchdecoblocks) {
// Glowing Crusted Stone
RegisteredRecipes.eldritchdecoblocks1 = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockEldritch, 3, 4),
new AspectList().add(Aspect.AIR, 25).add(Aspect.EARTH, 25).add(Aspect.ENTROPY, 25)
.add(Aspect.FIRE, 25),
"GNG",
"NSN",
"GNG",
'N',
new ItemStack(ConfigItems.itemResource, 1, 1),
'S',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 14),
'G',
new ItemStack(Items.glowstone_dust));
// Crusted Stone
RegisteredRecipes.eldritchdecoblocks2 = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockCosmeticSolid, 4, 14),
new AspectList().add(Aspect.ENTROPY, 50).add(Aspect.EARTH, 50).add(Aspect.FIRE, 50),
"GCG",
"CSC",
"GCG",
'C',
new ItemStack(Blocks.mossy_cobblestone),
'S',
new ItemStack(ConfigBlocks.blockCrystal, 1, 6),
'G',
new ItemStack(ConfigItems.itemResource, 1, 14));
// Glyphed Stone
RegisteredRecipes.eldritchdecoblocks3 = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockEldritch, 2, 5),
new AspectList().add(Aspect.ENTROPY, 32).add(Aspect.EARTH, 32).add(Aspect.WATER, 32)
.add(Aspect.AIR, 32).add(Aspect.ORDER, 32),
"KKK",
"KGK",
"KKK",
'K',
new ItemStack(ConfigItems.itemResource, 1, 9),
'G',
new ItemStack(ConfigBlocks.blockEldritch, 1, 4));
// Ancient Rock
RegisteredRecipes.eldritchdecoblocks4 = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockCosmeticSolid, 6, 12),
new AspectList().add(Aspect.ENTROPY, 12).add(Aspect.EARTH, 12).add(Aspect.FIRE, 12),
"ABA",
"CRC",
"ABA",
'A',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
'B',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 7),
'C',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 14),
'R',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11));
// Strange Crystals
RegisteredRecipes.eldritchdecoblocks5 = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockCrystal, 6, 7),
new AspectList().add(Aspect.ENTROPY, 70).add(Aspect.EARTH, 50).add(Aspect.WATER, 50)
.add(Aspect.FIRE, 50).add(Aspect.AIR, 50).add(Aspect.ORDER, 70),
" C ",
"CGC",
"SPS",
'C',
new ItemStack(ConfigBlocks.blockCrystal, 1, 6),
'G',
new ItemStack(ConfigBlocks.blockEldritch, 1, 4),
'S',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 14),
'P',
new ItemStack(ConfigItems.itemResource, 1, 15));
// Runed Stone
RegisteredRecipes.eldritchdecoblocks6 = ThaumcraftApi.addInfusionCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockEldritch, 1, 10),
7,
new AspectList().add(Aspect.ELDRITCH, 40).add(Aspect.VOID, 38).add(Aspect.MECHANISM, 30)
.add(Aspect.DARKNESS, 50).add(Aspect.EARTH, 20).add(Aspect.DEATH, 26)
.add(Aspect.EXCHANGE, 30),
new ItemStack(RegisteredItems.itemAuraCore, 1, 6),
new ItemStack[] { new ItemStack(ConfigBlocks.blockCrystal, 1, 7),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
new ItemStack(ConfigBlocks.blockEldritch, 1, 5),
new ItemStack(ConfigItems.itemCompassStone),
new ItemStack(ConfigBlocks.blockEldritch, 1, 5),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
new ItemStack(ConfigBlocks.blockCrystal, 1, 7),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
new ItemStack(ConfigBlocks.blockEldritch, 1, 5),
new ItemStack(ConfigItems.itemCompassStone),
new ItemStack(ConfigBlocks.blockEldritch, 1, 5),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11)
});
}
RegisteredRecipes.multiblockNodeManipulator = Arrays.asList(
RegisteredRecipes.costsNodeManipulatorMultiblock,
3,
3,
3,
Arrays.asList(
null,
null,
null,
null,
new ItemStack(RegisteredBlocks.blockNode, 1, 0),
null,
null,
null,
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
null,
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 0),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15),
null,
new ItemStack(RegisteredBlocks.blockNodeManipulator, 1, 5),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15)));
// x y z
RegisteredRecipes.multiblockEldritchPortalCreator = Arrays.asList(
RegisteredRecipes.costsEldritchPortalCreatorMultiblock,
3,
3,
3,
Arrays.asList(
null,
null,
null,
null,
new ItemStack(RegisteredBlocks.blockNode, 1, 0),
null,
null,
null,
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
null,
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 3),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15),
null,
new ItemStack(RegisteredBlocks.blockNodeManipulator, 1, 5),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15),
null,
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15)));
RegisteredRecipes.multiblockAuraPylon = Arrays.asList(
RegisteredRecipes.costsAuraPylonMultiblock,
1,
4,
1,
Arrays.asList(
new ItemStack(RegisteredBlocks.blockAuraPylon, 1, 1),
new ItemStack(RegisteredBlocks.blockAuraPylon),
new ItemStack(RegisteredBlocks.blockAuraPylon),
new ItemStack(RegisteredBlocks.blockAuraPylon)));
RegisteredRecipes.recipeGolemCoreBodyguard = ThaumcraftApi.addInfusionCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".GOLEMCOREBODYGUARD",
new ItemStack(RegisteredItems.itemGolemCoreBreak, 1, 1),
3,
new AspectList().add(Aspect.TOOL, 28).add(Aspect.MECHANISM, 20).add(Aspect.WEAPON, 10)
.add(Aspect.ARMOR, 16),
new ItemStack(ConfigItems.itemGolemCore, 1, 4),
new ItemStack[] { new ItemStack(ConfigItems.itemBootsTraveller, 1, 0),
new ItemStack(Items.ender_pearl, 1, 0), new ItemStack(ConfigItems.itemSwordElemental, 1, 0),
new ItemStack(Items.ender_pearl, 1, 0) });
RegisteredRecipes.recipeAncientPedestal = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".E_PORTAL_CREATOR",
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 1),
new AspectList().add(Aspect.ENTROPY, 25).add(Aspect.ORDER, 25),
"SPS",
" S ",
"SPS",
'S',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 11),
'P',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15));
RegisteredRecipes.recipeFamiliar = new EtherealFamiliarCreationRecipe(
Gadomancy.MODID.toUpperCase() + ".ETHEREAL_FAMILIAR",
4,
new ItemStack(ConfigItems.itemAmuletRunic, 1, 0),
new ItemStack(ConfigItems.itemWispEssence),
new ItemStack(ConfigItems.itemResource, 1, 14),
new ItemStack(ConfigItems.itemResource, 1, 1),
new ItemStack(ConfigItems.itemWispEssence),
new ItemStack(ConfigItems.itemResource, 1, 14),
new ItemStack(ConfigItems.itemResource, 1, 1));
ThaumcraftApi.getCraftingRecipes().add(recipeFamiliar);
RegisteredRecipes.recipesFamiliarAugmentation = RegisteredRecipes.createEtherealFamiliarUpgradeRecipes();
RegisteredRecipes.recipeBlockProtector = new IArcaneRecipe[4];
RegisteredRecipes.recipeBlockProtector[0] = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".BLOCK_PROTECTOR",
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 2),
new AspectList().add(Aspect.ORDER, 120).add(Aspect.EARTH, 120),
"WNW",
"PJP",
"GRG",
'W',
new ItemStack(Items.potionitem, 1, 8232),
'N',
new ItemStack(ConfigItems.itemResource, 1, 1),
'P',
new ItemStack(ConfigBlocks.blockTube),
'J',
new ItemStack(ConfigBlocks.blockJar),
'G',
new ItemStack(ConfigBlocks.blockWoodenDevice, 1, 6),
'R',
new ItemStack(Items.redstone));
RegisteredRecipes.recipeBlockProtector[1] = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".BLOCK_PROTECTOR",
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 2),
new AspectList().add(Aspect.ORDER, 120).add(Aspect.EARTH, 120),
"WNW",
"PJP",
"GRG",
'W',
new ItemStack(Items.potionitem, 1, 8200),
'N',
new ItemStack(ConfigItems.itemResource, 1, 1),
'P',
new ItemStack(ConfigBlocks.blockTube),
'J',
new ItemStack(ConfigBlocks.blockJar),
'G',
new ItemStack(ConfigBlocks.blockWoodenDevice, 1, 6),
'R',
new ItemStack(Items.redstone));
RegisteredRecipes.recipeBlockProtector[2] = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".BLOCK_PROTECTOR",
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 2),
new AspectList().add(Aspect.ORDER, 120).add(Aspect.EARTH, 120),
"WNV",
"PJP",
"GRG",
'W',
new ItemStack(Items.potionitem, 1, 8232),
'V',
new ItemStack(Items.potionitem, 1, 8200),
'N',
new ItemStack(ConfigItems.itemResource, 1, 1),
'P',
new ItemStack(ConfigBlocks.blockTube),
'J',
new ItemStack(ConfigBlocks.blockJar),
'G',
new ItemStack(ConfigBlocks.blockWoodenDevice, 1, 6),
'R',
new ItemStack(Items.redstone));
RegisteredRecipes.recipeBlockProtector[3] = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".BLOCK_PROTECTOR",
new ItemStack(RegisteredBlocks.blockStoneMachine, 1, 2),
new AspectList().add(Aspect.ORDER, 120).add(Aspect.EARTH, 120),
"WNV",
"PJP",
"GRG",
'W',
new ItemStack(Items.potionitem, 1, 8200),
'V',
new ItemStack(Items.potionitem, 1, 8232),
'N',
new ItemStack(ConfigItems.itemResource, 1, 1),
'P',
new ItemStack(ConfigBlocks.blockTube),
'J',
new ItemStack(ConfigBlocks.blockJar),
'G',
new ItemStack(ConfigBlocks.blockWoodenDevice, 1, 6),
'R',
new ItemStack(Items.redstone));
if (ModConfig.ancientStoneRecipes) {
RegisteredRecipes.recipeAncientStone = ThaumcraftApi.addArcaneCraftingRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockCosmeticSolid, 4, 11),
new AspectList().add(Aspect.ENTROPY, 16).add(Aspect.EARTH, 8),
"SSS",
"SES",
"SSS",
'S',
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 6),
'E',
new ItemStack(ConfigItems.itemEldritchObject));
RegisteredRecipes.recipeAncientStonePedestal = ThaumcraftApi.addCrucibleRecipe(
Gadomancy.MODID.toUpperCase() + ".ANCIENT_STONES",
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 15),
new ItemStack(ConfigBlocks.blockCosmeticSolid, 1, 7),
new AspectList().add(Aspect.ELDRITCH, 8).add(Aspect.EXCHANGE, 8).add(Aspect.ENTROPY, 12));
}
ItemAuraCore.AuraCoreType[] auraCoreTypes = ItemAuraCore.AuraCoreType.VALUES;
RegisteredRecipes.recipesWashAuraCore = new CrucibleRecipe[auraCoreTypes.length - 1];
List