[
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:reference",
      "name": "vanilla_refresh:condition/spectator"
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:all_of",
      "terms": [
        {
          "condition": "minecraft:reference",
          "name": "vanilla_refresh:condition/invisible"
        },
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "type": "minecraft:player"
          }
        }
      ]
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:any_of",
      "terms": [
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "type": "#vanilla_refresh:cannot_show_health"
          }
        },
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "nbt": "{Tags:[\"refresh_entity_misc\"]}"
          }
        }
      ]
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "passenger": {
          "type": "player"
        }
      }
    }
  }
]