{
	"rewards": {
		"function": "blazeandcave:advancement/riddle/ninth_line"
	},		
	"criteria": {
		"ninth_line_left": {
			"trigger": "minecraft:using_item",
			"conditions": {
				"item": {
					"items": [
						"minecraft:spyglass"
					]
				},
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"equipment": {
								"offhand": {
									"items": [
										"minecraft:map",
										"minecraft:filled_map"
									]
								}
							},
							"vehicle": {
								"entity_type": "#blazeandcave:all_boats"
							},
							"nbt": "{ShoulderEntityLeft:{id:\"minecraft:parrot\"}}",
							"minecraft:type_specific/player": {

								"advancements": {
									"blazeandcave:technical/riddle_eighth_line": true
								}
							}
						},
						"entity": "this"
					}
				]
			}
		},
		"ninth_line_right": {
			"trigger": "minecraft:using_item",
			"conditions": {
				"item": {
					"items": [
						"minecraft:spyglass"
					]
				},
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"equipment": {
								"offhand": {
									"items": [
										"minecraft:map",
										"minecraft:filled_map"
									]
								}
							},
							"vehicle": {
								"entity_type": "#blazeandcave:all_boats"
							},
							"nbt": "{ShoulderEntityRight:{id:\"minecraft:parrot\"}}",
							"minecraft:type_specific/player": {

								"advancements": {
									"blazeandcave:technical/riddle_eighth_line": true
								}
							}
						},
						"entity": "this"
					}
				]
			}
		},
		"ninth_line_left_mainhand": {
			"trigger": "minecraft:using_item",
			"conditions": {
				"item": {
					"items": [
						"minecraft:spyglass"
					]
				},
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"equipment": {
								"mainhand": {
									"items": [
										"minecraft:map",
										"minecraft:filled_map"
									]
								}
							},
							"vehicle": {
								"entity_type": "#blazeandcave:all_boats"
							},
							"nbt": "{ShoulderEntityLeft:{id:\"minecraft:parrot\"}}",
							"minecraft:type_specific/player": {

								"advancements": {
									"blazeandcave:technical/riddle_eighth_line": true
								}
							}
						},
						"entity": "this"
					}
				]
			}
		},
		"ninth_line_right_mainhand": {
			"trigger": "minecraft:using_item",
			"conditions": {
				"item": {
					"items": [
						"minecraft:spyglass"
					]
				},
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"equipment": {
								"mainhand": {
									"items": [
										"minecraft:map",
										"minecraft:filled_map"
									]
								}
							},
							"vehicle": {
								"entity_type": "#blazeandcave:all_boats"
							},
							"nbt": "{ShoulderEntityRight:{id:\"minecraft:parrot\"}}",
							"minecraft:type_specific/player": {

								"advancements": {
									"blazeandcave:technical/riddle_eighth_line": true
								}
							}
						},
						"entity": "this"
					}
				]
			}
		}
	},
	"requirements": [
		[
			"ninth_line_left",
			"ninth_line_right",
			"ninth_line_left_mainhand",
			"ninth_line_right_mainhand"
		]
	]
}
