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[] |
getBiomeGenAt(Biome[] listToReuse,
int x,
int z,
int width,
int length,
boolean cacheFlag) |
Biome |
getBiomeGenerator(BlockPos pos) |
Biome |
getBiomeGenerator(BlockPos pos,
Biome biomeGenBaseIn) |
Biome[] |
getBiomesForGeneration(Biome[] biomes,
int x,
int z,
int width,
int height) |
java.util.List<Biome> |
getBiomesToSpawnIn() |
GenLayer[] |
getModdedBiomeerators(WorldType worldType,
long seed,
GenLayer[] original) |
float |
getTemperatureAtHeight(float p_76939_1_,
int p_76939_2_) |
Biome[] |
loadBlockGeneratorData(Biome[] oldBiomeList,
int x,
int z,
int width,
int depth) |
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[] loadBlockGeneratorData(@Nullable Biome[] oldBiomeList, int x, int z, int width, int depth)
public Biome[] getBiomeGenAt(@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()