public class BiomeCache extends Object
Constructor and Description |
---|
BiomeCache(WorldChunkManager par1WorldChunkManager) |
Modifier and Type | Method and Description |
---|---|
void |
cleanupCache()
Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds.
|
BiomeCacheBlock |
getBiomeCacheBlock(int par1,
int par2)
Returns a biome cache block at location specified.
|
BiomeGenBase |
getBiomeGenAt(int par1,
int par2)
Returns the BiomeGenBase related to the x, z position from the cache.
|
BiomeGenBase[] |
getCachedBiomes(int par1,
int par2)
Returns the array of cached biome types in the BiomeCacheBlock at the given location.
|
public BiomeCache(WorldChunkManager par1WorldChunkManager)
public BiomeCacheBlock getBiomeCacheBlock(int par1, int par2)
public BiomeGenBase getBiomeGenAt(int par1, int par2)
public void cleanupCache()
public BiomeGenBase[] getCachedBiomes(int par1, int par2)