
//There are two kinds of recipes: Shaped and shapeless
//Shaped means that the order of items in the crafting table matters (e.g. for tools)
//Shapeless means that the items can be anywhere in the crafting grid as long as all items are there (e.g. dye mixing)


//A shapeless recipe requires you to provide a name, output and inputs.
//As you can see, you can also return more than one item (in this case 10), but your ingredients all have to have a stack size of 1!
//craftingTable.addShapeless("chop_ingot", <item:minecraft:gold_nugget> * 10, [<item:minecraft:gold_ingot>, <item:minecraft:flint>]);

//A shaped recipe, similar to a shapeless one, requires you to provide a name, output and inputs.
//Since crafting tables require you to specify where in the crafting grid the items need to go, here's a reference:
//In shaped recipes, unlike shapeless ones you may be required to state that a slot may accept "nothing". You do this by using <item:minecraft:air>

/*
  *************
  * a * b * c *
  *************
  * d * e * f *
  *************
  * g * h * i *
  *************
  becomes
  [[a, b, c], [d, e, f], [g, h, i]]
*/

//Here you can see, that you can use <item:minecraft:air> for an empty slot
//You can also see that this recipe only uses two rows. This means you can either craft this recipe in the first and second row in the crafting grid, or the second and third row.


craftingTable.addShapeless("planks", <item:kubejs:mechanized_plank> * 4, [<item:kubejs:mechanized_block>]);
craftingTable.addShaped("sticks", <item:kubejs:mechanized_rod>, [
    [<item:kubejs:mechanized_plank>],
    [<item:kubejs:mechanized_plank>]]);
craftingTable.addShaped("wrench_alt", <item:cyclic:cable_wrench>, [
[<item:minecraft:air>, <item:minecraft:redstone>, <item:minecraft:heavy_weighted_pressure_plate>],
[<item:minecraft:air>, <item:kubejs:mechanized_rod>, <item:minecraft:redstone>],
[<item:kubejs:mechanized_rod>, <item:minecraft:air>, <item:minecraft:air>]]);

craftingTable.addShaped("item_cable_alt", <item:cyclic:item_pipe> * 8, [
[<item:minecraft:stone_brick_stairs>, <item:minecraft:iron_nugget>, <item:minecraft:stone_brick_stairs>],
[<item:minecraft:iron_nugget>, <item:minecraft:air>, <item:minecraft:iron_nugget>],
[<item:minecraft:stone_brick_stairs>, <item:minecraft:iron_nugget>, <item:minecraft:stone_brick_stairs>]]);

craftingTable.addShaped("fluid_cable_alt", <item:cyclic:fluid_pipe> * 8, [
[<item:minecraft:stone_brick_stairs>, <item:minecraft:gold_nugget>, <item:minecraft:stone_brick_stairs>],
[<item:minecraft:gold_nugget>, <item:minecraft:air>, <item:minecraft:gold_nugget>],
[<item:minecraft:stone_brick_stairs>, <item:minecraft:gold_nugget>, <item:minecraft:stone_brick_stairs>]]);

craftingTable.removeRecipe(<item:silents_mechanisms:stone_machine_frame>);
craftingTable.addShaped("mac_frame", <item:silents_mechanisms:stone_machine_frame> * 2, [
[<tag:items:forge:glass>, <item:minecraft:smooth_stone>, <tag:items:forge:glass>],
[<item:minecraft:smooth_stone>, <item:mekanism:alloy_infused>, <item:minecraft:smooth_stone>],
[<tag:items:forge:glass>, <item:minecraft:smooth_stone>, <tag:items:forge:glass>]]);

craftingTable.removeRecipe(<item:mekanism:crusher>);
craftingTable.addShaped("croshing", <item:mekanism:crusher>, [
[<item:minecraft:redstone>, <item:silents_mechanisms:crusher>, <item:minecraft:redstone>],
[<item:mekanism:basic_control_circuit>, <item:mekanism:steel_casing>, <item:mekanism:basic_control_circuit>],
[<item:minecraft:redstone>, <item:silents_mechanisms:crusher>, <item:minecraft:redstone>]]);

craftingTable.addShaped("procesing", <item:refinedstorage:processor_binding> * 8, [
[<item:minecraft:string>, <item:kubejs:glucose>, <item:minecraft:string>]]);

