{
  "parent": "cnk:cookbook/root",
  "criteria": {
    "cnk:salmon_fillets": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {"items":"minecraft:poisonous_potato","predicates":{"minecraft:custom_data": {"cnk":{"ingredient":{"type":"salmon_fillets"}}}}}
        ]
      }
    },
    "cnk:cod_fillets": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {"items":"minecraft:poisonous_potato","predicates":{"minecraft:custom_data": {"cnk":{"ingredient":{"type":"cod_fillets"}}}}}
        ]
      }
    },
    "minecraft:salmon": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {"items": "minecraft:salmon"}
        ]
      }
    },
    "minecraft:cod": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {"items": "minecraft:cod"}
        ]
      }
    },
    "fathoms:fish": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {"items":"minecraft:tropical_fish","predicates":{"minecraft:custom_data":{"fathoms":{"fish":{}}}}}
        ]
      }
    },
    "fathoms:cod": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
            {"predicates":{"minecraft:custom_data":{"fathoms":{"id":"cod"}}}}
        ]
      }
    },
    "fathoms:salmon": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
            {"predicates":{"minecraft:custom_data":{"fathoms":{"id":"salmon"}}}}
        ]
      }
    },
    "tcc:swordfish": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {"predicates":{"minecraft:custom_data":{"tcc":{"id":"swordfish"}}}}
        ]
      }
    }
  },
  "requirements": [
    [
      "cnk:salmon_fillets",
      "cnk:cod_fillets",
      "minecraft:salmon",
      "minecraft:cod",
      "fathoms:fish",
      "tcc:swordfish",
      "fathoms:salmon",
      "fathoms:cod"
    ]
  ],
  "rewards": {
    "function": "cnk:cookbook/grant/any_fish"
  }
}