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