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

    const id_prefix = 'botania:kubejs/elven_trade';

    const recipes = [
        {
            inputs: [
                '#forge:ingots/dimension'
            ],
            output: 'botania:elementium_ingot',
            id: 'botania:elven_trade/elementium'
        },
        {
            inputs: [
                '#forge:storage_blocks/dimension'
            ],
            output: 'botania:elementium_block',
            id: 'botania:elven_trade/elementium_block'
        },
        {
            inputs: [
                'occultism:afrit_essence'
            ],
            output: '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: recipe.output }
        }).id(recipe.id);

    });
});
