{
	"display": {
		"icon": {
			"id": "minecraft:piglin_head"
		},
		"title": {"translate":"Piglin Peril"},
		"description": {"color":"dark_purple","translate":"Obtain a Piglin Head by blowing up a Piglin with a Charged Creeper"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:nether/a_piglins_best_friend",
	"rewards": {
		"function": "bacap_rewards:nether/piglin_peril"
	},	
	"criteria": {
		"piglin_head": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:piglin_head"
						]
					}
				]
			}
		}
	}
}