Java 类net.minecraft.world.biome.BiomeGenBase.Height 实例源码

项目:Soul-Forest    文件:soul_forest.java   
@EventHandler
   public void load(FMLInitializationEvent ev){         
// Enchantment
enchantmentFrost = new EnchantmentFrost(SoulConfig.ENCfrostID, 10, EnumEnchantmentType.weapon);
enchantmentEnhanced = new EnchantmentEnhanced(SoulConfig.ENCenhancedID, 7, EnumEnchantmentType.weapon);

//Special Registers
GameRegistry.registerWorldGenerator(new WorldGeneratorOres(), 2);   // WorldGenerator Registry
NetworkRegistry.INSTANCE.registerGuiHandler(this, guiHandler);      //GUI Registry
FMLCommonHandler.instance().bus().register(craftHandler);
MinecraftForge.EVENT_BUS.register(craftHandler);
FMLCommonHandler.instance().bus().register(proxy);
FMLCommonHandler.instance().bus().register(new CommonTickHandler(Minecraft.getMinecraft())); // Tick Handler
FMLCommonHandler.instance().bus().register(new SoulForestKeyHandler()); // Key Handler
MinecraftForge.EVENT_BUS.register(new ForgeHookEventHelper()); // Event Helper
proxy.registerRenderers();  

//Dimensions
DimensionManager.registerProviderType(SoulConfig.SoulForestID, WorldProviderSoulForest.class, false);
DimensionManager.registerDimension(SoulConfig.SoulForestID, SoulConfig.SoulForestID);
DimensionManager.registerProviderType(SoulConfig.FrozenHearthID, WorldProviderFrozenHearth.class, false);
DimensionManager.registerDimension(SoulConfig.FrozenHearthID, SoulConfig.FrozenHearthID);

//Biomes
this.FrostCaves =   (new BiomeGenFrostCaves(SoulConfig.BIOfrostCavesID).setBiomeName("Frost Caves").setEnableSnow().setTemperatureRainfall(0.3F, 0.0F).setHeight(new Height(0.9F, 0.1F)));
this.FrozenPlains =     (new BiomeGenFrozenPlains(SoulConfig.BIOfrozenPlainsID).setBiomeName("Frozen Plains").setEnableSnow().setTemperatureRainfall(0.3F, 0.0F).setHeight(new Height(0.0F, 0.9F)));
this.DarkCaverns =  (new BiomeGenDarkCaverns(SoulConfig.BIOdarkCavernsID).setBiomeName("Dark Caverns").setTemperatureRainfall(1.0F, 1.0F).setHeight(new Height(0.0F, 1.0F)));
this.BlackForest =  (new BiomeGenBlackForest(SoulConfig.BIOblackForestID).setBiomeName("Black Forest").setTemperatureRainfall(1.0F, 1.0F).setHeight(new Height(0.0F, 0.5F)));
this.PeatBog =      (new BiomeGenPeatBog(SoulConfig.BIOpeatBogID).setBiomeName("Peat Bog").setTemperatureRainfall(0.5F, 1.0F).setHeight(new Height(0.0F, 0.5F)));
this.SoulForest =   (new BiomeGenSoulForest(SoulConfig.BIOsoulForestID).setBiomeName("Soul Forest").setTemperatureRainfall(0.5F, 1.0F).setHeight(new Height(0.0F, 0.9F)));
this.MaronaWoods =  (new BiomeGenMaronaWoods(SoulConfig.BIOmaronaWoodsID).setBiomeName("Marona Woods").setTemperatureRainfall(0.5F, 1.0F).setHeight(new Height(0.0F, 0.5F)));
this.SoulShrubbery =    (new BiomeGenSoulShrubbery(SoulConfig.BIOsoulShrubberyID).setBiomeName("Soul Shrubbery").setTemperatureRainfall(0.5F, 1.0F).setHeight(new Height(0.0F, 0.5F)));
this.FyrisedShrubbery = (new BiomeGenFyrisedShrubbery(SoulConfig.BIOfyrisedShrubberyID).setBiomeName("Fyrised Shrubbery").setTemperatureRainfall(1.0F, 1.0F).setHeight(new Height(0.0F, 0.5F)));
this.ShinaiForest =     (new BiomeGenShinaiForest(SoulConfig.BIOshinaiForestID).setBiomeName("Shinai Forest").setEnableSnow().setTemperatureRainfall(0.3F, 0.0F).setHeight(new Height(0.5F, 0.8F)));
   }