public static enum PlayerResourcePackStatusEvent.Status extends Enum<PlayerResourcePackStatusEvent.Status>
Enum Constant and Description |
---|
ACCEPTED
The player has accepted the resource pack and is now downloading it.
|
DECLINED
The player declined to download the resource pack.
|
FAILED_DOWNLOAD
The player could not download the resource pack.
|
SUCCESSFUL
The resource pack was applied successfully.
|
Modifier and Type | Method and Description |
---|---|
static PlayerResourcePackStatusEvent.Status |
valueOf(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 SUCCESSFUL
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(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