{
	"display": {
		"icon": {
			"id": "minecraft:piston"
		},
		"title": {"translate":"Inception"},
		"description": {"color":"dark_purple","translate":"Build a machine that can break a hole in the roof of the Nether"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "minecraft:nether/fast_travel",
	"rewards": {
		"function": "bacap_rewards:nether/inception"
	},
	"criteria": {
		"enter_cave": {
			"trigger": "minecraft:location",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"location": {
								"block": {
									"blocks": "#blazeandcave:non_underwater_blocks"
								},
								"position": {
									"y": {
										"min": 127,
										"max": 127.9999
									}
								},
								"dimension": "the_nether"
							}
						}
					},
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"entity": "this",
							"predicate": {
								"minecraft:type_specific/player": {

									"gamemode": ["spectator"]
								}
							}
						}
					}
				]
			}
		}
	}
}
