arrayListOfBiomes will give you an error, as it does not exist, this is where most of you get confused. This is basic java, change it to the array list you need.
public static List desertBiomes = new ArrayList();
public static List warmBiomes = new ArrayList();
public static List coolBiomes = new ArrayList();
public static List icyBiomes = new ArrayList();
public static List oceanBiomes = new ArrayList();
This is code from BiomeManager, these are the biome array lists you can add your biome to.
After this, change yourBiome to well... your biome.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSomething like that, this is not how you do it.
To add a custom biome to the Overworld, use this little line of code:
arrayListOfBiomes will give you an error, as it does not exist, this is where most of you get confused. This is basic java, change it to the array list you need.
This is code from BiomeManager, these are the biome array lists you can add your biome to.
After this, change yourBiome to well... your biome.
public static void add() { BiomeDictionary.registerBiomeType(snowyMountains, Type.SNOWY, Type.MOUNTAIN); BiomeManager.icyBiomes.add(new BiomeEntry(snowyMountains, 100)); BiomeDictionary.registerBiomeType(savannah, Type.SANDY, Type.FOREST); BiomeManager.desertBiomes.add(new BiomeEntry(savannah, 100)); }This is my code for adding biomes, and I also registered my biomes in the BiomeDictionary.
-
View User Profile
-
View Posts
-
Send Message
Curse Premium