Enum Class EDhApiDistantGeneratorMode
java.lang.Object
java.lang.Enum<EDhApiDistantGeneratorMode>
com.seibel.distanthorizons.api.enums.worldGeneration.EDhApiDistantGeneratorMode
- All Implemented Interfaces:
Serializable
,Comparable<EDhApiDistantGeneratorMode>
,Constable
PRE_EXISTING_ONLY
SURFACE
FEATURES
FULL
In order of fastest to slowest.
SURFACE
FEATURES
FULL
In order of fastest to slowest.
- Since:
- API 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGenerate including structures.Ask the server to generate/load each chunk.Don't generate any new terrain, just generate LODs for already generated chunks.Generate the world surface, this does NOT include caves, trees, or structures. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal byte
The higher the number the more complete the generation is. -
Method Summary
Modifier and TypeMethodDescriptionstatic EDhApiDistantGeneratorMode
Returns the enum constant of this class with the specified name.static EDhApiDistantGeneratorMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRE_EXISTING_ONLY
Don't generate any new terrain, just generate LODs for already generated chunks. -
SURFACE
Generate the world surface, this does NOT include caves, trees, or structures. -
FEATURES
Generate including structures. NOTE: This may cause world generation bugs or instability, since some features can cause concurrentModification exceptions. -
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 complexityThe higher the number the more complete the generation is.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-