Update ELodShading names and descriptions
This commit is contained in:
@@ -25,6 +25,7 @@ package com.seibel.distanthorizons.api.enums.config;
|
|||||||
* NONE <br>
|
* NONE <br>
|
||||||
*
|
*
|
||||||
* @since API 1.0.0
|
* @since API 1.0.0
|
||||||
|
* @version 2024-4-6
|
||||||
*/
|
*/
|
||||||
public enum ELodShading
|
public enum ELodShading
|
||||||
{
|
{
|
||||||
@@ -32,15 +33,20 @@ public enum ELodShading
|
|||||||
// when adding items up the API minor version
|
// when adding items up the API minor version
|
||||||
// when removing items up the API major 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
|
* This is most useful for shaders that disable Minecraft's shading
|
||||||
* but still require shading on LODs.
|
* but still require shading on LODs.
|
||||||
*/
|
*/
|
||||||
OLD_LIGHTING,
|
ENABLED,
|
||||||
|
|
||||||
/** LODs will have no shading */
|
/** LODs will have no shading */
|
||||||
NONE;
|
DISABLED;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -629,12 +629,12 @@ public class Config
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
public static ConfigEntry<ELodShading> lodShading = new ConfigEntry.Builder<ELodShading>()
|
public static ConfigEntry<ELodShading> lodShading = new ConfigEntry.Builder<ELodShading>()
|
||||||
.set(ELodShading.MINECRAFT)
|
.set(ELodShading.AUTO)
|
||||||
.comment(""
|
.comment(""
|
||||||
+ "How should LODs be shaded? \n"
|
+ "How should LODs be shaded? \n"
|
||||||
+ "\n"
|
+ "\n"
|
||||||
+ ELodShading.MINECRAFT + ": Uses the same side shading as vanilla Minecraft blocks. \n"
|
+ ELodShading.AUTO + ": Uses the same side shading as vanilla Minecraft blocks. \n"
|
||||||
+ ELodShading.OLD_LIGHTING + ": Simulates Minecraft's block shading for LODs. \n"
|
+ ELodShading.FORCED + ": Simulates Minecraft's block shading for LODs. \n"
|
||||||
+ " Can be used to force LOD shading when using some shaders. \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"
|
+ ELodShading.NONE + ": All LOD sides will be rendered with the same brightness. \n"
|
||||||
+ "")
|
+ "")
|
||||||
|
|||||||
@@ -903,12 +903,12 @@
|
|||||||
"distanthorizons.config.enum.EBufferRebuildTimes.RARE":
|
"distanthorizons.config.enum.EBufferRebuildTimes.RARE":
|
||||||
"Rare",
|
"Rare",
|
||||||
|
|
||||||
"distanthorizons.config.enum.ELodShading.MINECRAFT":
|
"distanthorizons.config.enum.ELodShading.AUTO":
|
||||||
"Auto",
|
"Auto",
|
||||||
"distanthorizons.config.enum.ELodShading.OLD_LIGHTING":
|
"distanthorizons.config.enum.ELodShading.ENABLED":
|
||||||
"Force",
|
"Enabled",
|
||||||
"distanthorizons.config.enum.ELodShading.NONE":
|
"distanthorizons.config.enum.ELodShading.DISABLED":
|
||||||
"None",
|
"Disabled",
|
||||||
|
|
||||||
"distanthorizons.config.enum.EUpdateBranch.STABLE":
|
"distanthorizons.config.enum.EUpdateBranch.STABLE":
|
||||||
"Stable",
|
"Stable",
|
||||||
|
|||||||
Reference in New Issue
Block a user