{
  "criteria": {
    "get_fish": {
      "trigger": "minecraft:fishing_rod_hooked",
      "conditions": {
        "rod": {
          "components": {
            "minecraft:custom_data": {
              "RodHasBait": true
            }
          }
        }
      }
    }
  },
  "requirements": [
    [
      "get_fish"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/fishing_rod_with_bait/rod_use"
  }
}