public enum Platform extends Enum<Platform>
Enum Constant and Description |
---|
BUNGEE |
FABRIC |
SPIGOT |
SPONGE |
SPONGE8 |
SPONGE9 |
VELOCITY |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isProxy() |
static Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform BUNGEE
public static final Platform FABRIC
public static final Platform SPIGOT
public static final Platform SPONGE
public static final Platform SPONGE8
public static final Platform SPONGE9
public static final Platform VELOCITY
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform 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 String getName()
public boolean isProxy()