ServerEvents.recipes((event) => {
    const id_prefix = 'enigmatica:oritech/shapeless/';

    const recipes = [
        {
            output: 'oritech:motor',
            inputs: ['ars_nouveau:blank_parchment', 'enigmatica:source_ink'],
            id: `${id_prefix}motor`
        }
    ];

    recipes.forEach((recipe) => {
        let r = event.shapeless(recipe.output, recipe.inputs).id(recipe.id);
        if (recipe.damage) r.damageIngredient(recipe.damage.item, recipe.damage.amount);
        if (recipe.replace) r.replaceIngredient(recipe.replace.item, recipe.replace.replacement);

        
    });
});
