public static enum PlayerResourcePackStatusEvent.Status extends Enum<PlayerResourcePackStatusEvent.Status>
Enum Constant and 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 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 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(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 nullCopyright © 2017. All rights reserved.