public enum ResourcePackType extends Enum<ResourcePackType>
| Enum Constant and Description |
|---|
ADDON |
BEHAVIOR |
CACHED |
COPY_PROTECTED |
INVALID |
PERSONA_PIECE |
RESOURCE |
SKINS |
WORLD_TEMPLATE |
| Modifier and Type | Method and Description |
|---|---|
static ResourcePackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourcePackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourcePackType INVALID
public static final ResourcePackType RESOURCE
public static final ResourcePackType BEHAVIOR
public static final ResourcePackType WORLD_TEMPLATE
public static final ResourcePackType ADDON
public static final ResourcePackType SKINS
public static final ResourcePackType CACHED
public static final ResourcePackType COPY_PROTECTED
public static final ResourcePackType PERSONA_PIECE
public static ResourcePackType[] values()
for (ResourcePackType c : ResourcePackType.values()) System.out.println(c);
public static ResourcePackType 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 © 2018–2022 NukkitX. All rights reserved.