ServerEvents.recipes(event => {
    event.custom({
        type: 'create:haunting',
        ingredients: [
            {
                item: 'minecraft:diamond_ore'
            }
        ],
        results: [
            {
                item: 'born_in_chaos_v1:infected_diamond_ore'
            }
        ]
    });
    event.custom({
        type: 'create:haunting',
        ingredients: [
            {
                item: 'minecraft:deepslate_diamond_ore'
            }
        ],
        results: [
            {
                item: 'born_in_chaos_v1:infected_deepslate_diamond_ore'
            }
        ]
    });
});