craftingTable.removeRecipe(<item:portablenether:nether_teleporter>);
mods.extendedcrafting.TableCrafting.addShaped("72732bfe-b944-4fea-b83f-8fa6fa66e65d", 0, <item:portablenether:nether_teleporter> * 8, [
	[<item:minecraft:air>, <item:minecraft:obsidian>, <item:minecraft:obsidian>, <item:minecraft:obsidian>, <item:minecraft:air>], 
	[<item:minecraft:obsidian>, <item:silents_mechanisms:signalum_ingot>, <item:silents_mechanisms:signalum_ingot>, <item:silents_mechanisms:signalum_ingot>, <item:minecraft:obsidian>], 
	[<item:minecraft:obsidian>, <item:silents_mechanisms:signalum_ingot>, <item:minecraft:fire_charge>, <item:silents_mechanisms:signalum_ingot>, <item:minecraft:obsidian>], 
	[<item:minecraft:obsidian>, <item:silents_mechanisms:signalum_ingot>, <item:silents_mechanisms:signalum_ingot>, <item:silents_mechanisms:signalum_ingot>, <item:minecraft:obsidian>], 
	[<item:minecraft:air>, <item:minecraft:obsidian>, <item:minecraft:obsidian>, <item:minecraft:obsidian>, <item:minecraft:air>]
]);

craftingTable.addShaped("portal", <item:portablenether:nether_teleporter>, [
[<item:mekanism:ingot_refined_obsidian>, <item:minecraft:crying_obsidian>, <item:mekanism:ingot_refined_obsidian>],
[<item:minecraft:crying_obsidian>, <item:minecraft:flint_and_steel>, <item:minecraft:crying_obsidian>],
[<item:mekanism:ingot_refined_obsidian>, <item:minecraft:crying_obsidian>, <item:mekanism:ingot_refined_obsidian>]]);

craftingTable.addShapeless("loran", <item:theabyss:loran> * 8, [<item:minecraft:diamond_block>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <tag:items:silentgems:charging_agents>]);

craftingTable.addShaped("charged_diam", <item:minecraft:diamond_block>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), [
[<item:minecraft:air>, <item:minecraft:diamond>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:air>],
[<item:minecraft:diamond>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:air>, <item:minecraft:diamond>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]})],
[<item:minecraft:air>, <item:minecraft:diamond>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:air>]]);

craftingTable.addShaped("bok", <item:minecraft:book>, [
[<item:minecraft:paper>, <item:minecraft:paper>],
[<item:minecraft:paper>, <item:kubejs:glucose>]]);

craftingTable.addShaped("abyss_book", <item:patchouli:guide_book>.withTag({"patchouli:book": "theabyss:abyssbookitem" as string}), [
[<item:minecraft:air>, <item:theabyss:loran>, <item:minecraft:air>],
[<item:theabyss:loran>, <item:minecraft:book>, <item:theabyss:loran>],
[<item:minecraft:air>, <item:theabyss:loran>, <item:minecraft:air>]]);

craftingTable.removeRecipe(<item:miniutilities:unstable_ingot>);
craftingTable.addShaped("div_by_diam", <item:miniutilities:unstable_ingot>, [
[<item:theabyss:loran_ingot>],
[<item:kubejs:mechanized_rod>],
[<item:minecraft:diamond>]]);

craftingTable.removeRecipe(<item:industrialforegoing:ore_laser_base>);
craftingTable.addShaped("ore_laser", <item:industrialforegoing:ore_laser_base>, [
[<tag:items:forge:plastic>, <item:minecraft:diamond_pickaxe>, <tag:items:forge:plastic>],
[<tag:items:forge:ores>, <item:industrialforegoing:machine_frame_advanced>, <tag:items:forge:ores>],
[<item:titanium:diamond_gear>, <item:minecraft:redstone>, <item:titanium:diamond_gear>]]);

craftingTable.addShaped("slab", <item:kubejs:mechanized_slab> * 6, [
[<item:kubejs:mechanized_plank>, <item:kubejs:mechanized_plank>, <item:kubejs:mechanized_plank>]]);

craftingTable.addShapeless("button", <item:kubejs:mechanized_button>, [<item:kubejs:mechanized_plank>]);

