{
	"display": {
		"icon": {
			"id": "minecraft:carved_pumpkin",
			"components": {
				"minecraft:enchantment_glint_override": true
			}
		},
		"title": {"translate":"Handmade Blinding"},
		"description": {"color":"#75E1FF","translate":"Wear a carved pumpkin enchanted with Curse of Binding"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:enchanting/curses",
	"rewards": {
		"function": "bacap_rewards:enchanting/handmade_blinding"
	},
	"criteria": {
		"binding_pumpkin": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"equipment": {
								"head": {
									"items": [
										"minecraft:carved_pumpkin"
									],
									"predicates": {
										"enchantments": [
											{
												"enchantments": "minecraft:binding_curse"
											}	
										]
									}
								}
							}	
						}
					}
				]
			}
		}
	}
}