Hello, I'm trying to update my mod to 1.7.2 and I have everything working except for my custom biome. I'm not sure how to register it anymore being that GameRegistry.addBiome() seems to be gone. I tried using BiomeDictionary.registerBiomeType() but that didn't seem to work.
Is there a replacement for GameRegistry.addBiome() or do I need to wait for forge to add something else?
I checked and they don't seem to have anything in there for registering biomes. So i'm gonna guess I need to wait for them to add something like it again or try to find a workaround.
From what I can tell, you might be able to subscribe a method to the Forge event WorldTypeEvent.InitBiomeGens, but that requires defining a new GenLayer. I've been looking around the code, but I currently have no idea how to actually register a biome with this event. The only other ways I see to add a new biome are with a new dimension or a new world type. Hopefully, the people working on Forge will add an easier way to register biomes, but for now, this is all I have.
Is there a replacement for GameRegistry.addBiome() or do I need to wait for forge to add something else?
BiomeManager.addSpawnBiome(RandomBiome);
But i've never found my biome in the world for now, i don't know what i'm doing wrong.
Choose an array list from BiomeManager as biomeArrayList is an example. And change yourBiome to well... your biome.
Sorry if I'm bumping an old thread. I just tried to do this myself and now accessing the arrayLists directly is apparently a no-no. You can now use:
BiomeManager.addBiome(BiomeType, new BiomeEntry(yourBiome, 100));
where BiomeType is the BiomeType Enumeration (eg BiomeType.WARM).
This - snapshot - is an octagon!