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) |
BlockPos |
findBiomePosition(int x,
int z,
int range,
java.util.List<Biome> biomes,
java.util.Random random) |
Biome |
getBiome(BlockPos pos) |
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) |
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(@Nullable Biome[] oldBiomeList, int x, int z, int width, int depth)
getBiomes
in class BiomeProvider
public Biome[] getBiomes(@Nullable Biome[] listToReuse, int x, int z, int width, int length, boolean cacheFlag)
getBiomes
in class BiomeProvider
@Nullable 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