// priority: 98
ServerEvents.recipes(e => {
    let id = `dupe`
    const item = {
        paxelTemplate: "rd:paxel_upgrade_smithing_template",
        netheriteTemplate:'minecraft:netherite_upgrade_smithing_template',
        stick: "minecraft:stick",
        stone: "minecraft:stone",
        diamond:"minecraft:diamond",
        netherrack:"minecraft:netherrack",
    }
    const recipes = {
        'rd:paxel_upgrade_smithing_template': {
            output: 2,
            pattern: [
                [item.stick, item.paxelTemplate, item.stick],
                [item.stick, item.stone, item.stick],
                [item.stick, item.stick, item.stick]
            ],
        },
        'minecraft:netherite_upgrade_smithing_template': {
            output: 2,
            pattern: [
                [item.diamond, item.netheriteTemplate, item.diamond],
                [item.diamond, item.netherrack, item.diamond],
                [item.diamond, item.diamond, item.diamond]
            ],
        },
    }
        for (let key in recipes) {
            let ckey = key.replace(":","/")
            consturctRecipeShaped(e, `${key}`, recipes[key], `${id}/${ckey}`);
    }
})