{
  "display": {
    "icon": {
      "id": "minecraft:poisonous_potato",
      "components": {
        "minecraft:item_model": "cnk:chef_hat"
      }
    },
    "title": {"translate":"advancement.cnk.chef_hat.name","fallback":"Yes, Chef!"},
    "description": [{"translate":"advancement.cnk.chef_hat.desc","fallback":"Craft a chef hat"},{"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/root",
  "criteria": {
    "": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
            {
            "items": "minecraft:leather_helmet",
            "predicates": {
              "minecraft:custom_data": {"cnk":{"chef_hat":true}}
            }
          }
        ]
      }
    }
  }
}