{
	"display": {
		"icon": {
			"id": "minecraft:fire_charge"
		},
		"title": {"translate":"Poseidon vs. Hades"},
		"description": {"color":"dark_purple","translate":"Hunt all types of nether creatures with your trident"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:weaponry/king_of_the_sea",
	"rewards": {
		"function": "bacap_rewards:weaponry/poseidon_vs_hades"
	},	
	"criteria": {
		"zombified_piglin": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "zombified_piglin"
				}
			}
		},
		"zombified_piglin_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "zombified_piglin"
				}
			}
		},
		"ghast": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "ghast"
				}
			}
		},
		"ghast_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "ghast"
				}
			}
		},
		"magma_cube": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "magma_cube"
				}
			}
		},
		"magma_cube_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "magma_cube"
				}
			}
		},
		"skeleton": {
			"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:skeleton",
					"location": {
						"dimension": "the_nether"
					}
				}
			}
		},
		"skeleton_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "skeleton",
					"location": {
						"dimension": "the_nether"
					}
				}
			}
		},
		"wither_skeleton": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "wither_skeleton"
				}
			}
		},
		"wither_skeleton_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "wither_skeleton"
				}
			}
		},
		"blaze": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "blaze"
				}
			}
		},
		"blaze_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "blaze"
				}
			}
		},
		"piglin": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "piglin"
				}
			}
		},
		"piglin_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "piglin"
				}
			}
		},
		"hoglin": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "hoglin"
				}
			}
		},
		"hoglin_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "hoglin"
				}
			}
		},
		"strider": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "strider"
				}
			}
		},
		"strider_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "strider"
				}
			}
		},
		"zoglin": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "zoglin"
				}
			}
		},
		"zoglin_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "zoglin"
				}
			}
		},
		"piglin_brute": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "piglin_brute"
				}
			}
		},
		"piglin_brute_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "piglin_brute"
				}
			}
		},
		"happy_ghast": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_projectile",
							"expected": true
						}
					],
					"direct_entity": {
						"entity_type": "minecraft:trident"
					}
				},
				"entity": {
					"entity_type": "happy_ghast"
				}
			}
		},
		"happy_ghast_melee": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"killing_blow": {
					"tags": [
						{
							"id": "minecraft:is_player_attack",
							"expected": true
						}
					]
				},
				"player": {
					"equipment": {
						"mainhand": {
							"items": [
								"minecraft:trident"
							]
						}
					}
				},
				"entity": {
					"entity_type": "happy_ghast"
				}
			}
		}
	},
	"requirements": [
		[
			"zombified_piglin",
			"zombified_piglin_melee"
		],
		[
			"ghast",
			"ghast_melee"
		],
		[
			"magma_cube",
			"magma_cube_melee"
		],
		[
			"skeleton",
			"skeleton_melee"
		],
		[
			"wither_skeleton",
			"wither_skeleton_melee"
		],
		[
			"blaze",
			"blaze_melee"
		],
		[
			"piglin",
			"piglin_melee"
		],
		[
			"hoglin",
			"hoglin_melee"
		],
		[
			"strider",
			"strider_melee"
		],
		[
			"zoglin",
			"zoglin_melee"
		],
		[
			"piglin_brute",
			"piglin_brute_melee"
		],
		[
			"happy_ghast",
			"happy_ghast_melee"
		]
	]
}
