onEvent('recipes', event => {

    const id_prefix = 'create:kubejs/milling';

    const recipes = [
        {result: 'create:cinder_flour', ingredient: 'minecraft:netherrack', id: 'cinder_flour'},
        {result: 'emendatusenigmatica:wood_dust', ingredient: 'farmersdelight:tree_bark', id: 'wood_dust'},
        {result: '2x eidolon:enchanted_ash', ingredient: '#quark:crystal_cluster', id: 'enchanted_ash'},
        {result: '2x naturesaura:gold_powder', ingredient: 'naturesaura:gold_leaf', id: 'gold_powder'},
        {result: 'byg:brim_powder', ingredient: 'byg:brimstone', id: 'brim_powder'},
        {result: 'atum:emmer_flour', ingredient: 'atum:emmer', id: 'emmer_flour'},
        {result: Item.of('kubejs:coral_dust').withChance(0.5), ingredient: '#forge:coral_fans', id: 'coral_dust_from_fans'},
        {result: Item.of('kubejs:coral_dust'), ingredient: '#forge:corals', id: 'coral_dust'}
    ];

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

})