public class HytaleGenerator extends JavaPlugin
Class HytaleGenerator. Provides hytalegenerator functionality for the Hytale server.
java.lang.Object > JavaPlugin > HytaleGenerator
Field Summary
assetManager
Field assetManager.
assetReloadListener
Field assetReloadListener.
concurrency
Field concurrency.
mainExecutor
Field mainExecutor.
concurrentExecutor
Field concurrentExecutor.
generator
Field generator.
workerIndexer
Field workerIndexer.
seed
Field seed.
materialCache
Field materialCache.
biomeMap
Field biomeMap.
generatorBuilder
Field generatorBuilder.
allBiomes
Field allBiomes.
allRuntimes
Field allRuntimes.
biome_bufferType
Field biome_bufferType.
biomeStage
Field biomeStage.
biomeDistance_bufferType
Field biomeDistance_bufferType.
MAX_BIOME_DISTANCE_RADIUS
Field MAX_BIOME_DISTANCE_RADIUS.
interpolationRadius
Field interpolationRadius.
biomeEdgeRadius
Field biomeEdgeRadius.
maxDistance
Field maxDistance.
biomeDistanceStage
Field biomeDistanceStage.
terrainStage
Field terrainStage.
runtime
Field runtime.
runtimeString
Field runtimeString.
materialOutput_bufferType
Field materialOutput_bufferType.
entityOutput_bufferType
Field entityOutput_bufferType.
propStage
Field propStage.
runtime2
Field runtime2.
runtimeString2
Field runtimeString2.
propStage2
Field propStage2.
tintStage
Field tintStage.
environmentStage
Field environmentStage.
bufferCapacityFactor
Field bufferCapacityFactor.
targetViewDistance
Field targetViewDistance.
targetPlayerCount
Field targetPlayerCount.
statsCheckpoints
Field statsCheckpoints.
worldStructureAsset
Field worldStructureAsset.
settingsAsset
Field settingsAsset.
newConcurrency
Field newConcurrency.
t
Field t.
concurrencySetting
Field concurrencySetting.
availableProcessors
Field availableProcessors.
Method Detail
start
void
start
()
Method start.
setup
void
setup
()
Method setup.
createStagedChunkGenerator
NStagedChunkGenerator
createStagedChunkGenerator
(@Nonnull final ChunkRequest.GeneratorProfile generatorProfile, @Nonnull final WorldStructureAsset worldStructureAsset, @Nonnull final SettingsAsset settingsAsset)
Method createStagedChunkGenerator.
- Parameters:
@Nonnull final ChunkRequest.GeneratorProfilegeneratorProfile@Nonnull final WorldStructureAssetworldStructureAsset@Nonnull final SettingsAssetsettingsAsset
SeedBox
new
SeedBox
(generatorProfile.seed()
Method SeedBox.
- Parameters:
generatorProfile.seed(generatorProfile.seed(
NParametrizedBufferType
new
NParametrizedBufferType
("Biome", bufferTypeIndexCounter++, (Class)
Method NParametrizedBufferType.
- Parameters:
"Biome""Biome"bufferTypeIndexCounter++bufferTypeIndexCounter++(Class(Class
NCountedPixelBuffer
new
NCountedPixelBuffer
((Class)
Method NCountedPixelBuffer.
- Parameters:
(Class(Class
NSimplePixelBuffer
new
NSimplePixelBuffer
((Class)
Method NSimplePixelBuffer.
- Parameters:
(Class(Class
NVoxelBuffer
new
NVoxelBuffer
((Class)
Method NVoxelBuffer.
- Parameters:
(Class(Class
NBufferType
new
NBufferType
("Entity" + materialBufferIndexCounter, bufferTypeIndexCounter++, (Class)
Method NBufferType.
- Parameters:
"Entity" +materialBufferIndexCounterbufferTypeIndexCounter++bufferTypeIndexCounter++(Class(Class
getAllPossibleRuntimeIndices
Set
getAllPossibleRuntimeIndices
(@Nonnull final List biomes)
Method getAllPossibleRuntimeIndices.
- Parameters:
@Nonnull final Listbiomes
getGenerator
Method getGenerator.
- Parameters:
@Nonnull final ChunkRequest.GeneratorProfileprofile
ThreadPoolExecutor
new
ThreadPoolExecutor
(this.concurrency, this.concurrency, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueueMethod ThreadPoolExecutor.
- Parameters:
this.concurrencythis.concurrency0L0LTimeUnit.MILLISECONDSTimeUnit.MILLISECONDSnewLinkedBlockingQueue(
reloadGenerators
void
reloadGenerators
()
Method reloadGenerators.