public class BiomeProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<Biome> |
allowedBiomes |
private BiomeCache |
biomeCache |
private GenLayer |
biomeIndexLayer |
private java.util.List<Biome> |
biomesToSpawnIn |
private GenLayer |
genBiomes |
private ChunkGeneratorSettings |
settings |
Modifier | Constructor and Description |
---|---|
protected |
BiomeProvider() |
private |
BiomeProvider(long seed,
WorldType worldTypeIn,
java.lang.String options) |
|
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() |
private ChunkGeneratorSettings settings
private GenLayer genBiomes
private GenLayer biomeIndexLayer
private final BiomeCache biomeCache
private final java.util.List<Biome> biomesToSpawnIn
public static java.util.List<Biome> allowedBiomes
protected BiomeProvider()
private BiomeProvider(long seed, WorldType worldTypeIn, java.lang.String options)
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()