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