events.listen('recipes', (event) => {
    var data = {
        recipes: [
            {
                input: 'minecraft:rotten_flesh',
                output: 'occultism:tallow',
                xp: 0.5
            },
            {
                input: '#forge:ores/ender',
                output: Item.of('#forge:shards/ender'),
                xp: 0.5
            },
            {
                input: '#forge:ores/amber',
                output: Item.of('#forge:shards/amber'),
                xp: 0.5
            },
            {
                input: '#forge:ores/netherite',
                output: Item.of('minecraft:netherite_scrap'),
                xp: 2.0
            },
            {
                input: '#forge:ores/thallasium',
                output: Item.of('#forge:ingots/thallasium'),
                xp: 0.7
            },
            {
                input: '#forge:ores/elementium',
                output: Item.of('#forge:ingots/elementium'),
                xp: 1.0
            },
            {
                input: 'farmersdelight:iron_knife',
                output: Item.of('#forge:nuggets/iron'),
                xp: 0.1
            },
            {
                input: 'farmersdelight:golden_knife',
                output: Item.of('#forge:nuggets/gold'),
                xp: 0.1
            },
            {
                input: Item.of('dustrial_decor:rusty_iron_ingot'),
                output: Item.of('#forge:ingots/iron')
            },
            {
                input: Item.of('dustrial_decor:rusty_iron_nugget'),
                output: Item.of('#forge:nuggets/iron')
            },
            {
                input: '#forge:dusts/netherite',
                output: Item.of('#forge:ingots/netherite')
            }
        ]
    };
    
    data.recipes.forEach((recipe) => {
        recipe.xp
            ? event.blasting(recipe.output, recipe.input).xp(recipe.xp)
            : event.blasting(recipe.output, recipe.input);
    });
});
