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

    const id_prefix = 'botania:brew';

    const recipes = [
        {
            brew: 'botania:bloodthirst',
            inputs: [
                'eidolon:fungus_sprouts',
                'minecraft:fermented_spider_eye',
                'bloodmagic:vengefulcatalyst',
                'tconstruct:blood_slime_ball',
                'botania:scorched_seeds'
            ],
            id: 'bloodthirst'
        },
        {
            brew: 'botania:emptiness',
            inputs: [
                'eidolon:fungus_sprouts',
                'alexsmobs:soul_heart',
                'atum:ectoplasm',
                'minecraft:shulker_shell',
                'botania:infused_seeds'
            ],
            id: 'emptiness'
        },
        {
            brew: 'botania:regen',
            inputs: [
                'eidolon:fungus_sprouts',
                'minecraft:ghast_tear',
                'industrialforegoing:pink_slime',
                'bloodmagic:mundanepowercatalyst',
                'botania:vivid_seeds'
            ],
            id: 'regeneration'
        },
        {
            brew: 'botania:overload',
            inputs: [
                'eidolon:fungus_sprouts',
                'atum:nuit_godshard',
                'appliedenergistics2:sky_dust',
                'botania:black_lotus',
                'bloodmagic:mundanepowercatalyst',
                'botania:mutated_seeds'
            ],
            id: 'overload'
        }
    ];

    recipes.forEach((recipe) => {
        let ingredients = [];

        recipe.inputs.forEach((input) => {
            ingredients.push(Ingredient.of(input).toJson());
        });

        event.custom({
            type: 'botania:brew',
            brew: recipe.brew,
            ingredients: ingredients
        }).id(`${id_prefix}/${recipe.id}`);
    });
});