ServerEvents.recipes(event => {
    event.custom({
  "type": "farmersdelight:cooking",
  "container": {
    "item": "minecraft:bowl"
  },
  "cookingtime": 200,
  "experience": 0.1,
  "ingredients": [
    {
      "item": "minecraft:sugar"
    },
    {
      "item": "minecraft:sugar"
    },
    {
      "item": "fruitsdelight:pear"
    },
    {
      "item": "fruitsdelight:pear"
    }
  ],
  "result": {
    "item": "fruitsdelight:pear_with_rock_sugar"
  }
    })
    event.remove({output:'fruitsdelight:pear_with_rock_sugar'})
})