{
  "criteria": {
    "consume_item": {
      "trigger": "minecraft:consume_item",
      "conditions": {
        "item": {
          "items": "cooked_salmon"
        }
      }
    }
  },
  "requirements": [
    [
      "consume_item"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/foods/generic/eat_cooked_salmon"
  }
}