Enum Class EDhApiMcRenderingFadeMode

java.lang.Object
java.lang.Enum<EDhApiMcRenderingFadeMode>
com.seibel.distanthorizons.api.enums.config.EDhApiMcRenderingFadeMode
All Implemented Interfaces:
Serializable, Comparable<EDhApiMcRenderingFadeMode>, Constable

public enum EDhApiMcRenderingFadeMode extends Enum<EDhApiMcRenderingFadeMode>
Handles how Minecraft's rendering is faded out to smooth the transition between MC and DH rendering.

NONE,
SINGLE_PASS,
DOUBLE_PASS,
Since:
API 4.0.0
  • Enum Constant Details

    • NONE

      public static final EDhApiMcRenderingFadeMode NONE
      No fading is done, there will be a pronounced border between Minecraft and Distant Horizons.
      Fastest.
    • SINGLE_PASS

      public static final EDhApiMcRenderingFadeMode 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

      public static final EDhApiMcRenderingFadeMode DOUBLE_PASS
      Fading runs after both opaque and translucent render passes. Slowest, but oceans and rivers look better.
  • Method Details

    • values

      public static EDhApiMcRenderingFadeMode[] 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

      public static EDhApiMcRenderingFadeMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null