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

    const recipes = [
        {
            fluid: {
                name: 'immersiveengineering:creosote',
                amount: 50
            },
            duration: 200,
            temperature: 1500,
            id: `${id_prefix}creosote`
        },
        {
            fluid: {
                name: 'immersiveengineering:biodiesel',
                amount: 50
            },
            duration: 100,
            temperature: 2000,
            id: `${id_prefix}biodiesel`
        },
        {
            fluid: {
                name: 'immersivepetroleum:oil',
                amount: 100
            },
            duration: 100,
            temperature: 2000,
            id: `${id_prefix}oil`
        },
        {
            fluid: {
                name: 'immersivepetroleum:diesel_sulfur',
                amount: 50
            },
            duration: 100,
            temperature: 2000,
            id: `${id_prefix}diesel_sulfur`
        },
        {
            fluid: {
                name: 'immersivepetroleum:gasoline',
                amount: 50
            },
            duration: 150,
            temperature: 2000,
            id: `${id_prefix}gasoline`
        },
        {
            fluid: {
                name: 'immersivepetroleum:diesel',
                amount: 50
            },
            duration: 100,
            temperature: 2500,
            id: `${id_prefix}diesel`
        }
    ];

    recipes.forEach((recipe) => {
        event.custom({
            type: 'tconstruct:melting_fuel',
            fluid: recipe.fluid,
            duration: recipe.duration,
            temperature: recipe.temperature
        }).id(recipe.id);
    });
});
