add Biome Variant
Adds a 'variant' biome which replaces another biome on occasion.
For example, addBiomeVariant(Biomes.JUNGLE, Biomes.DESERT, 0.2) will replace 20% of jungles with deserts.This method is rather useful for replacing biomes not generated through standard methods, such as oceans,deep oceans, jungles, mushroom islands, etc. When replacing ocean and deep ocean biomes, one must specifythe biome without temperature (Biomes.OCEAN / Biomes.DEEP_OCEAN) only, as ocean temperatures have not beenassigned; additionally, one must not specify climates for oceans, deep oceans, or mushroom islands, as they do not haveany climate assigned at this point in the generation.
Parameters
the base biome that is replaced by a variant
the biome to be added as a variant
the chance of replacement of the biome into the variant
the climates in which the variants will occur in (none listed = add variant to all climates)