{
	"display": {
		"icon": {
			"id": "minecraft:player_head",
			"components": {"profile":{"id":[2120219433,-281328181,-1324650444,-2004341079],"properties":[{"name":"textures","value":"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2VmZTgyYjMzM2JjZjBlNWExNzc3NDMzMGQzYjAwNDliNTZlNmFlOGMzMDJmMTU3Y2IyNTNhNDA0M2I1NGM2NiJ9fX0="}]}}
		},
		"title": {"translate":"You are the Pillager"},
		"description": {"color":"dark_purple","translate":"Murder one of every villager profession with a crossbow"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:adventure/rekt",
	"rewards": {
		"function": "bacap_rewards:adventure/you_are_the_pillager"
	},
	"criteria": {
		"farmer": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:farmer\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"fisherman": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:fisherman\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"shepherd": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:shepherd\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"fletcher": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:fletcher\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"librarian": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:librarian\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"cartographer": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:cartographer\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"cleric": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:cleric\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"armorer": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:armorer\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"weapon_smith": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:weaponsmith\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"tool_smith": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:toolsmith\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"butcher": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:butcher\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"leatherworker": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:leatherworker\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"mason": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:mason\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"nitwit": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:nitwit\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		},
		"unemployed": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:villager",
						"nbt": "{VillagerData:{profession:\"minecraft:none\"}}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		}
	}
}
