Hey, so I have a mod and it was working fine, I could generate blocks without an issue. However it only replaces stone. And so I took a look in 'WorldGenMinable' and there seems to be a magic number for what it replaces, which is only stone. So I tried to do some googling and all that came up were outdated, useless tutorials that use old code for WorldGenMinable that didn't have a magic number.
So, can anyone point me in the right direction of how to generate blocks that replaces something other than stone? Even if it's just someone's code on github, anything will help. Thanks!
Solution: Add a new parameter for the item to replace, then in your call to WorldGenMinable, use BlockHelper.forBlock(replace)