@Environment(value=CLIENT) public static enum RealmsServer.WorldType extends Enum<RealmsServer.WorldType>
| Enum Constant and Description |
|---|
ADVENTUREMAP |
EXPERIENCE |
INSPIRATION |
MINIGAME |
NORMAL |
| Modifier and Type | Method and Description |
|---|---|
static RealmsServer.WorldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RealmsServer.WorldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RealmsServer.WorldType NORMAL
public static final RealmsServer.WorldType MINIGAME
public static final RealmsServer.WorldType ADVENTUREMAP
public static final RealmsServer.WorldType EXPERIENCE
public static final RealmsServer.WorldType INSPIRATION
public static RealmsServer.WorldType[] values()
for (RealmsServer.WorldType c : RealmsServer.WorldType.values()) System.out.println(c);
public static RealmsServer.WorldType 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 null