@Environment(value=CLIENT) public static enum ServerInfo.ResourcePackState extends Enum<ServerInfo.ResourcePackState>
| Modifier and Type | Method and Description |
|---|---|
Text |
getName() |
static ServerInfo.ResourcePackState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerInfo.ResourcePackState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerInfo.ResourcePackState ENABLED
public static final ServerInfo.ResourcePackState DISABLED
public static final ServerInfo.ResourcePackState PROMPT
private final Text name
public static ServerInfo.ResourcePackState[] values()
for (ServerInfo.ResourcePackState c : ServerInfo.ResourcePackState.values()) System.out.println(c);
public static ServerInfo.ResourcePackState 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 nullpublic Text getName()