{
    "condition": "minecraft:entity_properties",
    "entity": "this",
    "predicate": {
      "type": "minecraft:player",
      "equipment": {
        "mainhand": {
          "items": [
            "minecraft:nether_star"
          ]
        }
      }
    }
}  