{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:consume_item",
      "conditions": {
        "item": {
          "items": "minecraft:poisonous_potato",
          "predicates": {
            "minecraft:custom_data": {"cnk":{"ingredient":{"type":"apple_cider"}}}
          }
        }
      }
    }
  },
  "rewards": {
    "function": "cnk:drinks/apple_cider/effect/main"
  }
}