{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:item_used_on_block",
      "conditions": {
        "location": [
          {
            "condition": "minecraft:match_tool",
            "predicate": {
              "predicates": {
                "minecraft:custom_data": "{dualspawner:tag}"
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "survivalplus:tools/trap/dual_spawner"
  }
}