public static enum Metadata.Type extends Enum<Metadata.Type>
| Enum Constant and Description |
|---|
BYTE |
FLAGS |
FLOAT |
INT |
ITEM |
LONG |
SHORT |
STRING |
VECTOR3F |
VECTOR3I |
| Modifier and Type | Method and Description |
|---|---|
static Metadata.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metadata.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metadata.Type FLAGS
public static final Metadata.Type BYTE
public static final Metadata.Type SHORT
public static final Metadata.Type INT
public static final Metadata.Type FLOAT
public static final Metadata.Type STRING
public static final Metadata.Type ITEM
public static final Metadata.Type VECTOR3I
public static final Metadata.Type LONG
public static final Metadata.Type VECTOR3F
public static Metadata.Type[] values()
for (Metadata.Type c : Metadata.Type.values()) System.out.println(c);
public static Metadata.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.