{
  "parent": "magical_addons:---/item/use",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:consume_item",
      "conditions": {
        "item": {
          "items": "minecraft:milk_bucket"
        }
      }
    }
  },
  "rewards": {
    "function": "magical_addons:effect/clear_all"
  }
}