{
	"display": {
		"icon": {
			"id": "minecraft:red_tulip"
		},
		"title": {"translate":"Hey! You two should kiss!"},
		"description": {"color":"#75E1FF","translate":"Use a Spyglass to look at two Villagers sitting in a Boat from at least 50 blocks away"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "minecraft:adventure/trade",
	"rewards": {
		"function": "bacap_rewards:adventure/hey_you_two_should_kiss"
	},		
	"criteria": {
		"how_romantic": {
			"trigger": "minecraft:using_item",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"minecraft:type_specific/player": {
								"looking_at": {
									"entity_type": "#minecraft:boat",
									"nbt": "{Passengers:[{id:\"minecraft:villager\"},{id:\"minecraft:villager\"}]}",
									"distance": {
										"absolute": {
											"min": 50
										}
									}
								}
							}
						},
						"entity": "this"
					}
				],
				"item": {
					"items": [
						"minecraft:spyglass"
					]
				}
			}
		}
	}
}
