{
  "display": {
    "icon": {
      "id": "minecraft:poisonous_potato",
      "components": {
        "minecraft:item_model": "cnk:coffee"
      }
    },
    "title": {"translate":"advancement.cnk.coffee.name","fallback":"Caffeinated"},
    "description": [{"translate":"advancement.cnk.coffee.desc","fallback":"Get a boost after drinking coffee"},{"text":"\n\n"},{"translate":"cnk.tooltip","font":"cnk:tooltip","color":"white","italic":false}],
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "parent": "cnk:visible/cooking_pot",
  "criteria": {
    "": {
      "trigger": "minecraft:consume_item",
      "conditions": {
        "item": {
          "items": "minecraft:poisonous_potato",
          "predicates": {
            "minecraft:custom_data": {"cnk":{"ingredient":{"type":"coffee"}}}
          }
        }
      }
    }
  }
}