ServerEvents.recipes(event => {
    event.custom({
  "type": "farmersdelight:cooking",
  "cookingtime": 200,
  "experience": 0.1,
  "ingredients": [
    {
      "item": "fruitsdelight:pineapple_slice"
    },
    {
      "item": "fruitsdelight:pineapple_slice"
    },
    {
      "item": "fruitsdelight:pineapple_slice"
    },
    {
      "item": "farmersdelight:pie_crust"
    },
    {
      "item": "minecraft:egg"
    },
    {
      "item": "minecraft:sugar"
    }
  ],
  "result": {
    "count": 3,
    "item": "fruitsdelight:pineapple_pie"
  }
    })
    event.remove({output:'fruitsdelight:pineapple_pie'})
})