java.io.Serializable
, java.lang.Comparable<PlayerResourcePackStatusEvent.Status>
public static enum PlayerResourcePackStatusEvent.Status extends java.lang.Enum<PlayerResourcePackStatusEvent.Status>
Enum Constant | Description |
---|---|
ACCEPTED |
The client accepted the pack and is beginning a download of it.
|
DECLINED |
The client refused to accept the resource pack.
|
FAILED_DOWNLOAD |
The client accepted the pack, but download failed.
|
SUCCESSFULLY_LOADED |
The resource pack has been successfully downloaded and applied to the
client.
|
Modifier and Type | Method | Description |
---|---|---|
static PlayerResourcePackStatusEvent.Status |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PlayerResourcePackStatusEvent.Status[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerResourcePackStatusEvent.Status SUCCESSFULLY_LOADED
public static final PlayerResourcePackStatusEvent.Status DECLINED
public static final PlayerResourcePackStatusEvent.Status FAILED_DOWNLOAD
public static final PlayerResourcePackStatusEvent.Status ACCEPTED
public static PlayerResourcePackStatusEvent.Status[] values()
for (PlayerResourcePackStatusEvent.Status c : PlayerResourcePackStatusEvent.Status.values()) System.out.println(c);
public static PlayerResourcePackStatusEvent.Status 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 nullCopyright © 2018. All rights reserved.