{
  "condition": "minecraft:inverted",
  "term": {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:0b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:1b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:2b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:3b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:4b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:5b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:6b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:7b}]}"
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "nbt": "{Inventory:[{Slot:8b}]}"
        }
      }
    ]
  }
}