[
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "type": "minecraft:player",
        "type_specific": {
          "type": "player",
          "gamemode": "creative"
        }
      }
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "type": "minecraft:player",
        "type_specific": {
          "type": "player",
          "gamemode": "spectator"
        }
      }
    }
  },
  {
    "condition": "minecraft:entity_properties",
    "entity": "this",
    "predicate": {
      "type": "#nucleus:preset/can_take_damage/include_players"
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:any_of",
      "terms": [
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "nbt": "{Invulnerable:1b}"
          }
        },
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "type": "minecraft:allay"
          }
        },
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "nbt": "{Tags:[\"smithed.block\"]}"
          }
        },
        {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "nbt": "{Tags:[\"smithed.strict\"]}"
          }
        }
      ]
    }
  }
]
