How to change block drops

I am new to addons and I was wondering how to change block drops with mods, for example grass blocks drop grass blocks