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

    const id_prefix = 'immersiveengineering:kubejs/mixer';

    const recipes = [
        {
            inputs: [
                { item: 'create:limesand' },
                { 
                    base_ingredient: { item: 'kubejs:bloodslate_dust' },
                    count: 2
                },
                { 
                    base_ingredient: { item: 'minecraft:clay_ball' },
                    count: 2
                }
            ],
            output: {
                fluid: 'immersiveengineering:concrete',
                amount: 1000
            },
            fluid: {
                tag: 'minecraft:water',
                amount: 500
            },
            energy: 3200,
            id: 'concrete'
        },
        {
            inputs: [
                { 
                    base_ingredient: { item: 'occultism:otherworld_leaves' },
                    count: 4
                },
                { item: 'occultism:otherworld_ashes' }
            ],
            output: {
                fluid: 'kubejs:otherworld_plantoil',
                amount: 200
            },
            fluid: {
                tag: 'integrateddynamics:liquid_chorus',
                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: [
                { 
                    base_ingredient: { tag: 'forge:gems/bitumen' },
                    count: 2
                }
            ],
            output: {
                fluid: 'kubejs:asphalt',
                amount: 1000
            },
            fluid: {
                tag: 'forge:concrete',
                amount: 1000
            },
            energy: 3200,
            id: 'asphalt'
        },
        {
            inputs: [
                { 
                    base_ingredient: { item: 'astralsorcery:stardust' },
                    count: 4
                },
                { item: 'jaopca:dusts.titanium' },
                { item: 'jaopca:dusts.sky' }
            ],
            output: {
                fluid: 'materialis:molten_starmetal',
                amount: 288
            },
            fluid: {
                tag: 'astralsorcery:liquid_starlight',
                amount: 500
            },
            energy: 3200,
            id: 'molten_starmetal'
        }
    ];

    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}`);

    });


})
