public enum MinecraftOS extends java.lang.Enum<MinecraftOS>
| Modifier and Type | Method and Description |
|---|---|
static MinecraftOS |
getByName(java.lang.String name) |
java.io.File |
getMinecraftHome() |
java.lang.String |
getName() |
java.lang.String |
getScriptType() |
static MinecraftOS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MinecraftOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinecraftOS WINDOWS
public static final MinecraftOS LINUX
public static final MinecraftOS MAC
public static MinecraftOS[] values()
for (MinecraftOS c : MinecraftOS.values()) System.out.println(c);
public static MinecraftOS valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.io.File getMinecraftHome()
public java.lang.String getName()
public java.lang.String getScriptType()
public static MinecraftOS getByName(java.lang.String name)