// Astral Sorcery

import crafttweaker.api.item.IItemStack;


// Altar Recipes
// ---------------------------------------------------------------------------------------------------------------------------------------------
// Diamond Ore Bush
craftingTable.removeRecipe(<item:metalbushesmod:diamond_bush>);
<recipetype:astralsorcery:altar>.addRecipe("diamond_bush", "RADIANCE", <item:metalbushesmod:diamond_bush>, [
[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:diamond_ore>, <item:minecraft:air>, <item:minecraft:air>],
[<item:minecraft:air>, <item:astralsorcery:aquamarine>, <item:astralsorcery:stardust>, <item:astralsorcery:aquamarine>, <item:minecraft:air>],
[<item:minecraft:diamond_ore>, <item:astralsorcery:celestial_crystal>, <item:metalbushesmod:bush_base>, <item:astralsorcery:celestial_crystal>, <item:minecraft:diamond_ore>],
[<item:minecraft:air>, <item:astralsorcery:aquamarine>, <item:astralsorcery:stardust>, <item:astralsorcery:aquamarine>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:diamond_ore>, <item:minecraft:air>, <item:minecraft:air>]
], 500, 4000);

/*
// Nocturnal Soil / Cursed Earth ----- it got moved to the Living Faction.
<recipetype:astralsorcery:altar>.addRecipe("nocturnal_soil", "CONSTELLATION", <item:cursedearth:cursed_earth>, [
[<item:minecraft:rotten_flesh>, <item:astralsorcery:nocturnal_powder>, <item:minecraft:air>, <item:astralsorcery:nocturnal_powder>, <item:minecraft:bone>],
[<item:astralsorcery:nocturnal_powder>, <item:minecraft:air>, <item:astralsorcery:stardust>, <item:minecraft:air>, <item:astralsorcery:nocturnal_powder>],
[<item:minecraft:air>, <item:astralsorcery:stardust>, <item:minecraft:grass_block>, <item:astralsorcery:stardust>, <item:minecraft:air>],
[<item:astralsorcery:nocturnal_powder>, <item:minecraft:air>, <item:astralsorcery:stardust>, <item:minecraft:air>, <item:astralsorcery:nocturnal_powder>],
[<item:minecraft:string>, <item:astralsorcery:nocturnal_powder>, <item:minecraft:air>, <item:astralsorcery:nocturnal_powder>, <item:minecraft:gunpowder>]
], 200, 1000);
*/

// Iridescent Crystal
<recipetype:astralsorcery:altar>.addRecipe("ending_ancient", "RADIANCE", <item:contenttweaker:ending_ancient>, [
[<item:elementalcraft:pristine_fire_gem>, <item:minecraft:air>, <item:astralsorcery:shifting_star_aevitas> | <item:astralsorcery:shifting_star_armara> | <item:astralsorcery:shifting_star_discidia> | <item:astralsorcery:shifting_star_evorsio> | <item:astralsorcery:shifting_star_vicio>, <item:minecraft:air>, <item:elementalcraft:pristine_water_gem>],
[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:air>, <item:astralsorcery:attuned_celestial_crystal>, <item:minecraft:air>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
[<item:elementalcraft:pristine_air_gem>, <item:minecraft:air>, <item:ars_nouveau:wilden_tribute>, <item:minecraft:air>, <item:elementalcraft:pristine_earth_gem>]
], 500, 4000);

// Moon Dial
<recipetype:astralsorcery:altar>.addRecipe("moon_dial", "DISCOVERY", <item:twilightforest:moon_dial>, [
[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:gold_ingot>, <item:astralsorcery:black_marble_raw>, <item:minecraft:gold_ingot>, <item:minecraft:air>],
[<item:minecraft:air>, <item:astralsorcery:aquamarine>, <item:astralsorcery:rock_crystal>, <item:astralsorcery:aquamarine>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:gold_ingot>, <item:astralsorcery:black_marble_raw>, <item:minecraft:gold_ingot>, <item:minecraft:air>],
[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
], 50, 500);

// ---------------------------------------------------------------------------------------------------------------------------------------------


// Starlight Transmutation
// Turns Out Neither of these work, and I need to use the datapack for them instead. >:(
// ---------------------------------------------------------------------------------------------------------------------------------------------
/*
// Roots to Liveroots, this is mainly to make Ironwood Automation Easier.
<recipetype:astralsorcery:block_transmutation>.addRecipe("root_to_liveroot", <blockstate:twilightforest:liveroot_block>, <blockstate:twilightforest:root>, false, 200);
// Warped Wart Block to Soul Soil. I think this should be in base AS, since Nether Wart Block to Soul Sand is already in there.
<recipetype:astralsorcery:block_transmutation>.addRecipe("warped_wart_to_soil", <blockstate:minecraft:soul_soil>, <blockstate:minecraft:warped_wart_block>, false, 200);
*/
// ---------------------------------------------------------------------------------------------------------------------------------------------


// Starlight Infusion
// ---------------------------------------------------------------------------------------------------------------------------------------------
// Redstone Ore Bush
craftingTable.removeRecipe(<item:metalbushesmod:redstone_bush>);
<recipetype:astralsorcery:infusion>.addRecipe("redstone_bush", <item:metalbushesmod:redstone_bush>, <item:metalbushesmod:bush_base>, <fluid:astralsorcery:liquid_starlight>, 200, 2, true, true, false);

// Fiery Tears
// Yes, you can use this to get the Tier 3 Blood Orb early. I hope someone feels really clever finding that out!
<recipetype:astralsorcery:infusion>.addRecipe("fiery_tears", <item:twilightforest:fiery_tears>, <item:minecraft:blaze_powder>, <fluid:astralsorcery:liquid_starlight>, 200, 2, true, true, false);

/*
// Bottle of Ender Air ----- moved this to Living Faction. Botania's the only one using it, anyways.
// You can get this later from the ender structures, but this is to reward crossplay with mods.
<recipetype:astralsorcery:infusion>.addRecipe("ender_air", <item:botania:ender_air_bottle>, <item:quark:bottled_cloud>, <fluid:astralsorcery:liquid_starlight>, 200, 2, true, true, false);
*/

// Alpha Yeti Fur
// While you *can* get this before killing the Alpha Yeti, there's not really much of a reason to.
// The time it'd take you to get this much arctic fur you'd probably be able to find an alpha yeti.
// This is just for automation purposes.
<recipetype:astralsorcery:infusion>.addRecipe("alpha_fur", <item:twilightforest:alpha_fur>, <item:twilightforest:arctic_fur_block>, <fluid:astralsorcery:liquid_starlight>, 200, 2, true, true, false);

// Dragon Scale
<recipetype:astralsorcery:infusion>.addRecipe("dragon_scale", <item:quark:dragon_scale>, <item:minecraft:scute>, <fluid:astralsorcery:liquid_starlight>, 200, 20, true, true, false);
// ---------------------------------------------------------------------------------------------------------------------------------------------


// Lightwell
// ---------------------------------------------------------------------------------------------------------------------------------------------
// Crystal Chitin
<recipetype:astralsorcery:well>.addRecipe("crystal_chitin_starlight", <fluid:astralsorcery:liquid_starlight>, <item:astral:crystal_chitin>, 0.45, 9.0, -16734209);

// Moonstone
<recipetype:astralsorcery:well>.addRecipe("moonstone_starlight", <fluid:astralsorcery:liquid_starlight>, <item:druidcraft:moonstone>, 1.0, 10.0, -16734209);

// ---------------------------------------------------------------------------------------------------------------------------------------------


// <item:minecraft:air>

















