Package extrabiomes.lib

Examples of extrabiomes.lib.BiomeSettings


      vineGen = new WorldGenCustomVine(block);
      this.biomeList = (biomeList == null ? DEFAULT_BIOME_LIST : biomeList);
    }
   
    private boolean biomeCheck(BiomeGenBase biome) {
    final BiomeSettings settings = BiomeSettings.findBiomeSettings(biome.biomeID);     
    if( settings != null ) {
      for( final BiomeSettings goodBiome : biomeList ) {
        if( settings == goodBiome )
          return settings.getBiome().isPresent() && biome == settings.getBiome().get();
      }
    }
    return false;
    }
View Full Code Here


    {
        chunkX = chunkX << 4;
        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);
View Full Code Here

TOP

Related Classes of extrabiomes.lib.BiomeSettings

Copyright © 2018 www.massapicom. 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.