Enum Class EDhApiLodShading

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

public enum EDhApiLodShading extends Enum<EDhApiLodShading>
AUTO
ENABLED
DISABLED
Since:
API 2.0.0
  • Enum Constant Details

    • AUTO

      public static final EDhApiLodShading AUTO
      Uses Minecraft's shading for LODs.
      This means if Minecraft's shading is disabled DH's shading will be as well.
    • ENABLED

      public static final EDhApiLodShading ENABLED
      Simulates Minecraft's shading.
      This is most useful for shaders that disable Minecraft's shading but still require shading on LODs.
    • DISABLED

      public static final EDhApiLodShading DISABLED
      LODs will have no shading
  • Method Details

    • values

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