|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SimpleGenerator>
net.morbz.minecraft.level.SimpleGenerator
public enum SimpleGenerator
The class for world generators that don't have generator options.
| Enum Constant Summary | |
|---|---|
AMPLIFIED
Amplified generator |
|
DEFAULT
Default generator |
|
LARGE_BIOMES
Large biomes generator |
|
| Method Summary | |
|---|---|
java.lang.String |
getGeneratorName()
Returns the generator name as it is used in the level file. |
java.lang.String |
getGeneratorOptions()
Returns the generator options as they are used in the level file. |
static SimpleGenerator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SimpleGenerator[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SimpleGenerator DEFAULT
public static final SimpleGenerator AMPLIFIED
public static final SimpleGenerator LARGE_BIOMES
| Method Detail |
|---|
public static SimpleGenerator[] values()
for (SimpleGenerator c : SimpleGenerator.values()) System.out.println(c);
public static SimpleGenerator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getGeneratorName()
getGeneratorName in interface IGeneratorpublic java.lang.String getGeneratorOptions()
getGeneratorOptions in interface IGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||