public static enum Platform.Type extends Enum<Platform.Type>
| Enum Constant and Description |
|---|
BUKKIT |
BUNGEECORD |
NUKKIT |
SPONGE |
VELOCITY |
| Modifier and Type | Method and Description |
|---|---|
@NonNull String |
getFriendlyName()
Gets a readable name for the platform type.
|
static Platform.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.Type BUKKIT
public static final Platform.Type BUNGEECORD
public static final Platform.Type SPONGE
public static final Platform.Type NUKKIT
public static final Platform.Type VELOCITY
public static Platform.Type[] values()
for (Platform.Type c : Platform.Type.values()) System.out.println(c);
public static Platform.Type 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 @NonNull String getFriendlyName()