{
  "parent": "cnk:cookbook/root",
  "criteria": {
    "minecraft:water_bucket": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          { 
            "items": "minecraft:water_bucket"
          }
        ]
      }
    },
    "minecraft:water_bottle": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          { 
            "items": "minecraft:potion",
            "components": {
              "minecraft:potion_contents": {"potion":"minecraft:water"}
            }
          }
        ]
      }
    },
    "cnk:water_pail": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "items": "minecraft:player_head",
            "predicates": {
              "minecraft:custom_data": {"cnk":{"pail":{"liquid":"water"}}}
            }
          }
        ]
      }
    }
  },
    "requirements": [
    [
      "minecraft:water_bucket",
      "minecraft:water_bottle",
      "cnk:water_pail"
    ]
  ],
  "rewards": {
    "function": "cnk:cookbook/grant/water"
  }
}