{
  "criteria": {
    "consume_drink": {
      "trigger": "minecraft:effects_changed",
      "conditions": {
        "effects": {
          "minecraft:luck": {
            "amplifier": 249,
            "visible": false
          }
        }
      }
    }
  },
  "requirements": [
    [
      "consume_drink"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/foods/sweet_berry_drink_use"
  }
}