{
	"display": {
		"icon": {
			"id": "minecraft:trial_key",
			"components": {
				"minecraft:enchantment_glint_override": true
			}
		},
		"title": {"translate":"Keys to Success"},
		"description": {"color":"dark_purple","translate":"Collect a stack of all kinds of keys"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:adventure/vault_hunter",
	"rewards": {
		"function": "bacap_rewards:adventure/keys_to_success"
	},
	"criteria": {
		"trial_key": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:trial_key"
						],
						"count": 64
					}
				]
			}
		},
		"ominous_trial_key": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:ominous_trial_key"
						],
						"count": 64
					}
				]
			}
		}
	}
}