ServerEvents.recipes(event => {
    //powah
    event.recipes.powah.energizing([
        "kubejs:archiveau",
        "ironfurnaces:rainbow_core",
        "powah:nitro_crystal_block",
        "biggerreactors:ludicrite_block",
        "rftoolspower:blazing_rod",
        "appflux:flux_accessor"
    ], "kubejs:architron", 2147483646)

	event.recipes.powah.energizing([
        "projectexpansion:final_star",
        "ae2:dense_energy_cell",
        "ae2:dense_energy_cell",
        "ae2:dense_energy_cell",
        "ae2:dense_energy_cell",
        "ae2:dense_energy_cell"
    ], "ae2:creative_energy_cell", 2147483646)

    event.recipes.powah.energizing([
        "projectexpansion:final_star",
        "mekanism:creative_energy_cube",
        "mekanism:creative_energy_cube",
        "mekanism:creative_energy_cube",
        "mekanism:creative_energy_cube",
        "mekanism:creative_energy_cube"
    ], Item.of('mekanism:creative_energy_cube', '{mekData:{EnergyContainers:[{Container:0b,stored:"18446744073709551615.9999"}],componentConfig:{config0:{side0:4,side1:4,side2:4,side3:4,side4:4,side5:4}}}}'), 2147483646)
    
    
    //inside the event
	createSimpleRecipe(event, 'plushies:warden_plushie', 
        ['deeperdarker:soul_crystal', 'deeperdarker:soul_dust',  'deeperdarker:sculk_bone', 
		 'deeperdarker:soul_dust', 'deeperdarker:heart_of_the_deep', 'deeperdarker:soul_dust', 
		 'deeperdarker:sculk_bone', 'deeperdarker:soul_dust', 'deeperdarker:soul_crystal']),
		 
	createSimpleRecipe(event, 'plushies:bee_plushie', 
        ['the_bumblezone:windy_air', 'the_bumblezone:crystalline_flower',  'the_bumblezone:windy_air', 
		 'the_bumblezone:stinger_spear', 'the_bumblezone:royal_jelly_bottle', 'the_bumblezone:crystal_cannon', 
		 'the_bumblezone:windy_air', 'allthecompressed:honey_block_3x', 'the_bumblezone:windy_air']),
		 
    createSimpleRecipe(event, 'plushies:dragon_plushie', 
        ['apotheosis:infused_breath', 'cyclic:charm_stone',  'apotheosis:infused_breath', 
		 'powah:ender_core', 'draconicevolution:awakened_core', 'minecraft:dragon_head', 
		 'ends_delight:dragon_leg_with_sauce_block', 'minecraft:dragon_egg', 'reliquary:magicbane']),

    createSimpleRecipe(event, 'plushies:wither_plushie', 
        ['mob_grinding_utils:tinted_glass', 'ars_nouveau:glyph_wither', 'mob_grinding_utils:tinted_glass', 
		 'cyclic:charm_wither', 'sophisticatedbackpacks:everlasting_upgrade', 'reliquary:witherless_rose', 
		 'mob_grinding_utils:tinted_glass', 'industrialforegoing:wither_builder', 'mob_grinding_utils:tinted_glass']),

    createSimpleRecipe(event, 'plushies:evoker_plushie', 
        ['trials:ominous_bottle', 'cyclic:soulstone', 'trials:ominous_bottle', 
		 'trials:trial_key_ominous', 'ars_nouveau:archmage_spell_book', 'trials:trial_key', 
		 'trials:ominous_bottle', 'minecraft:bell', 'trials:ominous_bottle']),

    createSimpleRecipe(event, 'plushies:pig_plushie', 
        ['farmersdelight:skillet', 'quarkdelight:cooked_whole_crab', 'create:chocolate_glazed_berries', 
		 'farmersdelight:rice_roll_medley_block', 'nethersdelight:stuffed_hoglin', 'farmersdelight:shepherds_pie_block', 
		 'create:sweet_roll', 'farmersdelight:roast_chicken_block', 'farmersdelight:cooking_pot']),
    
    createSimpleRecipe(event, 'plushies:elder_guardian_plushie', 
        ['minecraft:sponge', 'thermal:diving_helmet', 'cyclic:charm_water', 
		 'cyclic:antimatter_wand', 'minecraft:conduit', 'cyclic:spell_water', 
		 'oceansdelight:elder_guardian_slab', 'reliquary:emperor_chalice', 'oceansdelight:guardian_soup']),
    
    createSimpleRecipe(event, 'plushies:goat_plushie', 
        ['rftoolsdim:common_essence', 'ae2:singularity', 'rftoolsdim:common_essence', 
		 'reliquary:glacial_staff', 'mekanism:quantum_entangloporter', 'handcrafted:goat_trophy', 
		 'rftoolsdim:common_essence', 'powah:charged_snowball', 'rftoolsdim:common_essence']),
    
    createSimpleRecipe(event, 'plushies:axolotl_plushie', 
        ['allthecompressed:copper_block_3x', 'allthecompressed:amethyst_block_4x', 'allthecompressed:diamond_block_2x', 
		 'allthecompressed:cobblestone_5x', 'allthecompressed:clay_4x', 'allthecompressed:cobbled_deepslate_5x', 
		 'allthecompressed:iron_block_3x', 'allthecompressed:calcite_4x', 'allthecompressed:gold_block_2x']),

    createSimpleRecipe(event, 'mekanism:creative_energy_cube', 
        ['mekanism:ultimate_energy_cube', 'mekanism:ultimate_induction_cell', 'mekanism:ultimate_energy_cube', 
		 'mekanism:ultimate_induction_provider', 'mekanism:ultimate_energy_cube', 'mekanism:ultimate_induction_provider', 
		 'mekanism:ultimate_energy_cube', 'mekanism:ultimate_induction_cell', 'mekanism:ultimate_energy_cube']),
        
    createSimpleRecipe(event, 'projecte:tome', 
        ['projectexpansion:final_star', 'projectexpansion:final_star', 'projectexpansion:final_star', 
		 'projectexpansion:final_star', 'apotheosis:ender_library', 'projectexpansion:final_star', 
		 'projectexpansion:final_star', 'projectexpansion:final_star', 'projectexpansion:final_star']),

    createSimpleRecipe(event, 'projectexpansion:transmutation_interface', 
        ['projectexpansion:basic_emc_link', 'projecte:condenser_mk1', 'projectexpansion:basic_emc_link', 
		 'projecte:condenser_mk1', 'kubejs:architron', 'projecte:condenser_mk1', 
		 'projectexpansion:basic_emc_link', 'projecte:condenser_mk1', 'projectexpansion:basic_emc_link']),
        
    createSimpleRecipe(event, '4x minecraft:chest', 
        ['#minecraft:logs', '#minecraft:logs', '#minecraft:logs', 
		 '#minecraft:logs', 'minecraft:air', '#minecraft:logs',
		 '#minecraft:logs', '#minecraft:logs', '#minecraft:logs']),
    
    createSimpleRecipe(event, 'minecraft:chest', 
        ['#minecraft:planks', '#minecraft:planks', '#minecraft:planks', 
		 '#minecraft:planks', 'minecraft:air', '#minecraft:planks', 
		 '#minecraft:planks', '#minecraft:planks', '#minecraft:planks']),

    createSimpleRecipe(event, 'minecraft:bookshelf', 
        ['#minecraft:planks', '#minecraft:planks', '#minecraft:planks', 
		 'minecraft:book', 'minecraft:book', 'minecraft:book',
		 '#minecraft:planks', '#minecraft:planks', '#minecraft:planks']),

    create1x2(event, '16x minecraft:stick', 
        ['#minecraft:logs',
		 '#minecraft:logs']),

    createSimpleRecipe(event, 'minecraft:hopper', 
        ['minecraft:iron_ingot', '#minecraft:logs', 'minecraft:iron_ingot', 
		 'minecraft:iron_ingot', '#minecraft:logs', 'minecraft:iron_ingot',
		 'minecraft:air', 'minecraft:iron_ingot', 'minecraft:air']),

    createSimpleRecipe(event, 'rftoolsdim:empty_dimension_tab', 
        ['minecraft:shulker_shell', 'rftoolspower:dimensionalcell_advanced', 'minecraft:shulker_shell', 
		 'rftoolspower:dimensionalcell_advanced', 'minecraft:nether_star', 'rftoolspower:dimensionalcell_advanced', 
		 'minecraft:shulker_shell', 'rftoolspower:dimensionalcell_advanced', 'minecraft:shulker_shell']),
		
	create2x2(event, '4x refinedstorage:quartz_enriched_iron', 
        ['minecraft:iron_ingot', 'minecraft:iron_ingot',
		 'minecraft:iron_ingot', '#forge:dusts/quartz']),
		 
	createSimpleRecipe(event, 'minecraft:dispenser', 
        ['#minecraft:stone_crafting_materials', '#minecraft:stone_crafting_materials', '#minecraft:stone_crafting_materials', 
		 '#minecraft:stone_crafting_materials', 'minecraft:bow', '#minecraft:stone_crafting_materials', 
		 '#minecraft:stone_crafting_materials', 'minecraft:redstone', '#minecraft:stone_crafting_materials'])

    event.shapeless('4x minecraft:nether_wart', [             'minecraft:nether_wart_block' ])
})

function createSimpleRecipe(event, output, input) {
    event.shaped(output, [
        '012',
        '345',
        '678'
    ], 
    {
        '0':input[0],
        '1':input[1],
        '2':input[2],
        '3':input[3],
        '4':input[4],
        '5':input[5],
        '6':input[6],
        '7':input[7],
        '8':input[8]
    });
}

function create2x2(event, output, input) {
	event.shaped(output, [
        '01',
        '23'
    ], 
    {
        '0':input[0],
        '1':input[1],
        '2':input[2],
        '3':input[3]
    });
}

function create1x2(event, output, input) {
	event.shaped(output, [
        '0',
        '1'
    ], 
    {
        '0':input[0],
        '1':input[1]
    });
}

