public enum EnumLevel extends Enum<EnumLevel>
| Modifier and Type | Method and Description |
|---|---|
CloudLevel |
getLevel() |
static CloudLevel |
getOtherNetherPair(CloudLevel current) |
static void |
initLevels() |
static org.cloudburstmc.api.level.Location |
moveToNether(org.cloudburstmc.api.level.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 CloudLevel getLevel()
public static void initLevels()
public static CloudLevel getOtherNetherPair(CloudLevel current)
public static org.cloudburstmc.api.level.Location moveToNether(org.cloudburstmc.api.level.Location current)
Copyright © 2021. All rights reserved.