{
	"parent":"minecraft:adventure/root",
	"display":{
		"icon":{
			"item":"minecraft:white_banner",
			"nbt":"{
				BlockEntityTag:{
					Patterns:[{
						Color:9,
						Pattern:\"mr\"
					},
					{
						Color:8,
						Pattern:\"bs\"
					},
					{
						Color:7,
						Pattern:\"cs\"
					},
					{
						Color:8,
						Pattern:\"bo\"
					},
					{
						Color:15,
						Pattern:\"ms\"
					},
					{
						Color:8,
						Pattern:\"hh\"
					},
					{
						Color:8,
						Pattern:\"mc\"
					},
					{
						Color:15,
						Pattern:\"bo\"
					}],
					id:\"minecraft:banner\"
				},
				HideFlags:32,
				display:{
					Name:'{
						\"color\":\"gold\",
						\"translate\":\"block.minecraft.ominous_banner\"
					}'
				}
			}"
		},
		"title":{
			"translate":"advancements.adventure.voluntary_exile.title"
		},
		"description":{
			"translate":"advancements.adventure.voluntary_exile.description"
		},
		"frame":"task",
		"show_toast":true,
		"announce_to_chat":true,
		"hidden":true
	},
	"criteria":{
		"voluntary_exile":{
			"trigger":"minecraft:player_killed_entity",
			"conditions":{
				"entity":[{
					"condition":"minecraft:entity_properties",
					"predicate":{
						"type":"#minecraft:raiders",
						"equipment":{
							"head":{
								"items":[
									"minecraft:white_banner"
								],
								"nbt":"{
									BlockEntityTag:{
										Patterns:[{
											Color:9,
											Pattern:\"mr\"
										},
										{
											Color:8,
											Pattern:\"bs\"
										},
										{
											Color:7,
											Pattern:\"cs\"
										},
										{
											Color:8,
											Pattern:\"bo\"
										},
										{
											Color:15,
											Pattern:\"ms\"
										},
										{
											Color:8,
											Pattern:\"hh\"
										},
										{
											Color:8,
											Pattern:\"mc\"
										},
										{
											Color:15,
											Pattern:\"bo\"
										}],
										id:\"minecraft:banner\"
									},
									HideFlags:32,
									display:{
										Name:'{
											\"color\":\"gold\",
											\"translate\":\"block.minecraft.ominous_banner\"
										}'
									}
								}"
							}
						}
					},
					"entity":"this"
				}]
			}
		}
	},
	"requirements":[
		[
			"voluntary_exile"
		]
	],
	"sends_telemetry_event":true
}