{
	"display": {
		"icon": {
			"id": "minecraft:carrot_on_a_stick"
		},
		"title": {"translate":"When Pigs Used to Fly"},
		"description": {"color":"green","translate":"Craft a carrot on a stick so you can ride a pig off a cliff"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:animal/piglets_big_advancement",
	"rewards": {
		"function": "bacap_rewards:animal/when_pigs_used_to_fly"
	},		
	"criteria": {
		"carrot_on_a_stick": {
			"trigger": "minecraft:inventory_changed",
			"conditions": {
				"items": [
					{
						"items": [
							"minecraft:carrot_on_a_stick"
						]
					}
				]
			}
		}
	}
}