onEvent('recipes', event => {

    const id_prefix = 'create:kubejs/pressing';

    const recipes = [
        {result: 'emendatusenigmatica:lapis_plate', ingredient: 'minecraft:lapis_lazuli', id: 'lapis_plate'},
        {result: 'appliedenergistics2:sky_stone_brick', ingredient: 'appliedenergistics2:smooth_sky_stone_block', id: 'sky_stone_brick'}
    ];


    metals.forEach((metal) => {
        const ingot = itemOf(`#forge:ingots/${metal}`);
        const plate = itemOf(`#forge:plates/${metal}`);
        if(plate!=null){
            event.recipes.createPressing(plate, ingot).id(`${id_prefix}/${metal}_plate`);
        }
    });
    gems.forEach((metal) => {
        const gem = itemOf(`#forge:gems/${metal}`);
        const plate = itemOf(`#forge:plates/${metal}`);
        if(plate!=null){
            event.recipes.createPressing(plate, gem).id(`${id_prefix}/${metal}_plate`);
        }
    });

    recipes.forEach((recipe) => {
        event.recipes.createPressing(recipe.result, recipe.ingredient).id(`${id_prefix}/${recipe.id}`);
    });

});