public enum EnumLevel extends Enum<EnumLevel>
| Modifier and Type | Method and Description |
|---|---|
Level |
getLevel() |
static Level |
getOtherNetherPair(Level current) |
static void |
initLevels() |
static Location |
moveToNether(Location current) |
static EnumLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumLevel OVERWORLD
public static final EnumLevel NETHER
public static EnumLevel[] values()
for (EnumLevel c : EnumLevel.values()) System.out.println(c);
public static EnumLevel 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 Level getLevel()
public static void initLevels()
Copyright © 2020. All rights reserved.