{
  "parent": "cnk:cookbook/root",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          { 
            "items": "minecraft:red_dye"
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "cnk:cookbook/grant/red_dye"
  }
}