Examples of ExtrabiomeGenBase


Examples of extrabiomes.module.summa.biome.ExtrabiomeGenBase

        chunkZ = chunkZ << 4;
        final BiomeGenBase biome = world.getBiomeGenForCoords(chunkX, chunkZ);
       
    final BiomeSettings settings = BiomeSettings.findBiomeSettings(biome.biomeID);
    if (settings != null && biomeCheck(settings, biome) && flowerMaps.containsKey(settings)) {
      final ExtrabiomeGenBase eBiome = (ExtrabiomeGenBase)biome;
      final int maxFlowers = eBiome.getDecorationSettings().getSetting(Decoration.NEW_FLOWERS);
      if( maxFlowers > 0 ) {
        List<BlockType> map = flowerMaps.get(settings);
        //LogHelper.finer("[FG] "+eBiome.getDecorationSettings()+" = "+maxFlowers+", "+map.size()+" varieties");
        for (int flowers = 0; flowers < maxFlowers; ++flowers) {
          final int idx = rand.nextInt(map.size());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.