{
	"display": {
		"icon": {
			"id": "minecraft:water_bucket"
		},
		"title": {"translate":"King of the Sea"},
		"description": {"color":"dark_purple","translate":"Kill a drowned using a trident from at least 30 metres"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "minecraft:adventure/throw_trident",
	"rewards": {
		"function": "bacap_rewards:weaponry/king_of_the_sea"
	},	
	"criteria": {
		"killed_drowned": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
							{
								"id": "minecraft:is_projectile",
								"expected": true
							}
						],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "minecraft:drowned",
					"distance": {
						"horizontal": {
							"min": 30
						}
					}
				}
			}
		}
	}
}
