Interface IDhApiMultiThreadingConfig
- All Superinterfaces:
IBindable,IDhApiConfigGroup
Distant Horizons' threading configuration.
- Since:
- API 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionDefines how many file handler threads are used.Defines how many threads are used to build LODs.Defines how many world generator threads are used to generate terrain outside Minecraft's vanilla render distance.Methods inherited from interface com.seibel.distanthorizons.coreapi.interfaces.dependencyInjection.IBindable
finishDelayedSetup, getDelayedSetupComplete
-
Method Details
-
worldGeneratorThreads
IDhApiConfigValue<Integer> worldGeneratorThreads()Defines how many world generator threads are used to generate terrain outside Minecraft's vanilla render distance.
If the number of threads is less than 1 it will be treated as a percentage representing how often the single thread will actively generate terrain. -
fileHandlerThreads
IDhApiConfigValue<Integer> fileHandlerThreads()Defines how many file handler threads are used. -
lodBuilderThreads
IDhApiConfigValue<Integer> lodBuilderThreads()Defines how many threads are used to build LODs.
This includes:
- lighting
- Chunk -> LOD conversion
- Buffer generation
-