onEvent('recipes', event => {

    const id_prefix = 'create:kubejs/cutting';

    const recipes = [
        {
            result: [
                '3x naturesaura:ancient_stick', 
                Item.of('emendatusenigmatica:wood_dust').withChance(0.75)
            ],
            ingredient: 'naturesaura:ancient_slab',
            id: 'ancient_stick'
        },
        {
            result: [
                '10x integrateddynamics:crystalized_chorus_chunk', 
                Item.of('5x integrateddynamics:crystalized_chorus_chunk').withChance(0.2)
            ],
            ingredient: 'integrateddynamics:crystalized_chorus_block',
            id: 'crystalized_chorus_chunk'
        },
        {
            result: [
                '10x integrateddynamics:crystalized_menril_chunk', 
                Item.of('5x integrateddynamics:crystalized_menril_chunk').withChance(0.2)
            ],
            ingredient: 'integrateddynamics:crystalized_menril_block',
            id: 'crystalized_menril_chunk'
        },
        {
            result: ['2x storagedrawers:oak_half_drawers_1'],
            ingredient: 'storagedrawers:oak_full_drawers_1',
            id: 'oak_full_drawers_1'
        },
        {
            result: ['2x storagedrawers:oak_half_drawers_2'],
            ingredient: 'storagedrawers:oak_full_drawers_2',
            id: 'oak_full_drawers_2'
        },
        {
            result: ['2x storagedrawers:oak_half_drawers_4'],
            ingredient: 'storagedrawers:oak_full_drawers_4',
            id: 'oak_full_drawers_4'
        }
    ];

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