{
	"display": {
		"icon": {
			"id": "minecraft:hoglin_spawn_egg"
		},
		"title": {"translate":"Giddy Up!"},
		"description": {"color":"#75E1FF","translate":"Punch a baby Hoglin that is being ridden by a baby Piglin"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:nether/whole_hog",
	"rewards": {
		"function": "bacap_rewards:nether/giddy_up"
	},	
	"criteria": {
		"piglin_jockey": {
			"trigger": "minecraft:player_hurt_entity",
			"conditions": {
				"entity": {
					"entity_type": "hoglin",
					"flags": {
						"is_baby": true
					},
					"passenger": {
						"entity_type": "minecraft:piglin",
						"flags": {
							"is_baby": true
						}
					}
				}
			}
		}
	}
}
