events.listen('recipes', function (e) {


    //Molten Ardite//
    tinkerMelt('kubejs:ardite_nugget', 'kubejs:molten_ardite', 16, 1000, 100)
    tinkerMelt('kubejs:ardite_ingot', 'kubejs:molten_ardite', 144, 1000, 200)
    tinkerMelt('kubejs:ardite_block', 'kubejs:molten_ardite', 1296, 1000, 200)
    tinkerCastingBasin("kubejs:molten_ardite", 1296, "kubejs:ardite_block", 200)
    tinkerCasting("kubejs:molten_ardite", 144, "kubejs:ardite_ingot", "tconstruct:casts/multi_use/ingot", false, 100)
    tinkerCasting("kubejs:molten_ardite", 144, "kubejs:ardite_ingot", "tconstruct:casts/single_use/ingot", true, 100)
    tinkerCasting("kubejs:molten_ardite", 16, "kubejs:ardite_nugget", "tconstruct:casts/multi_use/nugget", false, 200)
    tinkerCasting("kubejs:molten_ardite", 16, "kubejs:ardite_nugget", "tconstruct:casts/single_use/nugget", true, 200)

    //Molten Insanium//
    tinkerMelt('mysticalagradditions:insanium_nugget', 'kubejs:molten_insanium', 16, 1050, 33)
    tinkerMelt('mysticalagradditions:insanium_ingot', 'kubejs:molten_insanium', 144, 1050, 100)
    tinkerMelt('mysticalagradditions:insanium_ingot_block', 'kubejs:molten_insanium', 1296, 1050, 300)
    tinkerCastingBasin("kubejs:molten_insanium", 1296, "mysticalagradditions:insanium_ingot_block", 340)
    tinkerCasting("kubejs:molten_insanium", 144, "mysticalagradditions:insanium_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_insanium", 144, "mysticalagradditions:insanium_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_insanium", 16, "mysticalagradditions:insanium_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_insanium", 16, "mysticalagradditions:insanium_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Ornium//
    tinkerMelt('kubejs:ornium_nugget', 'kubejs:molten_ornium', 16, 1300, 33)
    tinkerMelt('kubejs:ornium_ingot', 'kubejs:molten_ornium', 144, 1300, 100)
    tinkerMelt('kubejs:ornium_ingot_block', 'kubejs:molten_ornium', 1296, 1300, 300)
    tinkerCastingBasin("kubejs:molten_ornium", 1296, "kubejs:ornium_ingot_block", 400)
    tinkerCasting("kubejs:molten_ornium", 144, "kubejs:ornium_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_ornium", 144, "kubejs:ornium_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_ornium", 16, "kubejs:ornium_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_ornium", 16, "kubejs:ornium_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Lightium//
    tinkerMelt('kubejs:lightium_nugget', 'kubejs:molten_lightium', 16, 2000, 33)
    tinkerMelt('kubejs:lightium_ingot', 'kubejs:molten_lightium', 144, 2000, 100)
    tinkerMelt('kubejs:lightium_ingot_block', 'kubejs:molten_lightium', 1296, 2000, 300)
    tinkerCastingBasin("kubejs:molten_lightium", 1296, "kubejs:lightium_ingot_block", 400)
    tinkerCasting("kubejs:molten_lightium", 144, "kubejs:lightium_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_lightium", 144, "kubejs:lightium_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_lightium", 16, "kubejs:lightium_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_lightium", 16, "kubejs:lightium_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Tornium//
    tinkerMelt('kubejs:tornium_nugget', 'kubejs:molten_tornium', 16, 2500, 33)
    tinkerMelt('kubejs:tornium_ingot', 'kubejs:molten_tornium', 144, 2500, 100)
    tinkerMelt('kubejs:tornium_ingot_block', 'kubejs:molten_tornium', 1296, 2500, 300)
    tinkerCastingBasin("kubejs:molten_tornium", 1296, "kubejs:tornium_ingot_block", 400)
    tinkerCasting("kubejs:molten_tornium", 144, "kubejs:tornium_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_tornium", 144, "kubejs:tornium_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_tornium", 16, "kubejs:tornium_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_tornium", 16, "kubejs:tornium_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Ouranium//
    tinkerMelt('kubejs:ouranium_nugget', 'kubejs:molten_ouranium', 16, 5000, 33)
    tinkerMelt('kubejs:ouranium_ingot', 'kubejs:molten_ouranium', 144, 5000, 100)
    tinkerMelt('kubejs:ouranium_ingot_block', 'kubejs:molten_ouranium', 1296, 5000, 300)
    tinkerCastingBasin("kubejs:molten_ouranium", 1296, "kubejs:ouranium_ingot_block", 400)
    tinkerCasting("kubejs:molten_ouranium", 144, "kubejs:ouranium_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_ouranium", 144, "kubejs:ouranium_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_ouranium", 16, "kubejs:ouranium_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_ouranium", 16, "kubejs:ouranium_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Elinvonze//
    tinkerMelt('berseria_sky:elinvonze_nugget', 'kubejs:molten_elinvonze', 16, 1500, 33)
    tinkerMelt('berseria_sky:elinvonze_ingot', 'kubejs:molten_elinvonze', 144, 1500, 100)
    tinkerMelt('berseria_sky:elinvonze_block', 'kubejs:molten_elinvonze', 1296, 1500, 200)
    tinkerCastingBasin("kubejs:molten_elinvonze", 1296, "berseria_sky:elinvonze_block", 340)
    tinkerCasting("kubejs:molten_elinvonze", 144, "berseria_sky:elinvonze_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_elinvonze", 144, "berseria_sky:elinvonze_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_elinvonze", 16, "berseria_sky:elinvonze_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_elinvonze", 16, "berseria_sky:elinvonze_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Manyerium//
    tinkerMelt('berseria_sky:manyerium_nugget', 'kubejs:molten_manyerium', 16, 1500, 33)
    tinkerMelt('berseria_sky:manyerium_ingot', 'kubejs:molten_manyerium', 144, 1500, 100)
    tinkerMelt('berseria_sky:manyerium_block', 'kubejs:molten_manyerium', 1296, 1500, 200)
    tinkerCastingBasin("kubejs:molten_manyerium", 1296, "berseria_sky:manyerium_block", 340)
    tinkerCasting("kubejs:molten_manyerium", 144, "berseria_sky:manyerium_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_manyerium", 144, "berseria_sky:manyerium_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_manyerium", 16, "berseria_sky:manyerium_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_manyerium", 16, "berseria_sky:manyerium_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Queens Steel//
    tinkerMelt('berseria_sky:queens_steel_nugget', 'kubejs:molten_queens_steel', 16, 1500, 33)
    tinkerMelt('berseria_sky:queens_steel_ingot', 'kubejs:molten_queens_steel', 144, 1500, 100)
    tinkerMelt('berseria_sky:queens_steel_block', 'kubejs:molten_queens_steel', 1296, 1500, 200)
    tinkerCastingBasin("kubejs:molten_queens_steel", 1296, "berseria_sky:queens_steel_block", 340)
    tinkerCasting("kubejs:molten_queens_steel", 144, "berseria_sky:queens_steel_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_queens_steel", 144, "berseria_sky:queens_steel_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_queens_steel", 16, "berseria_sky:queens_steel_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_queens_steel", 16, "berseria_sky:queens_steel_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Fayronium//
    tinkerMelt('berseria_sky:fayronium_nugget', 'kubejs:molten_fayronium', 16, 1500, 33)
    tinkerMelt('berseria_sky:fayronium_ingot', 'kubejs:molten_fayronium', 144, 1500, 100)
    tinkerMelt('berseria_sky:fayronium_block', 'kubejs:molten_fayronium', 1296, 1500, 200)
    tinkerCastingBasin("kubejs:molten_manyerium", 1296, "berseria_sky:fayronium_block", 340)
    tinkerCasting("kubejs:molten_fayronium", 144, "berseria_sky:fayronium_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_fayronium", 144, "berseria_sky:fayronium_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_fayronium", 16, "berseria_sky:fayronium_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_fayronium", 16, "berseria_sky:fayronium_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Manronium Steel//
    tinkerMelt('berseria_sky:manronium_steel_nugget', 'kubejs:molten_manronium_steel', 16, 3000, 33)
    tinkerMelt('berseria_sky:manronium_steel_ingot', 'kubejs:molten_manronium_steel', 144, 3000, 100)
    tinkerMelt('berseria_sky:manronium_steel_block', 'kubejs:molten_manronium_steel', 1296, 3000, 200)
    tinkerCastingBasin("kubejs:molten_manronium_steel", 1296, "berseria_sky:manronium_steel_block", 400)
    tinkerCasting("kubejs:molten_manronium_steel", 144, "berseria_sky:manronium_steel_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("kubejs:molten_manronium_steel", 144, "berseria_sky:manronium_steel_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("kubejs:molten_manronium_steel", 16, "berseria_sky:manronium_steel_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("kubejs:molten_manronium_steel", 16, "berseria_sky:manronium_steel_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Diamond//
    tinkerMelt('kubejs:diamond_nugget', 'tconstruct:molten_diamond', 16, 1500, 60)
    tinkerMelt('kubejs:diamond_ingot', 'tconstruct:molten_diamond', 144, 1500, 200)
    tinkerCasting("tconstruct:molten_diamond", 144, "kubejs:diamond_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("tconstruct:molten_diamond", 144, "kubejs:diamond_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("tconstruct:molten_diamond", 16, "kubejs:diamond_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("tconstruct:molten_diamond", 16, "kubejs:diamond_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Emerald//
    tinkerMelt('kubejs:emerald_nugget', 'tconstruct:molten_emerald', 16, 1500, 60)
    tinkerMelt('kubejs:emerald_ingot', 'tconstruct:molten_emerald', 144, 1500, 200)
    tinkerCasting("tconstruct:molten_emerald", 144, "kubejs:emerald_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("tconstruct:molten_emerald", 144, "kubejs:emerald_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("tconstruct:molten_emerald", 16, "kubejs:emerald_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("tconstruct:molten_emerald", 16, "kubejs:emerald_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    //Molten Comerald//
    tinkerMelt('berseria_sky:comerald_nugget', 'berseria_sky:molten_comerald', 16, 1300, 33)
    tinkerMelt('berseria_sky:comerald_ingot', 'berseria_sky:molten_comerald', 144, 1300, 100)
    tinkerCastingBasin("berseria_sky:molten_comerald", 1296, "berseria_sky:comerald_block", 340)
    tinkerCasting("berseria_sky:molten_comerald", 144, "berseria_sky:comerald_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("berseria_sky:molten_comerald", 144, "berseria_sky:comerald_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("berseria_sky:molten_comerald", 16, "berseria_sky:comerald_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("berseria_sky:molten_comerald", 16, "berseria_sky:comerald_nugget", "tconstruct:casts/single_use/nugget", true, 33)


    //Molten Ender//
    tinkerMelt('extendedcrafting:ender_nugget', 'tconstruct:molten_ender', 16, 1000, 33)
    tinkerMelt('extendedcrafting:ender_ingot', 'tconstruct:molten_ender', 144, 1000, 100)
    tinkerMelt('extendedcrafting:ender_ingot_block', 'tconstruct:molten_ender', 1296, 1000, 200)
    tinkerCastingBasin("tconstruct:molten_ender", 1296, "extendedcrafting:ender_ingot_block", 300)
    tinkerCasting("tconstruct:molten_ender", 144, "extendedcrafting:ender_ingot", "tconstruct:casts/multi_use/ingot", false, 120)
    tinkerCasting("tconstruct:molten_ender", 144, "extendedcrafting:ender_ingot", "tconstruct:casts/single_use/ingot", true, 120)
    tinkerCasting("tconstruct:molten_ender", 64, "extendedcrafting:ender_nugget", "tconstruct:casts/multi_use/nugget", false, 33)
    tinkerCasting("tconstruct:molten_ender", 64, "extendedcrafting:ender_nugget", "tconstruct:casts/single_use/nugget", true, 33)

    function tinkerMelt(input, output, qte, tmp, time) {
        e.custom({ "type": "tconstruct:melting", "ingredient": { "item": input }, "result": { "fluid": output, "amount": qte }, "temperature": tmp, "time": time })
    }

    function tinkerCasting(input, qte, output, cast, consume, time) {
        e.custom({ "type": "tconstruct:casting_table", "cast": { "tag": cast }, "cast_consumed": consume, "fluid": { "name": input, "amount": qte }, "result": output, "cooling_time": time })
    }

    function tinkerCastingBasin(input, qte, output, time) {
        e.custom({ "type": "tconstruct:casting_basin", "fluid": { "name": input, "amount": qte }, "result": { "item": output }, "cooling_time": time })
    }

})