Remove "config" from API config method names

IE getFogConfig()
The additional config was already implied.
This commit is contained in:
James Seibel
2022-09-15 20:30:49 -05:00
parent 14bd059a88
commit 541fbbb36b
16 changed files with 255 additions and 189 deletions
@@ -19,9 +19,9 @@
package com.seibel.lod.core.api.external.coreImplementations.methods.config.both;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfig;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
import com.seibel.lod.api.items.interfaces.config.both.IDhApiWorldGenerationConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfigValue;
import com.seibel.lod.core.config.Config.Client.WorldGenerator;
import com.seibel.lod.api.items.enums.config.EBlocksToAvoid;
import com.seibel.lod.api.items.enums.config.EDistanceGenerationMode;
@@ -38,32 +38,37 @@ import com.seibel.lod.api.items.enums.config.ELightGenerationMode;
*/
public class DhApiWorldGenerationConfig implements IDhApiWorldGenerationConfig
{
public static DhApiWorldGenerationConfig INSTANCE = new DhApiWorldGenerationConfig();
private DhApiWorldGenerationConfig() { }
@Override
public IDhApiConfig<Boolean> getEnableDistantWorldGenerationConfig()
{ return new DhApiConfig<>(WorldGenerator.enableDistantGeneration); }
public IDhApiConfigValue<Boolean> getEnableDistantWorldGeneration()
{ return new DhApiConfigValue<>(WorldGenerator.enableDistantGeneration); }
@Override
public IDhApiConfig<EDistanceGenerationMode> getDistantGeneratorDetailLevelConfig()
{ return new DhApiConfig<>(WorldGenerator.distanceGenerationMode); }
public IDhApiConfigValue<EDistanceGenerationMode> getDistantGeneratorDetailLevel()
{ return new DhApiConfigValue<>(WorldGenerator.distanceGenerationMode); }
@Override
public IDhApiConfig<ELightGenerationMode> getLightingModeConfig()
{ return new DhApiConfig<>(WorldGenerator.lightGenerationMode); }
public IDhApiConfigValue<ELightGenerationMode> getLightingMode()
{ return new DhApiConfigValue<>(WorldGenerator.lightGenerationMode); }
@Override
public IDhApiConfig<EGenerationPriority> getGenerationPriorityConfig()
{ return new DhApiConfig<>(WorldGenerator.generationPriority); }
public IDhApiConfigValue<EGenerationPriority> getGenerationPriority()
{ return new DhApiConfigValue<>(WorldGenerator.generationPriority); }
@Deprecated
@Override
public IDhApiConfig<EBlocksToAvoid> getBlocksToAvoidConfig()
{ return new DhApiConfig<>(WorldGenerator.blocksToAvoid); }
public IDhApiConfigValue<EBlocksToAvoid> getBlocksToAvoid()
{ return new DhApiConfigValue<>(WorldGenerator.blocksToAvoid); }
@Deprecated
@Override
public IDhApiConfig<Boolean> getTintWithAvoidedBlocksConfig()
{ return new DhApiConfig<>(WorldGenerator.tintWithAvoidedBlocks); }
public IDhApiConfigValue<Boolean> getTintWithAvoidedBlocks()
{ return new DhApiConfigValue<>(WorldGenerator.tintWithAvoidedBlocks); }
}
@@ -19,9 +19,9 @@
package com.seibel.lod.core.api.external.coreImplementations.methods.config.client;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfig;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
import com.seibel.lod.api.items.interfaces.config.client.IDhApiBuffersConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfigValue;
import com.seibel.lod.core.config.Config.Client.Advanced.Buffers;
import com.seibel.lod.api.items.enums.config.EGpuUploadMethod;
@@ -33,11 +33,16 @@ import com.seibel.lod.api.items.enums.config.EGpuUploadMethod;
*/
public class DhApiBuffersConfig implements IDhApiBuffersConfig
{
public static DhApiBuffersConfig INSTANCE = new DhApiBuffersConfig();
public IDhApiConfig<EGpuUploadMethod> getGpuUploadMethodConfig()
{ return new DhApiConfig<>(Buffers.gpuUploadMethod); }
private DhApiBuffersConfig() { }
public IDhApiConfig<Integer> getBufferUploadTimeoutPerMegabyteInMillisecondsConfig()
{ return new DhApiConfig<>(Buffers.gpuUploadPerMegabyteInMilliseconds); }
public IDhApiConfigValue<EGpuUploadMethod> getGpuUploadMethod()
{ return new DhApiConfigValue<>(Buffers.gpuUploadMethod); }
public IDhApiConfigValue<Integer> getBufferUploadTimeoutPerMegabyteInMilliseconds()
{ return new DhApiConfigValue<>(Buffers.gpuUploadPerMegabyteInMilliseconds); }
}
@@ -19,9 +19,9 @@
package com.seibel.lod.core.api.external.coreImplementations.methods.config.client;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfig;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
import com.seibel.lod.api.items.interfaces.config.client.IDhApiDebuggingConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfigValue;
import com.seibel.lod.core.config.Config.Client.Advanced.Debugging;
import com.seibel.lod.api.items.enums.rendering.EDebugMode;
@@ -33,11 +33,16 @@ import com.seibel.lod.api.items.enums.rendering.EDebugMode;
*/
public class DhApiDebuggingConfig implements IDhApiDebuggingConfig
{
public static DhApiDebuggingConfig INSTANCE = new DhApiDebuggingConfig();
public IDhApiConfig<EDebugMode> getDebugRenderModeConfig()
{ return new DhApiConfig<>(Debugging.debugMode); }
private DhApiDebuggingConfig() { }
public IDhApiConfig<Boolean> getEnableDebugKeybindingsConfig()
{ return new DhApiConfig<>(Debugging.enableDebugKeybindings); }
public IDhApiConfigValue<EDebugMode> getDebugRenderMode()
{ return new DhApiConfigValue<>(Debugging.debugMode); }
public IDhApiConfigValue<Boolean> getEnableDebugKeybindings()
{ return new DhApiConfigValue<>(Debugging.enableDebugKeybindings); }
}
@@ -20,9 +20,9 @@
package com.seibel.lod.core.api.external.coreImplementations.methods.config.client;
import com.seibel.lod.api.items.enums.config.*;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfig;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
import com.seibel.lod.api.items.interfaces.config.client.IDhApiGraphicsConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfigValue;
import com.seibel.lod.core.interfaces.config.converters.RenderModeEnabledConverter;
import com.seibel.lod.core.config.Config;
import com.seibel.lod.api.items.enums.rendering.ERendererMode;
@@ -38,22 +38,27 @@ import com.seibel.lod.core.config.Config.Client.Graphics.AdvancedGraphics;
*/
public class DhApiGraphicsConfig implements IDhApiGraphicsConfig
{
public static DhApiGraphicsConfig INSTANCE = new DhApiGraphicsConfig();
private DhApiGraphicsConfig() { }
//========================//
// basic graphic settings //
//========================//
@Override
public IDhApiConfig<Integer> getChunkRenderDistanceConfig()
{ return new DhApiConfig<>(Quality.lodChunkRenderDistance); }
public IDhApiConfigValue<Integer> getChunkRenderDistance()
{ return new DhApiConfigValue<>(Quality.lodChunkRenderDistance); }
@Override
public IDhApiConfig<Boolean> getRenderingEnabledConfig()
{ return new DhApiConfig<ERendererMode, Boolean>(Debugging.rendererMode, new RenderModeEnabledConverter()); }
public IDhApiConfigValue<Boolean> getRenderingEnabled()
{ return new DhApiConfigValue<ERendererMode, Boolean>(Debugging.rendererMode, new RenderModeEnabledConverter()); }
@Override
public IDhApiConfig<ERendererMode> getRenderingModeConfig()
{ return new DhApiConfig<>(Debugging.rendererMode); }
public IDhApiConfigValue<ERendererMode> getRenderingMode()
{ return new DhApiConfigValue<>(Debugging.rendererMode); }
@@ -62,20 +67,20 @@ public class DhApiGraphicsConfig implements IDhApiGraphicsConfig
//==================//
@Override
public IDhApiConfig<EHorizontalResolution> getMaxDetailLevelConfig()
{ return new DhApiConfig<>(Quality.drawResolution); }
public IDhApiConfigValue<EHorizontalResolution> getMaxDetailLevel()
{ return new DhApiConfigValue<>(Quality.drawResolution); }
@Override
public IDhApiConfig<EVerticalQuality> getVerticalQualityConfig()
{ return new DhApiConfig<>(Quality.verticalQuality); }
public IDhApiConfigValue<EVerticalQuality> getVerticalQuality()
{ return new DhApiConfigValue<>(Quality.verticalQuality); }
@Override
public IDhApiConfig<EHorizontalQuality> getHorizontalQualityDropoffConfig()
{ return new DhApiConfig<>(Quality.horizontalQuality); }
public IDhApiConfigValue<EHorizontalQuality> getHorizontalQualityDropoff()
{ return new DhApiConfigValue<>(Quality.horizontalQuality); }
@Override
public IDhApiConfig<Integer> getBiomeBlendingConfig()
{ return new DhApiConfig<>(Quality.lodBiomeBlending); }
public IDhApiConfigValue<Integer> getBiomeBlending()
{ return new DhApiConfigValue<>(Quality.lodBiomeBlending); }
@@ -84,48 +89,48 @@ public class DhApiGraphicsConfig implements IDhApiGraphicsConfig
//===========================//
@Override
public IDhApiConfig<Boolean> getDisableDirectionalCullingConfig()
{ return new DhApiConfig<>(AdvancedGraphics.disableDirectionalCulling); }
public IDhApiConfigValue<Boolean> getDisableDirectionalCulling()
{ return new DhApiConfigValue<>(AdvancedGraphics.disableDirectionalCulling); }
@Override
public IDhApiConfig<EVanillaOverdraw> getVanillaOverdrawConfig()
{ return new DhApiConfig<>(AdvancedGraphics.vanillaOverdraw); }
public IDhApiConfigValue<EVanillaOverdraw> getVanillaOverdraw()
{ return new DhApiConfigValue<>(AdvancedGraphics.vanillaOverdraw); }
@Override
public IDhApiConfig<Integer> getVanillaOverdrawOffsetConfig()
{ return new DhApiConfig<>(AdvancedGraphics.overdrawOffset); }
public IDhApiConfigValue<Integer> getVanillaOverdrawOffset()
{ return new DhApiConfigValue<>(AdvancedGraphics.overdrawOffset); }
@Override
public IDhApiConfig<Boolean> getUseExtendedNearClipPlaneConfig()
{ return new DhApiConfig<>(AdvancedGraphics.useExtendedNearClipPlane); }
public IDhApiConfigValue<Boolean> getUseExtendedNearClipPlane()
{ return new DhApiConfigValue<>(AdvancedGraphics.useExtendedNearClipPlane); }
@Override
public IDhApiConfig<Double> getBrightnessMultiplierConfig()
{ return new DhApiConfig<>(AdvancedGraphics.brightnessMultiplier); }
public IDhApiConfigValue<Double> getBrightnessMultiplier()
{ return new DhApiConfigValue<>(AdvancedGraphics.brightnessMultiplier); }
@Override
public IDhApiConfig<Double> getSaturationMultiplierConfig()
{ return new DhApiConfig<>(AdvancedGraphics.saturationMultiplier); }
public IDhApiConfigValue<Double> getSaturationMultiplier()
{ return new DhApiConfigValue<>(AdvancedGraphics.saturationMultiplier); }
@Override
public IDhApiConfig<Boolean> getCaveCullingEnabledConfig()
{ return new DhApiConfig<>(AdvancedGraphics.enableCaveCulling); }
public IDhApiConfigValue<Boolean> getCaveCullingEnabled()
{ return new DhApiConfigValue<>(AdvancedGraphics.enableCaveCulling); }
@Override
public IDhApiConfig<Integer> getCaveCullingHeightConfig()
{ return new DhApiConfig<>(AdvancedGraphics.caveCullingHeight); }
public IDhApiConfigValue<Integer> getCaveCullingHeight()
{ return new DhApiConfigValue<>(AdvancedGraphics.caveCullingHeight); }
@Override
public IDhApiConfig<Integer> getEarthCurvatureRatioConfig()
{ return new DhApiConfig<>(AdvancedGraphics.earthCurveRatio); }
public IDhApiConfigValue<Integer> getEarthCurvatureRatio()
{ return new DhApiConfigValue<>(AdvancedGraphics.earthCurveRatio); }
@Override
public IDhApiConfig<Boolean> getEnableLodOnlyModeConfig()
{ return new DhApiConfig<>(Config.Client.Advanced.lodOnlyMode); }
public IDhApiConfigValue<Boolean> getEnableLodOnlyMode()
{ return new DhApiConfigValue<>(Config.Client.Advanced.lodOnlyMode); }
@Override
public IDhApiConfig<EBufferRebuildTimes> getGeometryRebuildFrequencyConfig()
{ return new DhApiConfig<>(Config.Client.Advanced.Buffers.rebuildTimes); }
public IDhApiConfigValue<EBufferRebuildTimes> getGeometryRebuildFrequency()
{ return new DhApiConfigValue<>(Config.Client.Advanced.Buffers.rebuildTimes); }
@@ -20,9 +20,9 @@
package com.seibel.lod.core.api.external.coreImplementations.methods.config.client;
import com.seibel.lod.api.items.enums.rendering.*;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfig;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
import com.seibel.lod.api.items.interfaces.config.client.IDhApiGraphicsFogConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfigValue;
import com.seibel.lod.core.config.Config.Client.Graphics.FogQuality;
/**
@@ -37,26 +37,31 @@ import com.seibel.lod.core.config.Config.Client.Graphics.FogQuality;
*/
public class DhApiGraphicsFogConfig implements IDhApiGraphicsFogConfig
{
public static DhApiGraphicsFogConfig INSTANCE = new DhApiGraphicsFogConfig();
private DhApiGraphicsFogConfig() { }
//====================//
// basic fog settings //
//====================//
@Override
public IDhApiConfig<EFogDistance> getFogDistanceConfig()
{ return new DhApiConfig<>(FogQuality.fogDistance); }
public IDhApiConfigValue<EFogDistance> getFogDistance()
{ return new DhApiConfigValue<>(FogQuality.fogDistance); }
@Override
public IDhApiConfig<EFogDrawMode> getFogRenderConfig()
{ return new DhApiConfig<>(FogQuality.fogDrawMode); }
public IDhApiConfigValue<EFogDrawMode> getFogRender()
{ return new DhApiConfigValue<>(FogQuality.fogDrawMode); }
@Override
public IDhApiConfig<EFogColorMode> getFogColorConfig()
{ return new DhApiConfig<>(FogQuality.fogColorMode); }
public IDhApiConfigValue<EFogColorMode> getFogColor()
{ return new DhApiConfigValue<>(FogQuality.fogColorMode); }
@Override
public IDhApiConfig<Boolean> getDisableVanillaFogConfig()
{ return new DhApiConfig<>(FogQuality.disableVanillaFog); }
public IDhApiConfigValue<Boolean> getDisableVanillaFog()
{ return new DhApiConfigValue<>(FogQuality.disableVanillaFog); }
//=======================//
@@ -64,28 +69,28 @@ public class DhApiGraphicsFogConfig implements IDhApiGraphicsFogConfig
//=======================//
@Override
public IDhApiConfig<Double> getFogStartDistanceConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.farFogStart); }
public IDhApiConfigValue<Double> getFogStartDistance()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.farFogStart); }
@Override
public IDhApiConfig<Double> getFogEndDistanceConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.farFogEnd); }
public IDhApiConfigValue<Double> getFogEndDistance()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.farFogEnd); }
@Override
public IDhApiConfig<Double> getFogMinThicknessConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.farFogMin); }
public IDhApiConfigValue<Double> getFogMinThickness()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.farFogMin); }
@Override
public IDhApiConfig<Double> getFogMaxThicknessConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.farFogMax); }
public IDhApiConfigValue<Double> getFogMaxThickness()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.farFogMax); }
@Override
public IDhApiConfig<EFogFalloff> getFogFalloffConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.farFogType); }
public IDhApiConfigValue<EFogFalloff> getFogFalloff()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.farFogType); }
@Override
public IDhApiConfig<Double> getFogDensityConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.farFogDensity); }
public IDhApiConfigValue<Double> getFogDensity()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.farFogDensity); }
//=====================//
@@ -93,39 +98,39 @@ public class DhApiGraphicsFogConfig implements IDhApiGraphicsFogConfig
//=====================//
@Override
public IDhApiConfig<EHeightFogMixMode> getHeightFogMixModeConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogMixMode); }
public IDhApiConfigValue<EHeightFogMixMode> getHeightFogMixMode()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogMixMode); }
@Override
public IDhApiConfig<EHeightFogMode> getHeightFogModeConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogMode); }
public IDhApiConfigValue<EHeightFogMode> getHeightFogMode()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogMode); }
@Override
public IDhApiConfig<Double> getHeightFogBaseHeightConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogHeight); }
public IDhApiConfigValue<Double> getHeightFogBaseHeight()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogHeight); }
@Override
public IDhApiConfig<Double> getHeightFogStartingHeightPercentConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogStart); }
public IDhApiConfigValue<Double> getHeightFogStartingHeightPercent()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogStart); }
@Override
public IDhApiConfig<Double> getHeightFogEndingHeightPercentConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogEnd); }
public IDhApiConfigValue<Double> getHeightFogEndingHeightPercent()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogEnd); }
@Override
public IDhApiConfig<Double> getHeightFogMinThicknessConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogMin); }
public IDhApiConfigValue<Double> getHeightFogMinThickness()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogMin); }
@Override
public IDhApiConfig<Double> getHeightFogMaxThicknessConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogMax); }
public IDhApiConfigValue<Double> getHeightFogMaxThickness()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogMax); }
@Override
public IDhApiConfig<EFogFalloff> getHeightFogFalloffConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogType); }
public IDhApiConfigValue<EFogFalloff> getHeightFogFalloff()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogType); }
@Override
public IDhApiConfig<Double> getHeightFogDensityConfig()
{ return new DhApiConfig<>(FogQuality.AdvancedFog.HeightFog.heightFogDensity); }
public IDhApiConfigValue<Double> getHeightFogDensity()
{ return new DhApiConfigValue<>(FogQuality.AdvancedFog.HeightFog.heightFogDensity); }
}
@@ -19,9 +19,9 @@
package com.seibel.lod.core.api.external.coreImplementations.methods.config.client;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfig;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
import com.seibel.lod.api.items.interfaces.config.client.IDhApiMultiplayerConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfigValue;
import com.seibel.lod.core.config.Config.Client.Multiplayer;
import com.seibel.lod.api.items.enums.config.EServerFolderNameMode;
@@ -33,11 +33,16 @@ import com.seibel.lod.api.items.enums.config.EServerFolderNameMode;
*/
public class DhApiMultiplayerConfig implements IDhApiMultiplayerConfig
{
public static DhApiMultiplayerConfig INSTANCE = new DhApiMultiplayerConfig();
public IDhApiConfig<EServerFolderNameMode> getFolderSavingModeConfig()
{ return new DhApiConfig<>(Multiplayer.serverFolderNameMode); }
private DhApiMultiplayerConfig() { }
public IDhApiConfig<Double> getMultiverseSimilarityRequirementConfig()
{ return new DhApiConfig<>(Multiplayer.multiDimensionRequiredSimilarity); }
public IDhApiConfigValue<EServerFolderNameMode> getFolderSavingMode()
{ return new DhApiConfigValue<>(Multiplayer.serverFolderNameMode); }
public IDhApiConfigValue<Double> getMultiverseSimilarityRequirement()
{ return new DhApiConfigValue<>(Multiplayer.multiDimensionRequiredSimilarity); }
}
@@ -19,9 +19,9 @@
package com.seibel.lod.core.api.external.coreImplementations.methods.config.client;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfig;
import com.seibel.lod.api.items.interfaces.config.IDhApiConfigValue;
import com.seibel.lod.api.items.interfaces.config.client.IDhApiThreadingConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfig;
import com.seibel.lod.api.items.objects.config.DhApiConfigValue;
import com.seibel.lod.core.config.Config.Client.Advanced.Threading;
/**
@@ -32,11 +32,16 @@ import com.seibel.lod.core.config.Config.Client.Advanced.Threading;
*/
public class DhApiThreadingConfig implements IDhApiThreadingConfig
{
public static DhApiThreadingConfig INSTANCE = new DhApiThreadingConfig();
private DhApiThreadingConfig() { }
@Deprecated
@Override
public IDhApiConfig<Double> getWorldGeneratorThreadConfig()
{ return new DhApiConfig<>(Threading.numberOfWorldGenerationThreads); }
public IDhApiConfigValue<Double> getWorldGeneratorThread()
{ return new DhApiConfigValue<>(Threading.numberOfWorldGenerationThreads); }
// TODO the above should be replaced with these
// public static IDhApiConfig<Integer> getWorldGeneratorThreadConfig()
@@ -46,7 +51,7 @@ public class DhApiThreadingConfig implements IDhApiThreadingConfig
// { return new DhApiConfig<>(Threading.ToBeDetermined); }
@Override
public IDhApiConfig<Integer> getBufferBuilderThreadConfig()
{ return new DhApiConfig<>(Threading.numberOfBufferBuilderThreads); }
public IDhApiConfigValue<Integer> getBufferBuilderThread()
{ return new DhApiConfigValue<>(Threading.numberOfBufferBuilderThreads); }
}