I need to do it because I am registering blocks & items using a config file. Yes, all the blocks will have the same texture, and I'll try to change only the block color.
Using
ModelLoader.setCustomModelResourceLocation(this, 0, new ModelResourceLocation("modid:base_item", "inventory"));
Works fine for items, but I'm not sure how to do it with blocks.