[
  {
    "condition": "minecraft:entity_properties",
    "entity": "this",
    "predicate": {
      "equipment": {
        "feet": {
          "count": {
            "min": 1
          },
          "nbt": "{Enchantments:[{id:\"minecraft:mending\"}]}"
        }
      }
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "equipment": {
          "feet": {
            "nbt": "{Damage:0}"
          }
        }
      }
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "equipment": {
          "feet": {
            "nbt": "{nucleus:{}}"
          }
        }
      }
    }
  }
]