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

    const id_prefix = 'immersiveengineering:kubejs/mixer';

    const recipes = [
        {
            inputs: [
                { item: 'create:limesand' },
                { item: 'kubejs:bloodslate_dust' },
                { item: 'minecraft:clay_ball' },
            ],
            output: {
                fluid: 'immersiveengineering:concrete',
                amount: 500
            },
            fluid: {
                tag: 'minecraft:water',
                amount: 500
            },
            energy: 3200,
            id: 'concrete'
        },
        {
            inputs: [
                { 
                    base_ingredient: { item: 'occultism:otherworld_leaves' },
                    count: 4
                },
                { item: 'bloodmagic:simplecatalyst' }
            ],
            output: {
                fluid: 'kubejs:otherworld_plantoil',
                amount: 200
            },
            fluid: {
                tag: 'forge:plantoil',
                amount: 200
            },
            energy: 1600,
            id: 'otherworld_plantoil'
        },
        {
            inputs: [
                { item: 'buildinggadgets:construction_paste' },
                { 
                    base_ingredient: { tag: 'forge:slimeballs' },
                    count: 2
                }
            ],
            output: {
                fluid: 'kubejs:industrial_adhesives',
                amount: 500
            },
            fluid: {
                tag: 'forge:ethanol',
                amount: 1000
            },
            energy: 1600,
            id: 'industrial_adhesives'
        },
        {
            inputs: [
                { item: 'emendatusenigmatica:bitumen_gem' }
            ],
            output: {
                fluid: 'kubejs:asphalt',
                amount: 500
            },
            fluid: {
                tag: 'forge:concrete',
                amount: 500
            },
            energy: 3200,
            id: 'asphalt'
        },
    ];

    recipes.forEach((recipe) => {

        event.custom({
            type: 'immersiveengineering:mixer',
            inputs: recipe.inputs,
            result: recipe.output,
            fluid: recipe.fluid,
            energy: recipe.energy
        }).id(`${id_prefix}/${recipe.id}`);

    });


})
