From 267da77a0ad05cdff6f4ba8ff4141bde0e7153e5 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 5 Jul 2022 21:35:18 -0500 Subject: [PATCH] Update DhApi Threading comments --- .../external/config/client/DhApiThreading.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java index a91720f6f..0cf0fa9c8 100644 --- a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java +++ b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiThreading.java @@ -24,21 +24,22 @@ import com.seibel.lod.core.api.implementation.wrappers.DhApiConfig; import com.seibel.lod.core.config.Config.Client.Advanced.Threading; /** - * Distant Horizons threading configuration. + * Distant Horizons' threading configuration. * * @author James Seibel - * @version 2022-7-4 + * @version 2022-7-5 */ public class DhApiThreading { /** - * Returns the config related to the world generator threads.
+ * Defines how many world generator threads are used to generate + * terrain outside Minecraf's vanilla render distance.
*
* If the number of threads is less than 1 it will be treated as a percentage - * representing how often a single thread will be actively generating terrain.

+ * representing how often the single thread will actively generate terrain.

* - * 0.0 = 1 thread active 0% of the time
+ * 0.1 = 1 thread active 10% of the time
* 0.5 = 1 thread active 50% of the time
* 1.0 = 1 thread active 100% of the time
* 1.5 = 2 threads active 100% of the time (partial values are rounded up)
@@ -49,7 +50,7 @@ public class DhApiThreading */ @Deprecated public static IDhApiConfig getWorldGeneratorThreadConfig() - { return new DhApiConfig<>(Threading.numberOfWorldGenerationThreads); } + { return new DhApiConfig(Threading.numberOfWorldGenerationThreads); } // TODO the above should be replaced with these // public static IDhApiConfig getWorldGeneratorThreadConfig() @@ -59,7 +60,7 @@ public class DhApiThreading // { return new DhApiConfig<>(Threading.ToBeDetermined); } - /** Returns the config related to the buffer (GPU Terrain data) builder threads. */ + /** Defines how many buffer (GPU Terrain data) builder threads are used. */ public static IDhApiConfig getBufferBuilderThreadConfig() { return new DhApiConfig<>(Threading.numberOfBufferBuilderThreads); }