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: 'immersiveengineering:drillhead_iron'
            },
            fluid: {
                tag: 'forge:molten_steel',
                amount: 1152
            },
            output: {
                item: 'immersiveengineering:drillhead_steel'
            },
            id: 'drillhead_steel'
        },
        {
            input: {
                 item: 'immersiveengineering:treated_scaffold'
            },
            fluid: {
                tag: 'forge:molten_steel',
                amount: 576
            },
            output: {
                item: 'immersiveengineering:steel_scaffolding_standard'
            },
            id: 'steel_scaffolding'
        },
        {
            input: {
                 item: 'immersiveengineering:treated_scaffold'
            },
            fluid: {
                tag: 'forge:molten_aluminum',
                amount: 576
            },
            output: {
                item: 'immersiveengineering:alu_scaffolding_standard'
            },
            id: 'alu_scaffolding'
        },
        {
            input: {
                 item: 'occultism:chalk_purple_impure'
            },
            fluid: {
                tag: 'kubejs:otherworld_plantoil',
                amount: 8000
            },
            output: {
                item: 'occultism:chalk_purple',
                nbt: '{Unbreakable:1b}'
            },
            id: 'chalk_purple'
        },
        {
            input: {
                 item: 'occultism:otherstone_frame'
            },
            fluid: {
                tag: 'forge:molten_electrum',
                amount: 864
            },
            output: {
                item: 'occultism:wormhole_frame'
            },
            id: 'wormhole_frame'
        },
        {
            input: {
                 item: 'occultism:otherstone_pedestal'
            },
            fluid: {
                tag: 'forge:molten_electrum',
                amount: 1728
            },
            output: {
                item: 'occultism:storage_controller_base'
            },
            id: 'storage_controller_base'
        }
    ];

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

});
