Enum Class EDhApiFogDrawMode

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

public enum EDhApiFogDrawMode extends Enum<EDhApiFogDrawMode>
USE_OPTIFINE_FOG_SETTING,
FOG_ENABLED,
FOG_DISABLED
Since:
API 2.0.0
  • Enum Constant Details

    • USE_OPTIFINE_SETTING

      public static final EDhApiFogDrawMode USE_OPTIFINE_SETTING
      Use whatever Fog setting optifine is using. If optifine isn't installed this defaults to FOG_ENABLED.
    • FOG_ENABLED

      public static final EDhApiFogDrawMode FOG_ENABLED
    • FOG_DISABLED

      public static final EDhApiFogDrawMode FOG_DISABLED
  • Method Details

    • values

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