{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:item_used_on_block",
      "conditions": {
        "location": [
          {
            "condition": "minecraft:match_tool",
            "predicate": {
              "items": "minecraft:item_frame"
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "cnk:item_frame/main"
  }
}