{
  "criteria": {
    "consume_item": {
      "trigger": "minecraft:consume_item",
      "conditions": {
        "item": {
          "components": {
            "custom_data": {
              "IsBandage": true,
              "or_edited_item": true,
              "or_no_edit": true
            }
          }
        }
      }
    }
  },
  "requirements": [
    [
      "consume_item"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/operations/player_use_bandage"
  }
}