Enum Class EDhApiMcRenderingFadeMode
java.lang.Object
java.lang.Enum<EDhApiMcRenderingFadeMode>
com.seibel.distanthorizons.api.enums.config.EDhApiMcRenderingFadeMode
- All Implemented Interfaces:
Serializable
,Comparable<EDhApiMcRenderingFadeMode>
,Constable
Handles how Minecraft's rendering
is faded out to smooth the transition
between MC and DH rendering.
NONE,
SINGLE_PASS,
DOUBLE_PASS,
NONE,
SINGLE_PASS,
DOUBLE_PASS,
- Since:
- API 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFading runs after both opaque and translucent render passes.No fading is done, there will be a pronounced border between Minecraft and Distant Horizons.Fading only runs after the translucent render pass. -
Method Summary
Modifier and TypeMethodDescriptionstatic EDhApiMcRenderingFadeMode
Returns the enum constant of this class with the specified name.static EDhApiMcRenderingFadeMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No fading is done, there will be a pronounced border between Minecraft and Distant Horizons.
Fastest. -
SINGLE_PASS
Fading only runs after the translucent render pass.
Looks good for the tops of oceans and rivers, but doesn't fade the opaque blocks underwater. -
DOUBLE_PASS
Fading runs after both opaque and translucent render passes. Slowest, but oceans and rivers look better.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-