onEvent('item.tooltip', (event) => {

    const recipes = [
        {
            items: [
                /minecraft:iron_.+/,
                /emendatusenigmatica:iron.+/,
            ],
            temp: '1538'
        },
        {
            items: [
                /minecraft:gold_.+/,
                /minecraft:golden_.+/,
                /emendatusenigmatica:gold.+/
            ],
            temp: '1064'
        },
        {
            items: [
                /emendatusenigmatica:copper.+/
            ],
            temp: '723'
        },
        {
            items: [
                /emendatusenigmatica:zinc.+/
            ],
            temp: '419,5'
        },
        {
            items: [
                /emendatusenigmatica:cobalt.+/
            ],
            temp: '1495'
        },
        {
            items: [
                /emendatusenigmatica:nickel.+/
            ],
            temp: '1455'
        },
        {
            items: [
                /emendatusenigmatica:silver.+/
            ],
            temp: '961,8'
        },
        {
            items: [
                /emendatusenigmatica:aluminum.+/
            ],
            temp: '425'
        },
        {
            items: [
                'exnihilosequentia:ingot_platinum',
                'exnihilosequentia:chunk_platinum'
            ],
            temp: '1768'
        },
        {
            items: [
                /emendatusenigmatica:constantan.+/
            ],
            temp: '1210'
        },
        {
            items: [
                'minecraft:ancient_debris',
                'minecraft:netherite_scrap',
                'tconstruct:debris_nugget',
            ],
            temp: '1175'
        },
        {
            items: [
                /minecraft:diamond.+/,
                'minecraft:diamond',
                /emendatusenigmatica:diamond.+/
            ],
            temp: '1450'
        },
        {
            items: [
                /minecraft:emerald.+/,
                'minecraft:emerald',
                /emendatusenigmatica:emerald.+/
            ],
            temp: '934'
        },
        {
            items: [
                'minecraft:netherite_ingot',
                /emendatusenigmatica:netherite.+/
            ],
            temp: '1250'
        },
        {
            items: [
                /emendatusenigmatica:invar.+/
            ],
            temp: '1427'
        },
        {
            items: [
                /emendatusenigmatica:electrum.+/
            ],
            temp: '1061,9'
        },
        {
            items: [
                /emendatusenigmatica:brass.+/
            ],
            temp: '1927'
        },
        {
            items: [
                /emendatusenigmatica:osmium.+/
            ],
            temp: '2933'
        },
        {
            items: [
                /emendatusenigmatica:lead.+/
            ],
            temp: '2327,5'
        },
        {
            items: [
                /emendatusenigmatica:tin.+/
            ],
            temp: '2231,9'
        },
        {
            items: [
                /emendatusenigmatica:uranium.+/
            ],
            temp: '2132'
        },
        {
            items: [
                /emendatusenigmatica:steel.+/
            ],
            temp: '2370'
        },
        {
            items: [
                /emendatusenigmatica:enderium.+/
            ],
            temp: '2999'
        },
        {
            items: [
                /emendatusenigmatica:bronze.+/
            ],
            temp: '700'
        },
        {
            items: [
                /emendatusenigmatica:signalum.+/
            ],
            temp: '1125'
        },
        {
            items: [
                /emendatusenigmatica:lumium.+/
            ],
            temp: '1050'
        },
    ];

    recipes.forEach((recipe) => {
        event.add(recipe.items, `§7Melting Point: §6${recipe.temp}°C`);
    });
    
});
