{
	"parent": "niknok:minecraft/monster_hunter",
	"display":
	{
		"icon":
		{
			"item": "minecraft:bow"
		},
		"title":
		{
			"translate": "Sniper Duel"
		},
		"description":
		{
			"translate": "§7Kill a skeleton with an arrow from more than 50 meters."
		},
		"frame": "challenge",
		"show_toast": true,
		"announce_to_chat": true,
		"hidden": false
	},
	"criteria":
	{
		"sniperduel":
		{
			"trigger": "minecraft:player_killed_entity",
			"conditions":
			{
				"entity":
				[
					{
						"condition": "minecraft:entity_properties",
						"predicate":
						{
							"type": "minecraft:skeleton",
							"distance":
							{
								"horizontal":
								{
									"min": 50
								}
							}
						},
						"entity": "this"
					}
				],
				"killing_blow":
				{
					"is_projectile": true,
					"direct_entity":
					{
						"type": "minecraft:arrow"
					}
				}
			}
		}
	},
	"requirements":
	[
		["sniperduel"]
	]
}