public enum Dimension extends Enum<Dimension>
| Modifier and Type | Method and Description |
|---|---|
static Dimension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dimension OVERWORLD
public static final Dimension NETHER
public static final Dimension THE_END
public static Dimension[] values()
for (Dimension c : Dimension.values()) System.out.println(c);
public static Dimension 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 nullCopyright © 2017–2020 NukkitX. All rights reserved.