{
  "criteria": {
    "use_spyglass": {
      "trigger": "minecraft:using_item",
      "conditions": {
        "item": {
          "items": "spyglass"
        }
      }
    }
  },
  "requirements": [
    [
      "use_spyglass"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/misc/spyglass/use_spyglass"
  }
}