{
	"display": {
		"icon": {
			"id": "minecraft:spectral_arrow"
		},
		"title": {"translate":"There it goes…"},
		"description": {"color":"dark_purple","translate":"Kill a mob at the bottom of the world from the build limit using any kind of projectile"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "minecraft:adventure/sniper_duel",
	"rewards": {
		"function": "bacap_rewards:weaponry/there_it_goes"
	},	
	"criteria": {
		"there_it_goes": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
							{
								"id": "minecraft:is_projectile",
								"expected": true
							}
						]
				},
				"entity": {
					"location": {
						"position": {
							"y": {
								"max": -59.5
							}
						}
					}
				},
				"player": [
					{
						"condition": "minecraft:any_of",
						"terms": [
							{
								"condition": "minecraft:entity_properties",
								"entity": "this",
								"predicate": {
									"location": {
										"position": {
											"y": {
												"min": 319
											}
										},
										"dimension": "minecraft:overworld"
									}
								}
							},
							{
								"condition": "minecraft:entity_properties",
								"entity": "this",
								"predicate": {
									"location": {
										"position": {
											"y": {
												"min": 255
											}
										},
										"dimension": "minecraft:the_nether"
									}
								}
							},
							{
								"condition": "minecraft:entity_properties",
								"entity": "this",
								"predicate": {
									"location": {
										"position": {
											"y": {
												"min": 255
											}
										},
										"dimension": "minecraft:the_end"
									}
								}
							}
						]
					}
				]
			}
		}
	}
}