wait does it need to be the same type
Not even, there are few moves that can really be passed down like that.
For example, I'd have loved a Shell Smash Blastoise, it's literally set up to work, it's got a shell and can breed with Omanyte, however it still doesn't pass because god knows what.
Simply put, there are not many moves Pokemon can learn through breeding. Usually at most like 10ish and most are bad.