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