YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.biome.BiomeCache Class Reference

Public Member Functions

 BiomeCache (WorldChunkManager par1WorldChunkManager)
 
BiomeCacheBlock getBiomeCacheBlock (int par1, int par2)
 
BiomeGenBase getBiomeGenAt (int par1, int par2)
 
void cleanupCache ()
 
BiomeGenBase[] getCachedBiomes (int par1, int par2)
 

Constructor & Destructor Documentation

net.minecraft.world.biome.BiomeCache.BiomeCache ( WorldChunkManager  par1WorldChunkManager)

Member Function Documentation

void net.minecraft.world.biome.BiomeCache.cleanupCache ( )

Removes BiomeCacheBlocks from this cache that haven't been accessed in at least 30 seconds.

BiomeCacheBlock net.minecraft.world.biome.BiomeCache.getBiomeCacheBlock ( int  par1,
int  par2 
)

Returns a biome cache block at location specified.

BiomeGenBase net.minecraft.world.biome.BiomeCache.getBiomeGenAt ( int  par1,
int  par2 
)

Returns the BiomeGenBase related to the x, z position from the cache.

BiomeGenBase [] net.minecraft.world.biome.BiomeCache.getCachedBiomes ( int  par1,
int  par2 
)

Returns the array of cached biome types in the BiomeCacheBlock at the given location.


The documentation for this class was generated from the following file: