import mods.modularmachinery.RecipeBuilder;

recipes.removeShaped(<thaumcraft:table_wood>);

mods.extendedcrafting.TableCrafting.addShaped(<thaumcraft:table_wood>, 
[[<immersiveengineering:treated_wood_slab>, <immersiveengineering:treated_wood_slab>, <immersiveengineering:treated_wood_slab>], 
[<immersiveengineering:treated_wood>, <aoa3:runium_chunk>, <immersiveengineering:treated_wood>], 
[<appliedenergistics2:material:12>, null, <appliedenergistics2:material:12>]]); 

recipes.removeShaped(<thaumcraft:table_stone>);

mods.extendedcrafting.TableCrafting.addShaped(<thaumcraft:table_stone>, 
[[<astralsorcery:blockmarbleslab:0>, <astralsorcery:blockmarbleslab:0>, <astralsorcery:blockmarbleslab:0>], 
[<minecraft:stone>, <aoa3:runium_chunk>, <minecraft:stone>], 
[<appliedenergistics2:material:12>, null, <appliedenergistics2:material:12>]]);

mods.thaumcraft.Infusion.removeRecipe(<thaumcraft:cloud_ring>);

mods.thaumcraft.Infusion.removeRecipe(<thaumadditions:puriflower>);

val betterpuriflower = RecipeBuilder.newBuilder("betterpuriflower","arcane_autoinfuser",120);
betterpuriflower.addEnergyPerTickInput(100);
betterpuriflower.addItemInput(<thaumcraft:crystal_essence>.withTag({Aspects: [{amount: 1, key: "lux"}]})*61);
betterpuriflower.addItemInput(<thaumcraft:crystal_essence>.withTag({Aspects: [{amount: 1, key: "ordo"}]})*30);
betterpuriflower.addItemInput(<thaumcraft:crystal_essence>.withTag({Aspects: [{amount: 1, key: "cognitio"}]})*15);
betterpuriflower.addItemInput(<thaumcraft:crystal_essence>.withTag({Aspects: [{amount: 1, key: "auram"}]})*10);
betterpuriflower.addItemInput(<thaumcraft:vishroom>);
betterpuriflower.addItemInput(<thaumcraft:vishroom>);
betterpuriflower.addItemInput(<thaumcraft:shimmerleaf>);
betterpuriflower.addItemInput(<contenttweaker:corallus_polyp>);
betterpuriflower.addItemInput(<contenttweaker:watcher_eye>);
betterpuriflower.addItemInput(<contenttweaker:king_bambambam_pelvis>);
betterpuriflower.addItemInput(<contenttweaker:smash_jaw>);
betterpuriflower.addItemInput(<contenttweaker:nethengeic_bone>);
betterpuriflower.addItemInput(<contenttweaker:scorcher_eternal_flame>);
betterpuriflower.addItemInput(<contenttweaker:ancient_remnants>);
betterpuriflower.addItemInput(<thaumadditions:dawn_totem>);
betterpuriflower.addItemOutput(<thaumadditions:puriflower>);
betterpuriflower.build();

mods.thaumcraft.Infusion.registerRecipe("makeriftsinfusion", "", 
<thaumicaugmentation:rift_jar>.withTag({seed: 1337, size: 100}), 6, 
[<aspect:vitium>*250], 
<thaumicaugmentation:rift_jar>, 
[<thaumcraft:void_seed>, <thaumcraft:void_seed>, <thaumadditions:mithminite_ingot>, <thaumadditions:mithminite_ingot>]);

recipes.removeShapeless(<techreborn:nuggets:1>);

recipes.addShapeless(<thaumcraft:nugget:8>*9,
[<ore:ingotBrass>]);