public class BiomeCache.Block
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
BiomeGenBase[] |
biomes
The array of biome types stored in this BiomeCacheBlock.
|
long |
lastAccessTime
The last time this BiomeCacheBlock was accessed, in milliseconds.
|
float[] |
rainfallValues
An array of chunk rainfall values saved by this cache.
|
int |
xPosition
The x coordinate of the BiomeCacheBlock.
|
int |
zPosition
The z coordinate of the BiomeCacheBlock.
|
Constructor and Description |
---|
Block(int x,
int z) |
Modifier and Type | Method and Description |
---|---|
BiomeGenBase |
getBiomeGenAt(int x,
int z)
Returns the BiomeGenBase related to the x, z position from the cache block.
|
public float[] rainfallValues
public BiomeGenBase[] biomes
public int xPosition
public int zPosition
public long lastAccessTime
public BiomeGenBase getBiomeGenAt(int x, int z)