import crafttweaker.api.item.IItemStack;
import crafttweaker.api.item.IIngredient;
import crafttweaker.api.FurnaceManager;
import crafttweaker.api.BlastFurnaceManager;
import crafttweaker.api.blocks.MCBlock;
import crafttweaker.api.blocks.MCBlockState;

//

<block:baersadditions:platinum_ore>.setBlastResistance(3);
<block:baersadditions:platinum_ore>.setHarvestLevel(2);
<block:baersadditions:platinum_ore>.setHarvestTool(<tooltype:pickaxe>);
<blockstate:baersadditions:platinum_ore>.setHardness(2.9f);

//Tooltips

<item:baersadditions:experience_concentrate>.addTooltip("\u00A7l\u00A7n\u00A7ePress Shift For Details");
<item:baersadditions:experience_concentrate>.addShiftTooltip("\u00A7oExperience concentrate is a concentrated form of experience that cannot be made, but only found. Currently, the only known location are strongholds and plaque asylums.");

<item:baersadditions:nether_concentrate>.addTooltip("\u00A7l\u00A7n\u00A7ePress Shift For Details");
<item:baersadditions:nether_concentrate>.addShiftTooltip("\u00A7oNether concentrate is an extremely potent, but deadly, concentrate derived from all things Nether. It's so deadly that it is no longer made and has only been rarely spotted in Nether cities. Some say killing the Wither also offers a chance of obtaining it.");

<item:baersadditions:overworld_concentrate>.addTooltip("\u00A7l\u00A7n\u00A7ePress Shift For Details");
<item:baersadditions:overworld_concentrate>.addShiftTooltip("\u00A7oOverworld concentrate is the purest concentrate of them all, harvesting all power from the Overworld. While it's currently unknown how to create it, it can be found rarely in the Thornborn Towers.");

<item:baersadditions:oxytocin_concentrate>.addTooltip("\u00A7l\u00A7n\u00A7ePress Shift For Details");
<item:baersadditions:oxytocin_concentrate>.addShiftTooltip("\u00A7oOxytocin is a hormone that our bodies produce. It's also known as the love hormone. It can help us bond with loved ones. Oxytocin concentrate currently has no recipe, but it can, however, be found in places like Foundries, Nether cities, and more.");

<item:baersadditions:oxygen_concentrate>.addTooltip("\u00A7l\u00A7n\u00A7ePress Shift For Details");
<item:baersadditions:oxygen_concentrate>.addShiftTooltip("\u00A7oOxygen concentrate has only been found in one place. Your best chance of getting this concentrate is by defeating sea serpents.This can be quite difficult to obtain considering sea serpents only appear in deep oceans, including the deep frozen ocean, deep cold ocean, and so on.");

//Add info in JEI

mods.jei.JEI.addInfo(<item:baersadditions:experience_concentrate>, ["\u00A7eExperience concentrate \u00A7r is a concentrated form of experience that cannot be made, but only found. Currently, the only known location are strongholds and plaque asylums."]);

mods.jei.JEI.addInfo(<item:baersadditions:nether_concentrate>, ["\u00A78Nether concentrate \u00A7r is an extremely potent, but deadly, concentrate derived from all things Nether. It's so deadly that it is no longer made and has only been rarely spotted in Nether cities. Some say killing the Wither also offers a chance of obtaining it."]);

mods.jei.JEI.addInfo(<item:baersadditions:overworld_concentrate>, ["\u00A72Overworld concentrate \u00A7r is the purest concentrate of them all, harvesting all power from the Overworld. While it's currently unknown how to create it, it can be found rarely in the Thornborn Towers."]);

mods.jei.JEI.addInfo(<item:baersadditions:oxytocin_concentrate>, ["\u00A75Oxytocin \u00A7ris a hormone that our bodies produce. It's also known as the love hormone. It can help us bond with loved ones.\n\u00A75Oxytocin concentrate \u00A7r currently has no recipe, but it can, however, be found in places like Foundries, Nether cities, and more."]);

mods.jei.JEI.addInfo(<item:baersadditions:oxygen_concentrate>, ["\u00A7fOxygen concentrate \u00A7rhas only been found in one place. Your best chance of getting this concentrate is by defeating sea serpents.\nThis can be quite difficult to obtain considering sea serpents only appear in deep oceans, including the deep frozen ocean, deep cold ocean, and so on."]);

//

furnace.addRecipe("platinum_ore_to_nugget", <item:baersadditions:platinum_nugget>, <item:baersadditions:platinum_ore>, 1.5, 200);

blastFurnace.addRecipe("platinum_ore_to_nugget_blast", <item:baersadditions:platinum_nugget>, <item:baersadditions:platinum_ore>, 1.5, 120);

//

craftingTable.addShapedMirrored("platinum_nugget_to_ingot", <item:baersadditions:platinum_ingot>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
    [<item:baersadditions:platinum_nugget>, <item:baersadditions:platinum_nugget>, <item:baersadditions:platinum_nugget>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

//

craftingTable.removeByRegex("spartanweaponry:.*_platinum");

craftingTable.removeRecipe(<item:wyrmroost:platinum_sword>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_pickaxe>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_axe>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_shovel>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_hoe>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_helmet>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_chestplate>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_leggings>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_boots>);
craftingTable.removeRecipe(<item:wyrmroost:platinum_dragon_armor>);

//Wyrmroost platinum to BA platinum

craftingTable.addShapeless("wyrmroost_platinum_to_baersadditions_platinum", <item:baersadditions:platinum_ingot> * 1, [<item:wyrmroost:platinum_ingot>]);

//Baer's Additions Blocks

craftingTable.addShapeless("moss_block", <item:baersadditions:moss_block> * 1, [<item:minecraft:grass_block>, <item:minecraft:vine>]);

craftingTable.addShapedMirrored("platinum_block", <item:baersadditions:platinum_block>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>]
]);

