{
	"display": {
		"icon": {
			"id": "minecraft:arrow"
		},
		"title": {"translate":"Bullseye"},
		"description": {"color":"dark_purple","translate":"Hit the bullseye of a Target Block with an arrow from 30 blocks away"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:redstone/target_acquired",
	"rewards": {
		"function": "bacap_rewards:redstone/bullseye"
	},	
	"criteria": {
		"bullseye": {
			"trigger": "minecraft:target_hit",
			"conditions": {
				"signal_strength": 15,
				"projectile": [
					{
						"entity_type": "minecraft:arrow",
						"entity": "this",
						"condition": "minecraft:entity_properties",
							"predicate": {
								"distance": {
									"horizontal": {
									"min": 30.0
								}
							}
						}
					}
				]
			}
		}
	}
}
