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