public class OverworldBiomeProvider extends BiomeProvider
BIOMES_TO_SPAWN_IN, hasStructureCache, topBlocksCache
Constructor and Description |
---|
OverworldBiomeProvider(OverworldBiomeProviderSettings settingsProvider) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
findBiomePosition(int x,
int z,
int range,
java.util.List<Biome> biomes,
java.util.Random random) |
Biome |
func_222366_b(int p_222366_1_,
int p_222366_2_) |
Biome |
getBiome(int x,
int y) |
Biome[] |
getBiomes(int x,
int z,
int width,
int length,
boolean cacheFlag) |
java.util.Set<Biome> |
getBiomesInSquare(int centerX,
int centerZ,
int sideLength) |
java.util.Set<BlockState> |
getSurfaceBlocks() |
boolean |
hasStructure(Structure<?> structureIn) |
func_222365_c, getBiome, getBiomeBlock, getBiomesToSpawnIn
public OverworldBiomeProvider(OverworldBiomeProviderSettings settingsProvider)
public Biome getBiome(int x, int y)
getBiome
in class BiomeProvider
public Biome func_222366_b(int p_222366_1_, int p_222366_2_)
func_222366_b
in class BiomeProvider
public Biome[] getBiomes(int x, int z, int width, int length, boolean cacheFlag)
getBiomes
in class BiomeProvider
public java.util.Set<Biome> getBiomesInSquare(int centerX, int centerZ, int sideLength)
getBiomesInSquare
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 hasStructure(Structure<?> structureIn)
hasStructure
in class BiomeProvider
public java.util.Set<BlockState> getSurfaceBlocks()
getSurfaceBlocks
in class BiomeProvider