Sorry just saw this, I'll put the code I got for detecting the player falling a minimum of 15 blocks and getting the achievement. I hadn't saved any of the attempts with trying to detect the player riding the pig, sorry if that's the one you were looking for.
{
"display": {
"icon": {
"item": "minecraft:saddle"
},
"title": "When Pigs Fly",
"description": "test",
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"parent": "extrapt2:root",
"criteria": {
"pi": {
"trigger": "minecraft:fall_from_height",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {}
}
],
"start_position": {
"position": {
"y": {
"min": 30
}
}
},
"distance": {
"y": {
"min": 15
}
}
}
}
},
"requirements": [
[
"pi"
]
]
}