public enum MetadataType extends Enum<MetadataType>
| Enum Constant and Description |
|---|
BLOCK_FACE |
BLOCK_STATE |
BOOLEAN |
BYTE |
CHAT |
FLOAT |
INT |
ITEM |
NBT_TAG |
OPTIONAL_POSITION |
OPTIONAL_UUID |
POSITION |
ROTATION |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static MetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataType BYTE
public static final MetadataType INT
public static final MetadataType FLOAT
public static final MetadataType STRING
public static final MetadataType CHAT
public static final MetadataType ITEM
public static final MetadataType BOOLEAN
public static final MetadataType ROTATION
public static final MetadataType POSITION
public static final MetadataType OPTIONAL_POSITION
public static final MetadataType BLOCK_FACE
public static final MetadataType OPTIONAL_UUID
public static final MetadataType BLOCK_STATE
public static final MetadataType NBT_TAG
public static MetadataType[] values()
for (MetadataType c : MetadataType.values()) System.out.println(c);
public static MetadataType 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.