{
	"rewards": {
		"function": "blazeandcave:advancement/riddle/first_line"
	},
	"criteria": {
		"first_line": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:compass"
						],					
						"predicates": {
							"enchantments": [
								{
									"enchantments": "minecraft:vanishing_curse"
								}
							]
						}
					}
				],
				"minecraft:type_specific/player": {

					"minecraft:type_specific/player": {

						"advancements": {
							"blazeandcave:challenges/root": true
						}
					}
				}
			}
		}
	}
}
