{
  "criteria": {
    "pred_check": {
      "trigger": "minecraft:tick",
      "conditions": {
        "player": [
            {
                "condition": "value_check",
                "value": {
                    "type": "score",
                    "score": "OverlyRealistic.Player.UsedGlassBottle",
                    "target": "this"
                },
                "range": {
                    "min": 1
                }
            },
            {
                "condition": "entity_properties",
                "entity": "this",
                "predicate": {
                    "slots": {
                        "weapon.*": {
                            "items": "potion"
                        }
                    }
                }
            }
        ]
      }
    }
  },
  "requirements": [
    [
      "pred_check"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/thirst/used_glass_bottle"
  }
}