onEvent('recipes', event => {
  
  event.remove({output: 'naturesaura:ancient_sapling',type: 'naturesaura:tree_ritual'})
   event.custom(
    {
    "type": "naturesaura:tree_ritual",
    "ingredients": [
        {
            "item": "minecraft:redstone_block"
        },
        {
            "item": "minecraft:gold_ingot"
        },
        {
            "item": "naturesaura:gold_leaf"
        },
        {
            "item": "naturesaura:gold_leaf"
        }
    ],
    "sapling": {
        "item": "minecraft:oak_sapling"
    },
    "output": {
        "item": "naturesaura:ancient_sapling"
    },
    "time": 250
}
)






})