{
  "condition": "minecraft:any_of",
  "terms": [
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "weapon.*": {
            "items": "#minecraft:shulker_boxes"
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "weapon.*": {
            "items": "minecraft:shulker_shell"
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "weapon.*": {
            "predicates": {
              "minecraft:bundle_contents": {
                "items": {
                  "contains": [
                    {
                      "items": "minecraft:shulker_shell"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "horse.*": {
            "items": "#minecraft:shulker_boxes"
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "horse.*": {
            "items": "minecraft:shulker_shell"
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "horse.*": {
            "predicates": {
              "minecraft:bundle_contents": {
                "items": {
                  "contains": [
                    {
                      "items": "minecraft:shulker_shell"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  ]
}