public class BiomeProviderSingle extends BiomeProvider
allowedBiomes| Constructor and Description |
|---|
BiomeProviderSingle(Biome biomeIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areBiomesViable(int x,
int z,
int radius,
java.util.List<Biome> allowed)
checks given Chunk's Biomes against List of allowed ones
|
BlockPos |
findBiomePosition(int x,
int z,
int range,
java.util.List<Biome> biomes,
java.util.Random random) |
Biome |
getBiome(BlockPos pos)
Returns the biome generator
|
Biome[] |
getBiomes(Biome[] oldBiomeList,
int x,
int z,
int width,
int depth)
Gets biomes to use for the blocks and loads the other data like temperature and humidity onto the
WorldChunkManager.
|
Biome[] |
getBiomes(Biome[] listToReuse,
int x,
int z,
int width,
int length,
boolean cacheFlag)
Gets a list of biomes for the specified blocks.
|
Biome[] |
getBiomesForGeneration(Biome[] biomes,
int x,
int z,
int width,
int height)
Returns an array of biomes for the location input.
|
Biome |
getFixedBiome() |
boolean |
isFixedBiome() |
cleanupCache, getBiome, getBiomesToSpawnIn, getModdedBiomeGenerators, getTemperatureAtHeightpublic BiomeProviderSingle(Biome biomeIn)
public Biome getBiome(BlockPos pos)
getBiome in class BiomeProviderpublic Biome[] getBiomesForGeneration(Biome[] biomes, int x, int z, int width, int height)
getBiomesForGeneration in class BiomeProviderpublic Biome[] getBiomes(Biome[] oldBiomeList, int x, int z, int width, int depth)
getBiomes in class BiomeProviderpublic Biome[] getBiomes(Biome[] listToReuse, int x, int z, int width, int length, boolean cacheFlag)
getBiomes in class BiomeProviderpublic BlockPos findBiomePosition(int x, int z, int range, java.util.List<Biome> biomes, java.util.Random random)
findBiomePosition in class BiomeProviderpublic boolean areBiomesViable(int x,
int z,
int radius,
java.util.List<Biome> allowed)
areBiomesViable in class BiomeProviderpublic boolean isFixedBiome()
isFixedBiome in class BiomeProviderpublic Biome getFixedBiome()
getFixedBiome in class BiomeProvider