craftingTable.removeRecipe(<item:industrialforegoing:machine_frame_pity>);
craftingTable.addShaped("frame", <item:industrialforegoing:machine_frame_pity>, [
[<item:theabyss:cobble_stone>, <item:minecraft:iron_ingot>, <item:theabyss:cobble_stone>],
[<item:minecraft:iron_ingot>, <item:minecraft:redstone_block>, <item:minecraft:iron_ingot>],
[<item:theabyss:cobble_stone>, <item:minecraft:iron_ingot>, <item:theabyss:cobble_stone>]]);

mods.extendedcrafting.TableCrafting.addShaped("67374793-f0ff-4e21-9f13-6a6ff0324f0a", 0, <item:minecraft:end_portal_frame>, [
	[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>], 
	[<item:undergarden:grongle_planks>, <item:undergarden:grongle_planks>, <item:undergarden:grongle_planks>, <item:undergarden:grongle_planks>, <item:undergarden:grongle_planks>, <item:undergarden:grongle_planks>, <item:undergarden:grongle_planks>], 
	[<item:undergarden:grongle_planks>, <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:undergarden:grongle_planks>], 
	[<item:silents_mechanisms:enderium_ingot>, <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:silents_mechanisms:enderium_ingot>], 
	[<item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]})], 
	[<item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]})], 
	[<item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]}), <item:minecraft:end_stone>.withTag({Enchantments: [{lvl: 1 as short, id: "silentgems:supercharged" as string}]})]
]);
craftingTable.removeRecipe(<item:undergarden:catalyst>);
craftingTable.addShaped("caty", <item:undergarden:catalyst>, [
[<item:minecraft:gold_ingot>, <item:minecraft:iron_ingot>, <item:minecraft:gold_ingot>],
[<item:minecraft:iron_ingot>, <item:theabyss:incorythe_gem>, <item:minecraft:iron_ingot>],
[<item:minecraft:gold_ingot>, <item:minecraft:iron_ingot>, <item:minecraft:gold_ingot>]]);

craftingTable.addShapeless("hunny", <item:minecraft:grass>, [<item:extrabotany:manadrink>, <item:undergarden:deepturf>]);
craftingTable.removeRecipe(<item:extrabotany:challengeticket>);
craftingTable.addShapeless("invitation", <item:extrabotany:challengeticket>, [<item:extrabotany:thechaos>, <item:botania:gaia_ingot>, <tag:items:feywild:fey_logs>, <item:mythicbotany:dream_cherry>]);
mods.extendedcrafting.TableCrafting.addShapeless("74470697-a0f9-4d9d-b886-7b28d4cdbed4", 0, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), [
	<item:botania:terrasteel_ingot>, <item:silentgear:blaze_gold_dust>, <item:mekanism:ingot_uranium>
]);
craftingTable.removeRecipe(<item:extendedcrafting:black_iron_ingot>);
craftingTable.removeRecipe(<item:minecraft:dark_oak_log>);
craftingTable.removeRecipe(<item:minecraft:oak_log>);
craftingTable.removeRecipe(<item:minecraft:acacia_log>);
craftingTable.removeRecipe(<item:minecraft:spruce_log>);
craftingTable.removeRecipe(<item:minecraft:birch_log>);
craftingTable.removeRecipe(<item:minecraft:jungle_log>);
craftingTable.removeRecipe(<item:minecraft:bone_meal>);
craftingTable.removeRecipe(<item:extrabotany:universalpetal>);
craftingTable.removeRecipe(<item:cyclic:uncrafter>);

