Search in sources :

Example 1 with ExtendedBiomeWrapper

use of biomesoplenty.common.biome.vanilla.ExtendedBiomeWrapper in project BiomeTweaker by superckl.

the class BOPIntegrationModule method getExtendedBiome.

public static IExtendedBiome getExtendedBiome(final Biome biome) {
    IExtendedBiome eBiome = BOPBiomes.REG_INSTANCE.getExtendedBiome(biome);
    if (eBiome == null) {
        eBiome = new ExtendedBiomeWrapper(biome);
        BOPBiomes.REG_INSTANCE.registerBiome(eBiome, eBiome.getBaseBiome().biomeName.toLowerCase());
    }
    return eBiome;
}
Also used : IExtendedBiome(biomesoplenty.api.biome.IExtendedBiome) ExtendedBiomeWrapper(biomesoplenty.common.biome.vanilla.ExtendedBiomeWrapper)

Aggregations

IExtendedBiome (biomesoplenty.api.biome.IExtendedBiome)1 ExtendedBiomeWrapper (biomesoplenty.common.biome.vanilla.ExtendedBiomeWrapper)1