public enum MetaType1_6_4 extends java.lang.Enum<MetaType1_6_4> implements com.viaversion.viaversion.api.minecraft.metadata.MetaType
| Enum Constant and Description |
|---|
Byte |
Float |
Int |
Position |
Short |
Slot |
String |
| Modifier and Type | Method and Description |
|---|---|
static MetaType1_6_4 |
byId(int id) |
com.viaversion.viaversion.api.type.Type<?> |
type() |
int |
typeId() |
static MetaType1_6_4 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetaType1_6_4[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaType1_6_4 Byte
public static final MetaType1_6_4 Short
public static final MetaType1_6_4 Int
public static final MetaType1_6_4 Float
public static final MetaType1_6_4 String
public static final MetaType1_6_4 Slot
public static final MetaType1_6_4 Position
public static MetaType1_6_4[] values()
for (MetaType1_6_4 c : MetaType1_6_4.values()) System.out.println(c);
public static MetaType1_6_4 valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MetaType1_6_4 byId(int id)
public int typeId()
typeId in interface com.viaversion.viaversion.api.minecraft.metadata.MetaTypepublic com.viaversion.viaversion.api.type.Type<?> type()
type in interface com.viaversion.viaversion.api.minecraft.metadata.MetaType