Tame(?)able/Rideable mobs!

hiya! im trying to make it so that if i feed, for example, a cow 10-12 apples instead of wheat which breeds them, it would become rideable for players. I'm trying to do this through a datapack because our server doesnt like commands. I've got the cow rideable with commands in a test world but its a survival server so if anyone knows how to also make it right click to mount instead, too, that'd be great! know this is a lot, sorry

Continue to help post