{
  "condition": "minecraft:entity_properties",
  "entity": "this",
  "predicate": {
    "equipment": {
      "offhand": {
        "count": {
          "min": 1
        },
        "nbt": "{Enchantments:[{id:\"minecraft:mending\"}],nucleus:{repaired:0b}}"
      }
    }
  }
}
