onEvent('recipes', event =>{

    const id_prefix = 'create:kubejs/mixing';

    const recipes = [
        {
            inputs: [ 'minecraft:andesite', 'eidolon:pewter_ingot' ],
            output: '2x 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: [ '25x minecraft:dirt', 'mob_grinding_utils:rotten_egg' ],
            output: '25x mob_grinding_utils:dreadful_dirt',
            id: 'dreadful_dirt'
        },
        {
            inputs: [ '25x minecraft:dirt', 'mob_grinding_utils:golden_egg' ],
            output: '25x mob_grinding_utils:delightful_dirt',
            id: 'delightful_dirt'
        },
        {
            inputs: [ '4x kubejs:paste', '3x immersiveengineering:hemp_fiber' ],
            output: 'immersiveengineering:hempcrete',
            id: 'hempcrete'
        },
        {
            heated: true,
            inputs: [ 'minecraft:honeycomb', Fluid.of('minecraft:water',125) ],
            output: Fluid.of('create:honey',125),
            id: 'honey'
        },
        {
            heated: true,
            inputs: [ 'minecraft:honeycomb_block', Fluid.of('minecraft:water',500) ],
            output: Fluid.of('create:honey',500),
            id: 'honey_from_block'
        },
        {
            heated: true,
            inputs: [ '3x emendatusenigmatica:copper_dust', 'emendatusenigmatica:tin_dust' ],
            output: '4x emendatusenigmatica:bronze_dust',
            id: 'bronze_dust'
        },
        {
            heated: true,
            inputs: [ 'emendatusenigmatica:copper_dust', 'emendatusenigmatica:zinc_dust' ],
            output: '2x emendatusenigmatica:brass_dust',
            id: 'brass_dust'
        },
        {
            heated: true,
            inputs: [ 'emendatusenigmatica:copper_dust', 'emendatusenigmatica:nickel_dust' ],
            output: '2x emendatusenigmatica:constantan_dust',
            id: 'constantan_dust'
        },
        {
            heated: true,
            inputs: [ '2x emendatusenigmatica:iron_dust', 'emendatusenigmatica:nickel_dust' ],
            output: '3x emendatusenigmatica:invar_dust',
            id: 'invar_dust'
        },
        {
            heated: true,
            inputs: [ 'emendatusenigmatica:iron_dust', 'emendatusenigmatica:lead_dust' ],
            output: '2x jaopca:dusts.pewter',
            id: 'pewter_dust'
        },
        {
            heated: true,
            inputs: [ 'emendatusenigmatica:iron_dust', 'minecraft:clay_ball', Fluid.of('tconstruct:blood', 250) ],
            output: '2x jaopca:dusts.pig_iron',
            id: 'pig_iron_dust'
        },
        {
            heated: true,
            inputs: [ '3x emendatusenigmatica:copper_dust', 'emendatusenigmatica:gold_dust' ],
            output: '4x jaopca:dusts.rose_gold',
            id: 'rose_gold_dust'
        },
        {
            heated: true,
            inputs: [ '3x emendatusenigmatica:copper_dust', Fluid.of('tconstruct:molten_glass',1000) ],
            output: '3x jaopca:dusts.silicon_bronze',
            id: 'silicon_bronze_dust'
        },
        {
            heated: true,
            inputs: [ 'emendatusenigmatica:iron_dust', 'tconstruct:grout', Fluid.of('tconstruct:sky_slime', 250) ],
            output: '2x jaopca:dusts.slimesteel',
            id: 'slimesteel_dust'
        },
        {
            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: [ '8x immersiveengineering:wirecoil_structure_rope', 'minecraft:blaze_powder', 'eidolon:crimson_essence', 'create:cinder_flour' ],
            output: '8x jaept:scarlet_rope',
            id: 'scarlet_rope_from_hemp'
        },
        {
            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: [ '8x atum:emmer_dough', 'thermal:basalz_powder', 'eidolon:death_essence', 'emendatusenigmatica:obsidian_dust' ],
            output: '8x jaept:dark_dough',
            id: 'dark_dough_from_emmer'
        },
        {
            heated: true,
            inputs: [ 'appliedenergistics2:purified_nether_quartz_crystal', '6x tconstruct:rose_gold_nugget', '2x emendatusenigmatica:cinnabar_dust' ],
            output: 'create:rose_quartz',
            id: 'rose_quartz'
        },
        {
            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', '4x minecraft:clay_ball',  Fluid.of('minecraft:water',250) ],
            output: Fluid.of('immersiveengineering:concrete',500),
            id: 'concrete'
        },
        {
            superheated: true,
            inputs: [ 'emendatusenigmatica:cobalt_dust', 'emendatusenigmatica:gold_dust', Fluid.of('tconstruct:magma', 250) ],
            output: '2x jaopca:dusts.queens_slime',
            id: 'queens_slime_dust'
        },
        {
            superheated: true,
            inputs: [ 'emendatusenigmatica:cobalt_dust', '2x emendatusenigmatica:copper_dust', '4x emendatusenigmatica:quartz_dust' ],
            output: '2x jaopca:dusts.hepatizon',
            id: 'hepatizon_dust'
        },
        {
            superheated: true,
            inputs: [ '4x emendatusenigmatica:steel_dust', Fluid.of('kubejs:soul_essence', 1000) ],
            output: '4x jaopca:dusts.soulsteel',
            id: 'soulsteel_dust'
        },
        {
            superheated: true,
            inputs: [
                'eidolon:ender_calx',
                '#forge:dusts/holy',
                '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: [ 'occultism:otherstone', '4x emendatusenigmatica:sulfur_dust' ],
            output: 'occultism:burnt_otherstone',
            id: 'burnt_otherstone'
        },
        {
            superheated: true,
            inputs: [ '4x astralsorcery:stardust', '#forge:dusts/titanium', '#forge:dusts/sky', Fluid.of('astralsorcery:liquid_starlight',1000) ],
            output: Fluid.of('materialis:molten_starmetal',288),
            id: 'molten_starmetal'
        },
        {
            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();
        }

    });

})