public void addBiomeType(BiomeDictionary.Type type){
  ArrayList<BiomeGenBase> entryList=new ArrayList<BiomeGenBase>();
  entryList.addAll(Arrays.asList(BiomeDictionary.getBiomesForType(type)));
  entryList.remove(BiomeGenBase.hell);
  entryList.remove(BiomeGenBase.sky);
  Iterator<BiomeGenBase> iter=entryList.iterator();
  while (iter.hasNext()) {
    BiomeGenBase nextbiome=iter.next();
    for (    BiomeEntry entry : allowedBiomes) {
      if (BiomeDictionary.areBiomesEquivalent(entry.biome,nextbiome))       iter.remove();
    }
  }
  allowedBiomes.addAll(getBiomesEntries(entryList));
}

public void addBiomeType ( BiomeDictionary . Type type ) { ArrayList < BiomeGenBase > entryList = new ArrayList < BiomeGenBase > ( ) ; entryList . addAll ( Arrays . asList ( BiomeDictionary . getBiomesForType ( type ) ) ) ; entryList . remove ( BiomeGenBase . hell ) ; entryList . remove ( BiomeGenBase . sky ) ; Iterator < BiomeGenBase > iter = entryList . iterator ( ) ; while ( iter . hasNext ( ) ) { BiomeGenBase nextbiome = iter . next ( ) ; for ( BiomeEntry entry : allowedBiomes ) { if ( BiomeDictionary . areBiomesEquivalent ( entry . biome , nextbiome ) ) iter . remove ( ) ; } } allowedBiomes . addAll ( getBiomesEntries ( entryList ) ) ; }
adds all biomes of this type to the list of biomes allowed to generate
