Package net.minecraft.src
Class BiomeCache
java.lang.Object
net.minecraft.src.BiomeCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds.getBiomeCacheBlock(int par1, int par2) Returns a biome cache block at location specified.getBiomeGenAt(int par1, int par2) Returns the BiomeGenBase related to the x, z position from the cache.getCachedBiomes(int par1, int par2) Returns the array of cached biome types in the BiomeCacheBlock at the given location.
-
Constructor Details
-
BiomeCache
-
-
Method Details
-
getBiomeCacheBlock
Returns a biome cache block at location specified. -
getBiomeGenAt
Returns the BiomeGenBase related to the x, z position from the cache. -
cleanupCache
public void cleanupCache()Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds. -
getCachedBiomes
Returns the array of cached biome types in the BiomeCacheBlock at the given location.
-