execute on vehicle if predicate blazeandcave:equipment/leather_horse_armor on passengers run advancement grant @s only blazeandcave:animal/whole_horse leather_horse_armor
execute on vehicle if predicate blazeandcave:equipment/copper_horse_armor on passengers run advancement grant @s only blazeandcave:animal/whole_horse copper_horse_armor
execute on vehicle if predicate blazeandcave:equipment/iron_horse_armor on passengers run advancement grant @s only blazeandcave:animal/whole_horse iron_horse_armor
execute on vehicle if predicate blazeandcave:equipment/golden_horse_armor on passengers run advancement grant @s only blazeandcave:animal/whole_horse golden_horse_armor
execute on vehicle if predicate blazeandcave:equipment/diamond_horse_armor on passengers run advancement grant @s only blazeandcave:animal/whole_horse diamond_horse_armor
execute on vehicle if predicate blazeandcave:equipment/netherite_horse_armor on passengers run advancement grant @s only blazeandcave:animal/whole_horse netherite_horse_armor
