Enum Class EDhApiFogColorMode

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

public enum EDhApiFogColorMode extends Enum<EDhApiFogColorMode>
USE_DEFAULT_FOG_COLOR,
USE_SKY_COLOR,
Since:
API 2.0.0
  • Enum Constant Details

    • USE_WORLD_FOG_COLOR

      public static final EDhApiFogColorMode USE_WORLD_FOG_COLOR
      Fog uses Minecraft's fog color.
    • USE_SKY_COLOR

      public static final EDhApiFogColorMode USE_SKY_COLOR
      Replicates the effect of the clear sky mod. Making the fog blend in with the sky better For it to look good you need one of the following mods: https://www.curseforge.com/minecraft/mc-mods/clear-skies https://www.curseforge.com/minecraft/mc-mods/clear-skies-forge-port
  • Method Details

    • values

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