onEvent('recipes', (event) => {

    const id_prefix = 'botania:kubejs/elven_trade';

    const recipes = [
        {
            inputs: [
                '#forge:ingots/fairy',
                '#forge:ingots/fairy'
            ],
            output: 'botania:elementium_ingot',
            id: 'botania:elven_trade/elementium'
        },
        {
            inputs: [
                '#forge:storage_blocks/fairy',
                '#forge:storage_blocks/fairy'
            ],
            output: 'botania:elementium_block',
            id: 'botania:elven_trade/elementium_block'
        },
        {
            inputs: [
                'appliedenergistics2:singularity'
            ],
            output: '3x botania:pixie_dust',
            id: 'botania:elven_trade/pixie_dust'
        },
        {
            inputs: [
                'rftoolsbase:infused_diamond'
            ],
            output: 'botania:dragonstone',
            id: 'botania:elven_trade/dragonstone'
        },
        {
            inputs: [
                'botania:quartz_lavender'
            ],
            output: 'botania:quartz_elven',
            id: 'botania:elven_trade/elf_quartz'
        }
    ];

    recipes.forEach((recipe) => {

        event.custom({
            type: 'botania:elven_trade',
            ingredients: recipe.inputs.map((input) => Ingredient.of(input).toJson()),
            output: Item.of(recipe.output).toResultJson(),
        }).id(recipe.id);

    });
});
