public enum MetaType1_7_6 extends java.lang.Enum<MetaType1_7_6> 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_7_6 |
byId(int id) |
com.viaversion.viaversion.api.type.Type<?> |
type() |
int |
typeId() |
static MetaType1_7_6 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetaType1_7_6[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaType1_7_6 Byte
public static final MetaType1_7_6 Short
public static final MetaType1_7_6 Int
public static final MetaType1_7_6 Float
public static final MetaType1_7_6 String
public static final MetaType1_7_6 Slot
public static final MetaType1_7_6 Position
public static MetaType1_7_6[] values()
for (MetaType1_7_6 c : MetaType1_7_6.values()) System.out.println(c);
public static MetaType1_7_6 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_7_6 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