Contents
Class ChunkGeneratorCache
java.lang.Object
com.hypixel.hytale.server.worldgen.cache.ChunkGeneratorCache
- Since:
- 04.08.2016
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interface -
Constructor Summary
ConstructorsConstructorDescriptionChunkGeneratorCache(ChunkGeneratorCache.ZoneBiomeResultFunction zoneBiomeResultFunction, ChunkGeneratorCache.BiomeCountFunction biomeCountFunction, ChunkGeneratorCache.HeightFunction heightFunction, ChunkGeneratorCache.HeightNoiseFunction heightNoiseFunction, int maxSize, long expireAfterSeconds) -
Method Summary
Modifier and TypeMethodDescriptionvoidensureBiomeCountList(int seed, int x, int z, CoreDataCacheEntry entry) voidensureHeight(int seed, int x, int z, CoreDataCacheEntry entry) voidensureHeightNoise(int seed, int x, int z, CoreDataCacheEntry entry) get(int seed, int x, int z) getBiomeCountResult(int seed, int x, int z) intgetHeight(int seed, int x, int z) getZoneBiomeResult(int seed, int x, int z) voidputHeight(int seed, int x, int z, int height)
-
Constructor Details
-
ChunkGeneratorCache
public ChunkGeneratorCache(ChunkGeneratorCache.ZoneBiomeResultFunction zoneBiomeResultFunction, ChunkGeneratorCache.BiomeCountFunction biomeCountFunction, ChunkGeneratorCache.HeightFunction heightFunction, ChunkGeneratorCache.HeightNoiseFunction heightNoiseFunction, int maxSize, long expireAfterSeconds)
-
-
Method Details
-
get
-
getZoneBiomeResult
-
getBiomeCountResult
-
putHeight
public void putHeight(int seed, int x, int z, int height) -
getHeight
public int getHeight(int seed, int x, int z) -
ensureBiomeCountList
-
ensureHeight
-
ensureHeightNoise
-