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