mods.extendedcrafting.TableCrafting.addShaped("", 0, <item:extrabotany:theuniverse>.withTag({HideFlags: 1 as int, Enchantments: [{}]}), [
	[<item:miniutilities:the_final_opinium_core>, <item:miniutilities:emerald_opinium_core>, <item:extrabotany:universalpetal>, <item:extrabotany:elementrune>, <item:extendedcrafting:crystaltine_ingot>, <item:extrabotany:sinrune>, <item:extrabotany:universalpetal>, <item:miniutilities:emerald_opinium_core>, <item:miniutilities:the_final_opinium_core>], 
	[<item:miniutilities:emerald_opinium_core>, <item:extendedcrafting:the_ultimate_ingot>, <item:mekanism:pellet_antimatter>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:extendedcrafting:ultimate_singularity>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:mekanism:pellet_antimatter>, <item:extendedcrafting:the_ultimate_ingot>, <item:miniutilities:emerald_opinium_core>], 
	[<item:extrabotany:universalpetal>, <item:mekanism:pellet_antimatter>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:mythicbotany:alfsteel_ingot>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:mekanism:pellet_antimatter>, <item:extrabotany:universalpetal>], 
	[<item:extrabotany:sinrune>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:extendedcrafting:ultimate_singularity>, <item:mythicbotany:alfsteel_ingot>, <item:extendedcrafting:ultimate_singularity>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:extrabotany:elementrune>], 
	[<item:extendedcrafting:crystaltine_ingot>, <item:extendedcrafting:ultimate_singularity>, <item:mythicbotany:alfsteel_ingot>, <item:mythicbotany:alfsteel_ingot>, <item:extrabotany:theuniverse>, <item:mythicbotany:alfsteel_ingot>, <item:mythicbotany:alfsteel_ingot>, <item:extendedcrafting:ultimate_singularity>, <item:extendedcrafting:crystaltine_ingot>], 
	[<item:extrabotany:elementrune>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:extendedcrafting:ultimate_singularity>, <item:mythicbotany:alfsteel_ingot>, <item:extendedcrafting:ultimate_singularity>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:extrabotany:sinrune>], 
	[<item:extrabotany:universalpetal>, <item:mekanism:pellet_antimatter>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:mythicbotany:alfsteel_ingot>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:mekanism:pellet_antimatter>, <item:extrabotany:universalpetal>], 
	[<item:miniutilities:emerald_opinium_core>, <item:extendedcrafting:the_ultimate_ingot>, <item:mekanism:pellet_antimatter>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:extendedcrafting:ultimate_singularity>, <item:botania:terrasteel_ingot>.withTag({Enchantments: [{lvl: 3 as short, id: "silentgear:star_charged" as string}]}), <item:mekanism:pellet_antimatter>, <item:extendedcrafting:the_ultimate_ingot>, <item:miniutilities:emerald_opinium_core>], 
	[<item:miniutilities:the_final_opinium_core>, <item:miniutilities:emerald_opinium_core>, <item:extrabotany:universalpetal>, <item:extrabotany:sinrune>, <item:extrabotany:firstfractal>, <item:extrabotany:elementrune>, <item:extrabotany:universalpetal>, <item:miniutilities:emerald_opinium_core>, <item:miniutilities:the_final_opinium_core>]
]);
mods.extendedcrafting.TableCrafting.addShaped("aa749438-3976-4eb7-b833-0b168c396591", 0, <item:extendedcrafting:the_ultimate_ingot>, [
	[<item:botania:elementium_ingot>, <item:silentgear:crimson_iron_ingot>, <item:silentgear:crimson_steel_ingot>, <item:extendedcrafting:redstone_ingot>, <item:silents_mechanisms:redstone_alloy_ingot>, <item:undergarden:utherium_ingot>, <item:silents_mechanisms:signalum_ingot>, <item:mythicbotany:alfsteel_ingot>, <item:silents_mechanisms:bronze_ingot>], 
	[<item:silentgems:chaos_gold_ingot>, <item:minecraft:gold_ingot>, <item:mekanism:ingot_refined_glowstone>, <item:silents_mechanisms:electrum_ingot>, <item:silents_mechanisms:nickel_ingot>, <item:silents_mechanisms:lumium_ingot>, <item:silentgems:chaos_iron_ingot>, <item:silents_mechanisms:brass_ingot>, <item:undergarden:regalium_ingot>], 
	[<item:mysticalagriculture:inferium_ingot>, <item:botania:terrasteel_ingot>, <item:undergarden:forgotten_ingot>, <item:silents_mechanisms:enderium_ingot>, <item:mekanism:ingot_uranium>, <item:miniutilities:unstable_ingot>.withTag({Damage: 0 as int}), <item:mysticalagriculture:prudentium_ingot>, <item:extendedcrafting:enhanced_ender_ingot>, <item:mysticalagriculture:imperium_ingot>], 
	[<item:minecraft:air>, <item:silents_mechanisms:bismuth_brass_ingot>, <item:silents_mechanisms:bismuth_steel_ingot>, <item:silentgear:azure_silver_ingot>, <item:mekanism:ingot_refined_obsidian>, <item:undergarden:froststeel_ingot>, <item:extendedcrafting:crystaltine_ingot>, <item:silentgear:azure_electrum_ingot>, <item:botania:manasteel_ingot>], 
	[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>], 
	[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>], 
	[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>], 
	[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>], 
	[<item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>, <item:minecraft:air>]
]);

