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

    const id_prefix = 'immersiveengineering:kubejs/bottling'

    const recipes = [
        {
            input: {
                 item: 'atum:crystal_glass'
            },
            fluid: {
                tag: 'astralsorcery:liquid_starlight',
                amount: 1000
            },
            output: {
                item: 'astralsorcery:glass_lens'
            },
            id: 'glass_lens'
        },
        {
            input: {
                 item: 'astralsorcery:parchment'
            },
            fluid: {
                tag: 'astralsorcery:liquid_starlight',
                amount: 500
            },
            output: {
                item: 'astralsorcery:constellation_paper'
            },
            id: 'constellation_paper'
        },
        {
            input: {
                 item: 'xkdeco:hollow_steel_frame'
            },
            fluid: {
                tag: 'forge:molten_steel',
                amount: 576
            },
            output: {
                item: 'immersiveengineering:steel_scaffolding_standard'
            },
            id: 'steel_scaffolding'
        },
        {
            input: {
                 item: 'xkdeco:hollow_steel_frame'
            },
            fluid: {
                tag: 'forge:molten_aluminum',
                amount: 576
            },
            output: {
                item: 'immersiveengineering:alu_scaffolding_standard'
            },
            id: 'alu_scaffolding'
        },
        {
            input: {
                 item: 'immersiveengineering:blastbrick'
            },
            fluid: {
                tag: 'forge:molten_steel',
                amount: 144
            },
            output: {
                item: 'kubejs:blastbrick_steeled'
            },
            id: 'blastbrick_steeled'
        },
        {
            input: {
                 item: 'occultism:chalk_purple_impure'
            },
            fluid: {
                tag: 'kubejs:otherworld_plantoil',
                amount: 4000
            },
            output: {
                item: 'occultism:chalk_purple',
                nbt: '{Unbreakable:1b}'
            },
            id: 'chalk_purple'
        },
        {
            input: {
                 item: 'occultism:otherstone_frame'
            },
            fluid: {
                tag: 'forge:molten_electrum',
                amount: 576
            },
            output: {
                item: 'occultism:wormhole_frame'
            },
            id: 'wormhole_frame'
        }
        
    ];

    recipes.forEach((recipe) => {
        event.custom({
            type: 'immersiveengineering:bottling_machine',
            input: recipe.input,
            fluid: recipe.fluid,
            result: recipe.output
        }).id(`${id_prefix}/${recipe.id}`)
    });

});
