public static enum Mojang.ServiceType extends java.lang.Enum<Mojang.ServiceType>
Enum Constant and Description |
---|
ACCOUNT_MOJANG_NET |
API_MOJANG_COM |
AUTH_MOJANG_COM |
AUTHSERVER_MOJANG_COM |
MINECRAFT_NET |
MOJANG_COM |
SESSION_MINECRAFT_NET |
SESSIONSERVER_MOJANG_COM |
SKINS_MINECRAFT_NET |
TEXTURES_MINECRAFT_NET |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
This method overrides
java.lang.Object.toString() and returns the address of the mojang api portion a certain enum constant represents. |
static Mojang.ServiceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mojang.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mojang.ServiceType MINECRAFT_NET
public static final Mojang.ServiceType SESSION_MINECRAFT_NET
public static final Mojang.ServiceType ACCOUNT_MOJANG_NET
public static final Mojang.ServiceType AUTH_MOJANG_COM
public static final Mojang.ServiceType SKINS_MINECRAFT_NET
public static final Mojang.ServiceType AUTHSERVER_MOJANG_COM
public static final Mojang.ServiceType SESSIONSERVER_MOJANG_COM
public static final Mojang.ServiceType API_MOJANG_COM
public static final Mojang.ServiceType TEXTURES_MINECRAFT_NET
public static final Mojang.ServiceType MOJANG_COM
public static Mojang.ServiceType[] values()
for (Mojang.ServiceType c : Mojang.ServiceType.values()) System.out.println(c);
public static Mojang.ServiceType 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.lang.String toString()
This method overrides java.lang.Object.toString()
and returns the address of the mojang api portion a certain enum constant represents.
Example:
org.shanerx.mojang.Mojang.ServiceType.MINECRAFT_NET.toString()
will return minecraft.net
toString
in class java.lang.Enum<Mojang.ServiceType>