public enum NetherPortal extends Enum<NetherPortal> implements Metadata
| Enum Constant and Description |
|---|
EAST_WEST |
NORTH_SOUTH |
| Modifier and Type | Method and Description |
|---|---|
static NetherPortal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetherPortal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetherPortal EAST_WEST
public static final NetherPortal NORTH_SOUTH
public static NetherPortal[] values()
for (NetherPortal c : NetherPortal.values()) System.out.println(c);
public static NetherPortal 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.