Open Terrain Generator (OTG)

Open Terrain Generator (OTG)

10M Downloads

Better With Mods: Forge Event for MapGenBase

primetoxinz opened this issue ยท 2 comments

commented

Hello,
It was brought to my attention that some of the world gen in my mod, Better With Mods, does not work with OTG.
It appears this is due to the lack of posting of the InitMapGenEvent which allows overriding the MapGenBase object before it generates.

This can be done through TerrainGen.getModdedMapGen whenever a MapGenBase is initialized.

BWM specifically uses quite a few of these, so if you could make sure to post the various EnumTypes that would help our mods be much more compatible

Thanks ahead of time

commented

Hey primetoxinz,

Thanks for reporting this and sorry for the late reply. Will look at this as soon as I have the time. Working on a big new feature atm though, will need to finish and release that first.

commented

Have added getModdedMapGen for villages/monuments/mineshafts/mansions/strongholds/scattered features. Not sure it'll work as intended, still have to test. Will be in v7_r25.