{
	"display": {
		"icon": {
			"id": "minecraft:fermented_spider_eye"
		},
		"title": {"translate":"The Ghastly Eyes"},
		"description": {"color":"dark_purple","translate":"Kill an invisible spider"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:monsters/spider_skeleton",
	"rewards": {
		"function": "bacap_rewards:monsters/the_ghastly_eyes"
	},	
	"criteria": {
		"invisible_spider": {
			"trigger": "minecraft:player_killed_entity",
			"conditions": {
				"entity": {
					"entity_type": "#blazeandcave:spiders",
					"effects": {
						"minecraft:invisibility": {}
					}
				}
			}
		}
	}
}
