{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_interacted_with_entity",
      "conditions": {
        "item": {
          "items": [
            "minecraft:name_tag"
          ]
        },
        "entity": {
          "nbt": "{Tags:[dummy]}"
        }
      }
    }
  },
  "rewards": {
    "function": "survivalplus:tools/trap/dummy/renamedummy"
  }
}