mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 23:45:44 +00:00
Implement addBiome, hopefully. Pushes biome list to the WorldType field. Sorry Bioxx.
This commit is contained in:
1 parent
603005ba18
commit
874d3f0b17
5 files changed
+90
-18
No files matched your search
@@ -33,6 +33,7 @@ public class ModLoader
|
||||
*/
|
||||
public static void addAchievementDesc(Achievement achievement, String name, String description)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,13 +63,13 @@ public class ModLoader
|
||||
}
|
||||
|
||||
/**
|
||||
* This method does not work. Creation of a BiomeGenBase is sufficient to populate this array. Using this method will likely corrupt worlds.
|
||||
* This method adds the supplied biome to the set of candidate biomes for the default world generator type.
|
||||
*
|
||||
* @param biome
|
||||
*/
|
||||
@Deprecated
|
||||
public static void addBiome(BiomeGenBase biome)
|
||||
{
|
||||
FMLServerHandler.instance().addBiomeToDefaultWorldGenerator(biome);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user