public class BiomeCache
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
BiomeCache.Block |
Constructor and Description |
---|
BiomeCache(BiomeProvider chunkManagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
cleanupCache()
Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds.
|
Biome |
getBiome(int x,
int z,
Biome defaultValue) |
BiomeCache.Block |
getBiomeCacheBlock(int x,
int z)
Returns a biome cache block at location specified.
|
Biome[] |
getCachedBiomes(int x,
int z)
Returns the array of cached biome types in the BiomeCacheBlock at the given location.
|
public BiomeCache(BiomeProvider chunkManagerIn)
public BiomeCache.Block getBiomeCacheBlock(int x, int z)
public void cleanupCache()
public Biome[] getCachedBiomes(int x, int z)