public boolean addBiome(int biomeId){
  BiomeGenBase biome=BiomeGenBase.getBiome(biomeId);
  if (biomeId == 0 || biome != BiomeGenBase.ocean) {
    List<BiomeGenBase> biomes=new ArrayList<BiomeGenBase>();
    biomes.add(biome);
    allowedBiomes.addAll(getBiomesEntries(biomes));
    return true;
  }
  return false;
}

public boolean addBiome ( int biomeId ) { BiomeGenBase biome = BiomeGenBase . getBiome ( biomeId ) ; if ( biomeId == 0 || biome != BiomeGenBase . ocean ) { List < BiomeGenBase > biomes = new ArrayList < BiomeGenBase > ( ) ; biomes . add ( biome ) ; allowedBiomes . addAll ( getBiomesEntries ( biomes ) ) ; return true ; } return false ; }
adds a biome to the list of biomes allowed to spawn on this planet
