ServerEvents.recipes(event => {
    event.custom({
  "type": "minecraft:crafting_shapeless",
  "ingredients": [
    {
      "item": "rusticdelight:coffee"
    },
    {
      "item": "farmersdelight:milk_bottle"
    },
    {
      "item": "minecraft:glass_bottle"
    },
    {
      "item": "minecraft:glass_bottle"
    }
  ],
  "result": {
    "item": "rusticdelight:milk_coffee",
    "count": 2
  }
    })
    event.remove({output:'rusticdelight:milk_coffee'})
})