public enum Generator extends Enum<Generator>
| Enum Constant and Description |
|---|
FLAT |
LEGACY |
NETHER |
OVERWORLD |
THE_END |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static Generator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Generator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Generator LEGACY
public static final Generator OVERWORLD
public static final Generator FLAT
public static final Generator NETHER
public static final Generator THE_END
public static final Generator UNDEFINED
public static Generator[] values()
for (Generator c : Generator.values()) System.out.println(c);
public static Generator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
Copyright © 2017–2018 NukkitX. All rights reserved.