{
	"display": {
		"icon": {
			"id": "minecraft:arrow"
		},
		"title": {"translate":"Impossible..."},
		"description": {"color":"dark_purple","translate":"Kill an Enderman with an arrow"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:monsters/plane_walker",
	"rewards": {
		"function": "bacap_rewards:monsters/impossible"
	},		
	"criteria": {
		"enderman_arrow": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"entity": {
					"entity_type": "enderman"
				},
				"killing_blow": {
					"source_entity": {
						"equipment": {
							"mainhand": {
								"items": [
									"minecraft:arrow",
									"minecraft:tipped_arrow",
									"minecraft:spectral_arrow"
								]
							}
						}
					},
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				}
			}
		}	
	}
}
