ServerEvents.recipes(event => {
    // Рецепты для преобразования эссенций
    const essenseRecipes = [
        { result: 'enicreo:essense_1', ingredient: 'enicreo:essense' },
        { result: 'enicreo:essense_2', ingredient: 'enicreo:essense_1' },
        { result: 'enicreo:essense_3', ingredient: 'enicreo:essense_2' }
    ];

    essenseRecipes.forEach(recipe => {
        event.recipes.botania.runic_altar(
            recipe.result,
            Array(9).fill(recipe.ingredient),
            10000
        );
    });

    [
        {
            output: "ars_nouveau:experience_gem",
            ingredient: "enicreo:essense",
            mana: 100,
            count: 8
        },
        {
            output: "ars_nouveau:greater_experience_gem",
            ingredient: "enicreo:essense_1",
            mana: 300,
            count: 12
        },

    ].forEach(recipe => {
        event.recipes.botania.runic_altar(
            Item.of(recipe.output, recipe.count),
            [
                { item: recipe.ingredient },
                'botania:rune_wrath'
            ],
            recipe.mana
        );
    });
    event.recipes.botania.runic_altar(
        'enigmaticlegacy:earth_heart',
        [
            { item: 'enicreo:essense' },
            { item: 'enigmaticaddons:earth_heart_fragment' },
            { item: 'enigmaticaddons:earth_heart_fragment' },
            { item: 'enigmaticaddons:earth_heart_fragment' },
            { item: 'enigmaticaddons:earth_heart_fragment' },
            { item: 'enigmaticaddons:earth_heart_fragment' },
            { item: 'enigmaticaddons:earth_heart_fragment' },
            { item: 'enigmaticaddons:earth_heart_fragment' },
            { item: 'enigmaticaddons:earth_heart_fragment' }
        ],
        5000
    );
    event.recipes.botania.runic_altar(
        'create_unbreakable:irromolding',
        [
            { item: 'ars_elemental:mark_of_mastery' },
            { item: 'create_unbreakable:philolite' },
            { item: 'create_unbreakable:philolite' },
            { item: 'create_unbreakable:philolite' },
            { item: 'create_unbreakable:philolite' },
            { item: 'irons_spellbooks:arcane_ingot' },
            { item: 'irons_spellbooks:arcane_ingot' },
            { item: 'ars_nouveau:starbuncle_shards' },
            { item: 'create_unbreakable:luminarchy' },
            { item: 'ars_nouveau:starbuncle_shards' },
            { item: 'irons_spellbooks:arcane_ingot' },
            { item: 'irons_spellbooks:arcane_ingot' },
            { item: 'create_unbreakable:philolite' },
            { item: 'create_unbreakable:philolite' },
            { item: 'create_unbreakable:philolite' },
            { item: 'create_unbreakable:philolite' }
        ],
        100000
    );
    event.recipes.botania.runic_altar(
        'enicreo:blsingilar',
        [
            { item: 'minecraft:rabbit_foot' },
            { item: 'alexsmobs:shed_snake_skin' },
            { item: 'born_in_chaos_v1:fangofthe_hound_leader' },
            { item: 'alexsmobs:rocky_shell' },
            { item: 'alexsmobs:serrated_shark_tooth' },
            { item: 'alexsmobs:leafcutter_ant_pupa' },
            { item: 'alexsmobs:ambergris' },
            { item: 'cataclysm:remnant_skull' },
            { item: 'cataclysm:sandstorm_in_a_bottle' },
            { item: 'ars_nouveau:drygmy_shard' },
            { item: 'ars_nouveau:whirlisprig_shards' },
            { item: 'alexsmobs:elastic_tendon' },
            { item: 'ars_nouveau:wilden_horn' },
            { item: 'endersdelight:shulker_mollusk' },
            { item: 'alexsmobs:fish_bones' },
            { item: 'alexsmobs:komodo_spit' }
        ],
        1000000
    );
    event.recipes.botania.runic_altar(
        'enicreo:bloodstone',
        [
            'born_in_chaos_v1:tombstone_petasi',
            'enicreo:blsingilar',
            'born_in_chaos_v1:tombstone_2003wise',
            'enicreo:chsingilar',
            'born_in_chaos_v1:tombstone_dark_titan_066',
            'enicreo:krsingilar',
            'born_in_chaos_v1:tombstone_fubuki_banzai',
            'enicreo:snsingilar',
            'born_in_chaos_v1:tombstone_derivas',
            'enicreo:fvsingilar',
            'born_in_chaos_v1:tombstone_orion'
        ],
        1500000
    );
    event.recipes.botania.runic_altar(
        'enicreo:luminessence',
        [
            'botania:quartz_sunny',
            'alexsmobs:stink_bottle',
            'minecraft:honey_block',
            'irons_spellbooks:legendary_ink',
            'enigmaticaddons:ichor_droplet',
            'royalvariations:royal_gunpowder',
            'royalvariations:royal_bone',
            'royalvariations:spiritual_crown_shard',
            'ars_nouveau:starbuncle_shards',
            'mythicbotany:fimbultyr_tablet',
            'alexsmobs:banana_slug_slime',
            'celestial_core:pure_nether_star',
            'crittersandcompanions:dragonfly_wing',
            'mowziesmobs:naga_fang',
            'born_in_chaos_v1:nightmare_stalker_skull',
            'enigmaticaddons:pure_heart'
        ],
        500000
    );
});

