Update ELodShading names and descriptions

This commit is contained in:
James Seibel
2024-04-06 08:42:29 -05:00
parent bdd0fbe5ae
commit f09818e564
3 changed files with 19 additions and 13 deletions
@@ -25,6 +25,7 @@ package com.seibel.distanthorizons.api.enums.config;
* NONE <br>
*
* @since API 1.0.0
* @version 2024-4-6
*/
public enum ELodShading
{
@@ -32,15 +33,20 @@ public enum ELodShading
// when adding items up the API minor version
// when removing items up the API major version
/** Uses Minecraft's shading for LODs */
MINECRAFT,
/**
* Simulates Minecraft's shading.
* Uses Minecraft's shading for LODs. <Br>
* This means if Minecraft's shading is disabled DH's shading will be as well.
*/
AUTO,
/**
* Simulates Minecraft's shading. <Br>
* This is most useful for shaders that disable Minecraft's shading
* but still require shading on LODs.
*/
OLD_LIGHTING,
ENABLED,
/** LODs will have no shading */
NONE;
DISABLED;
}
@@ -629,12 +629,12 @@ public class Config
.build();
public static ConfigEntry<ELodShading> lodShading = new ConfigEntry.Builder<ELodShading>()
.set(ELodShading.MINECRAFT)
.set(ELodShading.AUTO)
.comment(""
+ "How should LODs be shaded? \n"
+ "\n"
+ ELodShading.MINECRAFT + ": Uses the same side shading as vanilla Minecraft blocks. \n"
+ ELodShading.OLD_LIGHTING + ": Simulates Minecraft's block shading for LODs. \n"
+ ELodShading.AUTO + ": Uses the same side shading as vanilla Minecraft blocks. \n"
+ ELodShading.FORCED + ": Simulates Minecraft's block shading for LODs. \n"
+ " Can be used to force LOD shading when using some shaders. \n"
+ ELodShading.NONE + ": All LOD sides will be rendered with the same brightness. \n"
+ "")
@@ -903,12 +903,12 @@
"distanthorizons.config.enum.EBufferRebuildTimes.RARE":
"Rare",
"distanthorizons.config.enum.ELodShading.MINECRAFT":
"distanthorizons.config.enum.ELodShading.AUTO":
"Auto",
"distanthorizons.config.enum.ELodShading.OLD_LIGHTING":
"Force",
"distanthorizons.config.enum.ELodShading.NONE":
"None",
"distanthorizons.config.enum.ELodShading.ENABLED":
"Enabled",
"distanthorizons.config.enum.ELodShading.DISABLED":
"Disabled",
"distanthorizons.config.enum.EUpdateBranch.STABLE":
"Stable",