onEvent('recipes', (event) => {
    const id_prefix = 'immersiveengineering:kubejs/crusher';

    const recipes =  [
        {
            input: 'kubejs:holy_ingot',
            output: 'kubejs:holy_dust',
            secondary: [],
            id: 'holy_dust'
        },
        {
            input: 'kubejs:stainless_steel_ingot',
            output: 'kubejs:stainless_steel_dust',
            secondary: [],
            id: 'stainless_steel_dust'
        },
        {
            input: 'minecraft:netherite_ingot',
            output: 'thermal:netherite_dust',
            secondary: [],
            id: 'netherite_dust'
        },
        {
            input: 'astralsorcery:starmetal_ore',
            output: '2x astralsorcery:stardust',
            secondary: [],
            id: 'stardust'
        },
        {
            input: 'buildinggadgets:construction_block_dense',
            output: '2x buildinggadgets:construction_paste',
            secondary: [Item.of('buildinggadgets:construction_paste').withChance(0.25)],
            id: 'construction_paste'
        },
        {
            input: 'minecraft:end_stone',
            output: '2x occultism:crushed_end_stone',
            secondary: [],
            id: 'crushed_end_stone'
        },
        {
            input: 'kubejs:titanium_ore',
            output: '2x kubejs:titanium_dust',
            secondary: [Item.of('kubejs:vanadium_dust').withChance(0.1)],
            id: 'titanium_dust'
        },
        {
            input: 'kubejs:chromium_ore',
            output: '2x kubejs:chromium_dust',
            secondary: ['occultism:crushed_end_stone'],
            id: 'chromium_dust'
        },
        {
            input: 'rftoolspower:blazing_rod',
            output: '4x kubejs:blazing_powder',
            secondary: [Item.of('emendatusenigmatica:sulfur_dust').withChance(0.5)],
            id: 'blazing_powder'
        },
    ];
    

    recipes.forEach((recipe) => {
        event.recipes.immersiveengineering.crusher(recipe.output, recipe.input, recipe.secondary).id(`${id_prefix}/${recipe.id}`);
    });
});