ServerEvents.recipes(event => {
    event.custom({
  "type": "minecraft:crafting_shaped",
  "key": {
    "P": {
      "item": "farmersdelight:pie_crust"
    },
    "M": {
      "item": "farmersdelight:milk_bottle"
    },
    "S": {
      "item": "minecraft:sweet_berries"
    },
    "C": {
      "item": "brewinandchewin:flaxen_cheese_wedge"
    },
    "E": {
      "item": "minecraft:egg"
    },
    "J": {
      "item": "fruitsdelight:sweetberry_jelly"
    }
  },
  "pattern": [
    "SJS",
    "SCS",
    "EPM"
  ],
  "result": {
    "item": "farmersdelight:sweet_berry_cheesecake"
  }
    })
    event.remove({id:'farmersdelight:sweet_berry_cheesecake'})
})