onEvent('recipes', (event) => {
    const id_prefix = 'astralsorcery:kubejs/block_transmutation';

    const recipes = [
        {
            input: 'occultism:iesnium_ore',
            output: 'astralsorcery:starmetal_ore',
            starlight: 1000,
            id: 'astralsorcery:block_transmutation/iron_starmetal'
        },
        {
            input: 'kubejs:aquamarine_block',
            output: 'astralsorcery:rock_crystal_ore',
            starlight: 500,
            id: `${id_prefix}/aquamarine_to_rock_crystal`
        }
    ]


    recipes.forEach((recipe) => {
        event.custom({
            type: 'astralsorcery:block_transmutation',
            input: {
                block: recipe.input
            },
            output: {
                block: recipe.output
            },
            starlight: recipe.starlight
        }).id(recipe.id);
    });

});