ServerEvents.recipes(event => {
    event.custom({
  "type": "farmersdelight:cooking",
  "cookingtime": 200,
  "experience": 1.0,
  "ingredients": [
    {
      "item": "culturaldelights:corn_kernels"
    },
    {
      "item": "culturaldelights:corn_kernels"
    },
    {
      "item": "culturaldelights:corn_kernels"
    },
    {
      "item": "culturaldelights:corn_kernels"
    },
    {
      "item": "minecraft:sugar"
    },
    {
      "item": "rusticdelight:cooking_oil"
    }
  ],
  "result": {
    "item": "culturaldelights:popcorn",
    "count": 4
  }
    })
    event.remove({output:'culturaldelights:popcorn'})
})