onEvent('recipes', event => {

    const id_prefix = 'create:kubejs/cutting';

    const recipes = [
        {
            result: [
                '4x minecraft:stick',
                Item.of('emendatusenigmatica:wood_dust').withChance(0.75)
            ],
            ingredient: '#minecraft:planks',
            id: 'stick'
        },
        {
            result: [
                '6x integrateddynamics:menril_planks'
            ],
            ingredient: 'integrateddynamics:menril_log_stripped',
            id: 'menril_planks_from_log'
        },
        {
            result: [
                '6x integrateddynamics:menril_planks'
            ],
            ingredient: 'integrateddynamics:menril_wood_stripped',
            id: 'menril_planks_from_wood'
        },
        {
            result: [
                'integrateddynamics:menril_log_stripped'
            ],
            ingredient: 'integrateddynamics:menril_log',
            id: 'menril_log_stripped'
        },
        {
            result: [
                'integrateddynamics:menril_wood_stripped'
            ],
            ingredient: 'integrateddynamics:menril_wood',
            id: 'menril_wood_stripped'
        },
        {
            result: [
                '3x naturesaura:ancient_planks'
            ],
            ingredient: 'naturesaura:ancient_log',
            id: 'ancient_planks_from_log'
        },
        {
            result: [
                '3x naturesaura:ancient_planks'
            ],
            ingredient: 'naturesaura:ancient_bark',
            id: 'ancient_planks_from_bark'
        },
        {
            result: [
                '2x naturesaura:ancient_stick',
                Item.of('emendatusenigmatica:wood_dust').withChance(0.75)
            ],
            ingredient: 'naturesaura:ancient_slab',
            id: 'ancient_stick'
        },
        {
            result: [
                '4x immersiveengineering:stick_treated',
                Item.of('emendatusenigmatica:wood_dust').withChance(0.75)
            ],
            ingredient: '#forge:treated_wood',
            id: 'stick_treated'
        },
        {
            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}`);
    });
    
});