{
  "parent": "minecraft:adventure/root",
  "criteria": {
    "voluntary_exile": {
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "#minecraft:raiders",
              "equipment": {
                "head": {
                  "components": {
                    "minecraft:banner_patterns": [
                      {
                        "color": "cyan",
                        "pattern": "minecraft:rhombus"
                      },
                      {
                        "color": "light_gray",
                        "pattern": "minecraft:stripe_bottom"
                      },
                      {
                        "color": "gray",
                        "pattern": "minecraft:stripe_center"
                      },
                      {
                        "color": "light_gray",
                        "pattern": "minecraft:border"
                      },
                      {
                        "color": "black",
                        "pattern": "minecraft:stripe_middle"
                      },
                      {
                        "color": "light_gray",
                        "pattern": "minecraft:half_horizontal"
                      },
                      {
                        "color": "light_gray",
                        "pattern": "minecraft:circle"
                      },
                      {
                        "color": "black",
                        "pattern": "minecraft:border"
                      }
                    ],
                    "minecraft:item_name": {
                      "translate": "block.minecraft.ominous_banner"
                    }
                  },
                  "items": "minecraft:white_banner"
                }
              }
            }
          }
        ]
      },
      "trigger": "minecraft:player_killed_entity"
    }
  },
  "display": {
    "description": "Kill a raid captain. Maybe consider staying away from that bottle...",
    "hidden": true,
    "icon": {
      "components": {
        "minecraft:banner_patterns": [
          {
            "color": "cyan",
            "pattern": "minecraft:rhombus"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:stripe_bottom"
          },
          {
            "color": "gray",
            "pattern": "minecraft:stripe_center"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:border"
          },
          {
            "color": "black",
            "pattern": "minecraft:stripe_middle"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:half_horizontal"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:circle"
          },
          {
            "color": "black",
            "pattern": "minecraft:border"
          }
        ],
        "minecraft:item_name": {
          "translate": "block.minecraft.ominous_banner"
        },
        "minecraft:rarity": "uncommon",
        "minecraft:tooltip_display": {
          "hidden_components": [
            "minecraft:banner_patterns"
          ]
        }
      },
      "count": 1,
      "id": "minecraft:white_banner"
    },
    "title": {
      "translate": "advancements.adventure.voluntary_exile.title"
    }
  },
  "requirements": [
    [
      "voluntary_exile"
    ]
  ],
  "sends_telemetry_event": true
}