diff --git a/src/main/java/com/seibel/lod/core/api/external/apiObjects/enums/EDhApiLightGenerationMode.java b/src/main/java/com/seibel/lod/core/api/external/apiObjects/enums/EDhApiLightGenerationMode.java
index 4a024970c..f20308ca1 100644
--- a/src/main/java/com/seibel/lod/core/api/external/apiObjects/enums/EDhApiLightGenerationMode.java
+++ b/src/main/java/com/seibel/lod/core/api/external/apiObjects/enums/EDhApiLightGenerationMode.java
@@ -21,7 +21,7 @@ package com.seibel.lod.core.api.external.apiObjects.enums;
/**
* FAST,
- * RANCY,
+ * FANCY,
*
* @author Leetom
* @version 2022-7-1
diff --git a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiMultiplayer.java b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiMultiplayer.java
index 8b820735e..d4f216485 100644
--- a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiMultiplayer.java
+++ b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiMultiplayer.java
@@ -52,7 +52,7 @@ public class DhApiMultiplayer
* or similar mods.
*/
public static IDhApiConfig getMultiverseSimilarityRequirementConfig()
- { return new DhApiConfig<>(Multiplayer.multiDimensionRequiredSimilarity); }
+ { return new DhApiConfig(Multiplayer.multiDimensionRequiredSimilarity); }
}
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 0cf0fa9c8..ea0117889 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
@@ -62,6 +62,6 @@ public class DhApiThreading
/** Defines how many buffer (GPU Terrain data) builder threads are used. */
public static IDhApiConfig getBufferBuilderThreadConfig()
- { return new DhApiConfig<>(Threading.numberOfBufferBuilderThreads); }
+ { return new DhApiConfig(Threading.numberOfBufferBuilderThreads); }
}
diff --git a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiWorldGeneration.java b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiWorldGeneration.java
index 8fbc69486..54db2bb03 100644
--- a/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiWorldGeneration.java
+++ b/src/main/java/com/seibel/lod/core/api/external/config/client/DhApiWorldGeneration.java
@@ -30,65 +30,57 @@ import com.seibel.lod.core.enums.config.EGenerationPriority;
import com.seibel.lod.core.enums.config.ELightGenerationMode;
/**
- * Distant Horizons world generation configuration.
+ * Distant Horizons' world generation configuration.
+ *
+ * Note: Fake chunks are NOT saved in Minecraft's vanilla save system.
*
* @author James Seibel
- * @version 2022-7-4
+ * @version 2022-7-5
*/
public class DhApiWorldGeneration
{
/**
- * Returns the config related to whether Distant Horizons
- * will attempt to generate fake chunks outside Minecraft's
- * vanilla render distance.
+ * Defines whether fake chunks will be generated
+ * outside Minecraft's vanilla render distance.
*/
public static IDhApiConfig getEnableDistantWorldGenerationConfig()
- { return new DhApiConfig<>(WorldGenerator.enableDistantGeneration); }
+ { return new DhApiConfig(WorldGenerator.enableDistantGeneration); }
- /**
- * Returns the config related to how Distant Horizons' distant world
- * generator will generate chunks.
- */
- public static IDhApiConfig getDistantGeneratorModeConfig()
- { return new DhApiConfig<>(WorldGenerator.distanceGenerationMode, new GenericEnumConverter<>(EDistanceGenerationMode.class, EDhApiDistanceGenerationMode.class)); }
+ /** Defines to what level fake chunks will be generated. */
+ public static IDhApiConfig getDistantGeneratorDetailLevelConfig()
+ { return new DhApiConfig(WorldGenerator.distanceGenerationMode, new GenericEnumConverter<>(EDistanceGenerationMode.class, EDhApiDistanceGenerationMode.class)); }
- /**
- * Returns the config related to how Distant Horizons' distant world
- * generator will light the chunks it generates.
- */
+ /** Defines how generated fake chunks will be lit. */
public static IDhApiConfig getLightingModeConfig()
- { return new DhApiConfig<>(WorldGenerator.lightGenerationMode, new GenericEnumConverter<>(ELightGenerationMode.class, EDhApiLightGenerationMode.class)); }
+ { return new DhApiConfig(WorldGenerator.lightGenerationMode, new GenericEnumConverter<>(ELightGenerationMode.class, EDhApiLightGenerationMode.class)); }
- /**
- * Returns the config related to the order Distant Horizons' distant world
- * generator will generate chunks.
- */
+ /** Defines the order in which fake chunks will be generated. */
public static IDhApiConfig getGenerationPriorityConfig()
- { return new DhApiConfig<>(WorldGenerator.generationPriority, new GenericEnumConverter<>(EGenerationPriority.class, EDhApiLightGenerationMode.class)); }
+ { return new DhApiConfig(WorldGenerator.generationPriority, new GenericEnumConverter<>(EGenerationPriority.class, EDhApiLightGenerationMode.class)); }
/**
- * Returns the config related to what blocks Distant Horizons' distant world
- * generator will ignore when generating LODs.
+ * Defines what blocks will be ignored when generating LODs.
*
+ * TODO if this isn't deprecated before 1.7 it should probably be moved to the graphics tab
* @deprecated this method won't be needed once we transition to an ID based save system
* (vs the color based system we have currently)
*/
@Deprecated
public static IDhApiConfig getBlocksToAvoidConfig()
- { return new DhApiConfig<>(WorldGenerator.blocksToAvoid, new GenericEnumConverter<>(EBlocksToAvoid.class, EDhApiBlocksToAvoid.class)); }
+ { return new DhApiConfig(WorldGenerator.blocksToAvoid, new GenericEnumConverter<>(EBlocksToAvoid.class, EDhApiBlocksToAvoid.class)); }
/**
- * Returns the config related to whether Distant Horizons' distant world
- * generator will color the blocks below an avoided block.
+ * Defines if the color of avoided blocks will color the block below them.
* (IE: if flowers are avoided should they color the grass below them?)
*
+ * TODO if this isn't deprecated before 1.7 it should probably be moved to the graphics tab
* @deprecated this method won't be needed once we transition to an ID based save system
* (vs the color based system we have currently)
*/
@Deprecated
public static IDhApiConfig getTintWithAvoidedBlocksConfig()
- { return new DhApiConfig<>(WorldGenerator.tintWithAvoidedBlocks); }
+ { return new DhApiConfig(WorldGenerator.tintWithAvoidedBlocks); }
}
diff --git a/src/main/java/com/seibel/lod/core/enums/config/ELightGenerationMode.java b/src/main/java/com/seibel/lod/core/enums/config/ELightGenerationMode.java
index f235d50b9..1084b4784 100644
--- a/src/main/java/com/seibel/lod/core/enums/config/ELightGenerationMode.java
+++ b/src/main/java/com/seibel/lod/core/enums/config/ELightGenerationMode.java
@@ -21,7 +21,7 @@ package com.seibel.lod.core.enums.config;
/**
* FAST,
- * RANCY,
+ * FANCY,
*
* @author Leetom
* @version 2022-7-1