Search in sources :

Example 1 with BiomeEntry

use of net.minecraftforge.common.BiomeManager.BiomeEntry in project ArsMagica2 by Mithion.

the class AMCore method init.

@EventHandler
public void init(FMLInitializationEvent event) {
    FMLInterModComms.sendMessage("Waila", "register", "am2.interop.WailaSupport.callbackRegister");
    ForgeChunkManager.setForcedChunkLoadingCallback(this, AMChunkLoader.INSTANCE);
    proxy.init();
    initAPI();
    if (AMCore.config.getEnableWitchwoodForest()) {
        BiomeDictionary.registerBiomeType(BiomeWitchwoodForest.instance, Type.FOREST, Type.MAGICAL);
        BiomeManager.warmBiomes.add(new BiomeEntry(BiomeWitchwoodForest.instance, 6));
    }
}
Also used : BiomeEntry(net.minecraftforge.common.BiomeManager.BiomeEntry) EventHandler(cpw.mods.fml.common.Mod.EventHandler)

Aggregations

EventHandler (cpw.mods.fml.common.Mod.EventHandler)1 BiomeEntry (net.minecraftforge.common.BiomeManager.BiomeEntry)1