Example usage for net.minecraftforge.common BiomeDictionary addTypes

List of usage examples for net.minecraftforge.common BiomeDictionary addTypes

Introduction

In this page you can find the example usage for net.minecraftforge.common BiomeDictionary addTypes.

Prototype

public static void addTypes(Biome biome, Type... types) 

Source Link

Document

Adds the given types to the biome.

Usage

From source file:com.plutomc.core.init.BiomeRegistry.java

License:Open Source License

public static void register(BaseBiome biome) {
    // TODO: Create biome IDs dynamically.
    Biome.registerBiome(99, biome.getBiomeName(), biome);
    if (biome.isSpawnBiome()) {
        BiomeManager.addSpawnBiome(biome);
    }/* ww  w.  j a va 2 s .co  m*/
    BiomeDictionary.addTypes(biome, biome.getTypes());
}