//Wyrmroost tools and weapons

craftingTable.addShapedMirrored("wyrmroost_platinum_sword", <item:wyrmroost:platinum_sword>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>]
]);

craftingTable.addShaped("wyrmroost_platinum_pickaxe", <item:wyrmroost:platinum_pickaxe>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>]
]);

craftingTable.addShapedMirrored("wyrmroost_platinum_axe", <item:wyrmroost:platinum_axe>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:stick>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>]
]);

craftingTable.addShaped("wyrmroost_platinum_shovel", <item:wyrmroost:platinum_shovel>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>]
]);

craftingTable.addShapedMirrored("wyrmroost_platinum_hoe", <item:wyrmroost:platinum_hoe>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:minecraft:air>]
]);

//Wyrmroost armor

craftingTable.addShaped("wyrmroost_platinum_helmet", <item:wyrmroost:platinum_helmet>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("wyrmroost_platinum_chestplate", <item:wyrmroost:platinum_chestplate>, [
    [<item:baersadditions:platinum_ingot>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>]
]);

craftingTable.addShaped("wyrmroost_platinum_leggings", <item:wyrmroost:platinum_leggings>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>]
]);

craftingTable.addShaped("wyrmroost_platinum_boots", <item:wyrmroost:platinum_boots>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>]
]);

craftingTable.addShaped("wyrmroost_platinum_dragon_armor", <item:wyrmroost:platinum_dragon_armor>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_block>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:air>, <item:baersadditions:platinum_block>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>]
]);

//Spartan Weaponry recipes

craftingTable.addShaped("platinum_dagger", <item:spartanweaponry:dagger_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:spartanweaponry:handle>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_longsword", <item:spartanweaponry:longsword_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:spartanweaponry:handle>, <item:baersadditions:platinum_ingot>]
]);

craftingTable.addShaped("platinum_greatsword", <item:spartanweaponry:greatsword_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:spartanweaponry:handle>, <item:baersadditions:platinum_ingot>]
]);

craftingTable.addShaped("platinum_katana", <item:spartanweaponry:katana_platinum>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:spartanweaponry:handle>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_saber", <item:spartanweaponry:saber_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:spartanweaponry:handle>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_rapier", <item:spartanweaponry:rapier_platinum>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:spartanweaponry:handle>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_quarterstaff", <item:spartanweaponry:quarterstaff_platinum>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:spartanweaponry:pole>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_hammer", <item:spartanweaponry:hammer_platinum>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:air>, <item:spartanweaponry:handle>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_warhammer", <item:spartanweaponry:warhammer_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:spartanweaponry:handle>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_spear", <item:spartanweaponry:spear_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:spartanweaponry:pole>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_halberd", <item:spartanweaponry:halberd_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:spartanweaponry:pole>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_pike", <item:spartanweaponry:pike_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:spartanweaponry:pole>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:spartanweaponry:pole>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_lance", <item:spartanweaponry:lance_platinum>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:spartanweaponry:pole>, <item:minecraft:air>],
    [<item:spartanweaponry:handle>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_longbow", <item:spartanweaponry:longbow_platinum>, [
    [<item:spartanweaponry:handle>, <item:minecraft:stick>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:stick>, <item:minecraft:air>, <item:minecraft:string>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:string>, <item:minecraft:string>]
]);

craftingTable.addShaped("platinum_heavy_crossbow", <item:spartanweaponry:heavy_crossbow_platinum>, [
    [<item:baersadditions:platinum_ingot>, <item:minecraft:bow>, <item:baersadditions:platinum_ingot>],
    [<tag:items:minecraft:planks>, <item:minecraft:tripwire_hook>, <tag:items:minecraft:planks>],
    [<item:minecraft:air>, <item:spartanweaponry:handle>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_throwing_knife", <item:spartanweaponry:throwing_knife_platinum>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
    [<item:spartanweaponry:handle>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_tomahawk", <item:spartanweaponry:tomahawk_platinum>, [
    [<item:spartanweaponry:handle>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_javelin", <item:spartanweaponry:javelin_platinum>, [
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>],
    [<item:spartanweaponry:pole>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_battleaxe", <item:spartanweaponry:battleaxe_platinum>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:baersadditions:platinum_ingot>, <item:minecraft:stick>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:air>, <item:spartanweaponry:handle>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_flanged_mace", <item:spartanweaponry:flanged_mace_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:air>, <item:minecraft:stick>, <item:baersadditions:platinum_ingot>],
    [<item:spartanweaponry:handle>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_glaive", <item:spartanweaponry:glaive_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:spartanweaponry:pole>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_parrying_dagger", <item:spartanweaponry:parrying_dagger_platinum>, [
    [<item:minecraft:air>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:baersadditions:platinum_ingot>, <item:spartanweaponry:handle>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_boomerang", <item:spartanweaponry:boomerang_platinum>, [
    [<item:baersadditions:platinum_ingot>, <tag:items:minecraft:planks>, <tag:items:minecraft:planks>],
    [<tag:items:minecraft:planks>, <item:minecraft:air>, <item:minecraft:air>],
    [<tag:items:minecraft:planks>, <item:minecraft:air>, <item:minecraft:air>]
]);

craftingTable.addShaped("platinum_scythe", <item:spartanweaponry:scythe_platinum>, [
    [<item:baersadditions:platinum_ingot>, <item:baersadditions:platinum_ingot>, <item:minecraft:air>],
    [<item:minecraft:air>, <item:minecraft:air>, <item:baersadditions:platinum_ingot>],
    [<item:minecraft:air>, <item:spartanweaponry:pole>, <item:minecraft:air>]
]);