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, getTemperatureAtHeight
public BiomeProviderSingle(Biome biomeIn)
public Biome getBiome(BlockPos pos)
getBiome
in class BiomeProvider
public Biome[] getBiomesForGeneration(Biome[] biomes, int x, int z, int width, int height)
getBiomesForGeneration
in class BiomeProvider
public Biome[] getBiomes(Biome[] oldBiomeList, int x, int z, int width, int depth)
getBiomes
in class BiomeProvider
public Biome[] getBiomes(Biome[] listToReuse, int x, int z, int width, int length, boolean cacheFlag)
getBiomes
in class BiomeProvider
public BlockPos findBiomePosition(int x, int z, int range, java.util.List<Biome> biomes, java.util.Random random)
findBiomePosition
in class BiomeProvider
public boolean areBiomesViable(int x, int z, int radius, java.util.List<Biome> allowed)
areBiomesViable
in class BiomeProvider
public boolean isFixedBiome()
isFixedBiome
in class BiomeProvider
public Biome getFixedBiome()
getFixedBiome
in class BiomeProvider