onEvent('recipes', event =>{

    const id_prefix = 'create:kubejs/mixing';

    const recipes = [
        {
            inputs: [ 'minecraft:andesite', 'eidolon:pewter_nugget' ],
            output: 'create:andesite_alloy',
            id: 'andesite_alloy'
        },
        {
            inputs: ['kubejs:paste','minecraft:sand','minecraft:gravel'],
            output: '2x tconstruct:grout',
            id: 'grout'
        },
        {
            inputs: [ '4x eidolon:enchanted_ash', Fluid.of('materialis:molten_arcane_gold',144) ],
            output: 'bloodmagic:arcaneashes',
            id: 'arcaneashes'
        },
        {
            inputs: [ '3x #minecraft:small_flowers', 'botania:vine_ball', '2x kubejs:coral_dust', Fluid.of('minecraft:water',200) ],
            output: '2x create:tree_fertilizer',
            id: 'tree_fertilizer'
        },
        {
            inputs: [ '4x kubejs:paste', '3x immersiveengineering:hemp_fiber' ],
            output: 'immersiveengineering:hempcrete',
            id: 'hempcrete'
        },
        {
            heated: true,
            inputs: [ '4x farmersdelight:rope', 'minecraft:blaze_powder', 'eidolon:crimson_essence', 'create:cinder_flour' ],
            output: '4x jaept:scarlet_rope',
            id: 'scarlet_rope'
        },
        {
            heated: true,
            inputs: [ '4x create:dough', 'thermal:basalz_powder', 'eidolon:death_essence', 'emendatusenigmatica:obsidian_dust' ],
            output: '4x jaept:dark_dough',
            id: 'dark_dough'
        },
        {
            heated: true,
            inputs: [ 'create:polished_rose_quartz', 'emendatusenigmatica:silicon_gem', Fluid.of('tconstruct:molten_iron',144) ],
            output: 'create:electron_tube',
            id: 'electron_tube'
        },
        {
            heated: true,
            inputs: [ '4x create:limesand', '4x kubejs:bloodslate_dust', 'minecraft:clay',  Fluid.of('minecraft:water',500) ],
            output: Fluid.of('immersiveengineering:concrete',500),
            id: 'concrete'
        },
        {
            superheated: true,
            inputs: [
                'eidolon:ender_calx',
                'kubejs:holy_dust',
                'emendatusenigmatica:signalum_dust',
                'emendatusenigmatica:obsidian_dust',
                'create:polished_rose_quartz'
            ],
            output: 'create:chromatic_compound',
            id: 'chromatic_compound'
        },
        {
            superheated: true,
            inputs: [ 'minecraft:iron_ingot', '4x emendatusenigmatica:coal_dust' ],
            output: 'emendatusenigmatica:cast_iron_ingot',
            id: 'cast_iron_ingot'
        },
        {
            superheated: true,
            inputs: [ '3x emendatusenigmatica:copper_dust', 'emendatusenigmatica:silver_dust', Fluid.of('emendatusenigmatica:molten_redstone',400) ],
            output: Fluid.of('tconstruct:molten_signalum',288),
            id: 'molten_signalum'
        },
        {
            superheated: true,
            inputs: [ '3x emendatusenigmatica:tin_dust', 'emendatusenigmatica:silver_dust', Fluid.of('kubejs:molten_glowstone',200) ],
            output: Fluid.of('tconstruct:molten_lumium',288),
            id: 'molten_lumium'
        },
        {
            superheated: true,
            inputs: [ '3x emendatusenigmatica:lead_dust', 'emendatusenigmatica:diamond_dust', Fluid.of('tconstruct:molten_ender',500) ],
            output: Fluid.of('tconstruct:molten_enderium',288),
            id: 'molten_enderium'
        },
        {
            superheated: true,
            inputs: [ '4x atum:ceramic_white' ],
            output: '4x atum:ceramic_black',
            id: 'ceramic_black'
        },
        {
            superheated: true,
            inputs: [ '2x emendatusenigmatica:bitumen_gem', Fluid.of('immersiveengineering:concrete',500) ],
            output: Fluid.of('kubejs:asphalt',500),
            id: 'asphalt'
        }

    ];

    recipes.forEach((recipe) => {

        buildRecipe = event.recipes.createMixing(recipe.output, recipe.inputs).id(`${id_prefix}/${recipe.id}`);
        if(recipe.heated){
            buildRecipe.heated();
        }
        if(recipe.superheated){
            buildRecipe.superheated();
        }

    });

})