{
	"display": {
		"icon": {
			"id": "minecraft:lead"
		},
		"title": {"translate":"Lead Zeppelin"},
		"description": {"color":"green","translate":"Attach a Boat to a Happy Ghast using a Lead"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:nether/midport_village",
	"rewards": {
		"function": "bacap_rewards:nether/lead_zeppelin"
	},
	"criteria": {
		"lead": {
			"trigger": "minecraft:player_interacted_with_entity",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"flags": {
								"is_sneaking": true
							}
						}
					},
					{
						"condition": "minecraft:entity_scores",
						"entity": "this",
						"scores": {
							"bac_leashing_boat": 1
						}
					}
				],
				"entity": [
					{
						"condition": "minecraft:entity_properties",
						"entity": "this",
						"predicate": {
							"entity_type": "minecraft:happy_ghast"
						}
					}
				]
			}
		}
	}
}
