{
	"display": {
		"icon": {
			"id": "minecraft:deepslate"
		},
		"title": {"translate":"Deep Slate Nine"},
		"description": {"color":"green","translate":"Mine deep enough that the stone darkens"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:mining/heart_of_darkness",
	"rewards": {
		"function": "bacap_rewards:mining/deep_slate_nine"
	},		
	"criteria": {
		"deepslate_level": {
			"trigger": "minecraft:location",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"entity": "this",
							"predicate": {
								"minecraft:type_specific/player": {

									"gamemode": ["spectator"]
								}
							}
						}
					},
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"location": {
								"position": {
									"y": {
										"max": 4.5
									}
								},
								"dimension": "minecraft:overworld"
							}
						}
					}
				]
			}
		}
	}
}
