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: 'atum:limestone',
            output: 'astralsorcery:marble_raw',
            starlight: 1,
            id: `${id_prefix}/limestone_to_marble`
        },
        {
            input: 'minecraft:prismarine',
            output: 'astralsorcery:aquamarine_sand_ore',
            starlight: 100,
            id: `${id_prefix}/prismarine_to_aquamarine`
        },
        {
            input: 'jaopca:storage_blocks.aquamarine',
            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);
    });

});