{
	"display": {
		"icon": {
			"id": "minecraft:crossbow",
			"components": {
				"minecraft:charged_projectiles": [
					{
						"id": "minecraft:arrow",
						"count": 1
					}
				]
			}
		},
		"title": {"translate":"Ride or Dry"},
		"description": {"color":"dark_purple","translate":"Kill a Husk, Parched and the Camel Husk they are riding with a single piercing arrow"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:monsters/unwanted_passenger",
	"rewards": {
		"function": "bacap_rewards:monsters/ride_or_dry"
	},	
	"criteria": {
		"arbalistic": {
			"trigger": "minecraft:killed_by_arrow",
			"conditions": {
				"victims": [
					{
						"entity_type": "minecraft:husk",
						"vehicle": {
							"entity_type": "minecraft:camel_husk"
						}
					},
					{
						"entity_type": "minecraft:parched",
						"vehicle": {
							"entity_type": "minecraft:camel_husk"
						}
					},
					{
						"entity_type": "minecraft:camel_husk",
						"nbt": "{Passengers:[{id:\"minecraft:husk\"},{id:\"minecraft:parched\"}]}"
					}
				],
				"fired_from_weapon": {
					"items": "minecraft:crossbow"
				}
			}
		}
	}
}
