I've tried to figure this out on my own, but I'm stuck. No tutorials really exist on Forge's terrain generation capabilities.
I'm currently working on a mod that is based around changing the way Villages generate. I know mods like Millenaire currently do this, so I'm guessing it's possible. I see the TerrainGen getModdedMapGen() hook, but I'm not getting how to make use of it. Do I have to make my own MapGenerator from scratch? I don't need to change everything about how the overworld generates. How would I tell the TerrainGen code to use my MapGen, anyway?
My ultimate goal: I do not want Vanilla Villages spawning at all, but rather, my own improved Villages. They will have modified conditions for spawning, as well. Aside from that, no changes need to be made to the Vanilla generation. How would I best go about accomplishing this, preferably without making base class edits?