{
	"display": {
		"icon": {
			"id": "minecraft:skeleton_horse_spawn_egg"
		},
		"title": {"translate":"The Undead Cavalry"},
		"description": {"color":"#75E1FF","translate":"Ride a Skeleton Horse"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:monsters/poison_dart",
	"rewards": {
		"function": "bacap_rewards:monsters/the_undead_cavalry"
	},		
	"criteria": {
		"skeleton_horse": {
			"trigger": "minecraft:started_riding",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"vehicle": {
								"entity_type": "minecraft:skeleton_horse"
							}
						},
						"entity": "this"
					}
				]
			}
		}
	}
}
