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