Enum Class EDhApiDistantGeneratorMode

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

public enum EDhApiDistantGeneratorMode extends Enum<EDhApiDistantGeneratorMode>
PRE_EXISTING_ONLY
SURFACE
FEATURES
FULL

In order of fastest to slowest.
Since:
API 1.0.0
  • Enum Constant Details

    • PRE_EXISTING_ONLY

      public static final EDhApiDistantGeneratorMode PRE_EXISTING_ONLY
      Don't generate any new terrain, just generate LODs for already generated chunks.
    • SURFACE

      public static final EDhApiDistantGeneratorMode SURFACE
      Generate the world surface, this does NOT include caves, trees, or structures.
    • FEATURES

      public static final EDhApiDistantGeneratorMode FEATURES
      Generate including structures. NOTE: This may cause world generation bugs or instability, since some features can cause concurrentModification exceptions.
    • INTERNAL_SERVER

      public static final EDhApiDistantGeneratorMode INTERNAL_SERVER
      Ask the server to generate/load each chunk. This is the most compatible and will generate structures correctly, but may cause server/simulation lag.

      Unlike other modes this option DOES save generated chunks to Minecraft's region files.
  • Field Details

    • complexity

      public final byte complexity
      The higher the number the more complete the generation is.
  • Method Details

    • values

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