public static enum ResourcePackStatusC2SPacket.Status extends Enum<ResourcePackStatusC2SPacket.Status>
Enum Constant and Description |
---|
ACCEPTED |
DECLINED |
FAILED_DOWNLOAD |
SUCCESSFULLY_LOADED |
Modifier and Type | Method and Description |
---|---|
static ResourcePackStatusC2SPacket.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePackStatusC2SPacket.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcePackStatusC2SPacket.Status SUCCESSFULLY_LOADED
public static final ResourcePackStatusC2SPacket.Status DECLINED
public static final ResourcePackStatusC2SPacket.Status FAILED_DOWNLOAD
public static final ResourcePackStatusC2SPacket.Status ACCEPTED
public static ResourcePackStatusC2SPacket.Status[] values()
for (ResourcePackStatusC2SPacket.Status c : ResourcePackStatusC2SPacket.Status.values()) System.out.println(c);
public static ResourcePackStatusC2SPacket.Status 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