public class BiomeProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<Biome> |
allowedBiomes |
Modifier | Constructor and Description |
---|---|
protected |
BiomeProvider() |
|
BiomeProvider(WorldInfo info) |
Modifier and Type | Method and Description |
---|---|
boolean |
areBiomesViable(int x,
int z,
int radius,
java.util.List<Biome> allowed) |
void |
cleanupCache() |
BlockPos |
findBiomePosition(int x,
int z,
int range,
java.util.List<Biome> biomes,
java.util.Random random) |
Biome |
getBiome(BlockPos pos) |
Biome |
getBiome(BlockPos pos,
Biome defaultBiome) |
Biome[] |
getBiomes(Biome[] oldBiomeList,
int x,
int z,
int width,
int depth) |
Biome[] |
getBiomes(Biome[] listToReuse,
int x,
int z,
int width,
int length,
boolean cacheFlag) |
Biome[] |
getBiomesForGeneration(Biome[] biomes,
int x,
int z,
int width,
int height) |
java.util.List<Biome> |
getBiomesToSpawnIn() |
Biome |
getFixedBiome() |
GenLayer[] |
getModdedBiomeGenerators(WorldType worldType,
long seed,
GenLayer[] original) |
float |
getTemperatureAtHeight(float p_76939_1_,
int p_76939_2_) |
boolean |
isFixedBiome() |
public static java.util.List<Biome> allowedBiomes
protected BiomeProvider()
public BiomeProvider(WorldInfo info)
public java.util.List<Biome> getBiomesToSpawnIn()
public float getTemperatureAtHeight(float p_76939_1_, int p_76939_2_)
public Biome[] getBiomesForGeneration(Biome[] biomes, int x, int z, int width, int height)
public Biome[] getBiomes(@Nullable Biome[] oldBiomeList, int x, int z, int width, int depth)
public Biome[] getBiomes(@Nullable Biome[] listToReuse, int x, int z, int width, int length, boolean cacheFlag)
public boolean areBiomesViable(int x, int z, int radius, java.util.List<Biome> allowed)
@Nullable public BlockPos findBiomePosition(int x, int z, int range, java.util.List<Biome> biomes, java.util.Random random)
public void cleanupCache()
public GenLayer[] getModdedBiomeGenerators(WorldType worldType, long seed, GenLayer[] original)
public boolean isFixedBiome()
public Biome getFixedBiome()