public enum MetaType1_12 extends java.lang.Enum<MetaType1_12> implements MetaType
MetaType.MetaTypeImpl
Enum Constant and Description |
---|
BlockID |
Boolean |
Byte |
Chat |
Direction |
Float |
NBTTag |
OptPosition |
OptUUID |
Position |
Slot |
String |
VarInt |
Vector3F |
Modifier and Type | Method and Description |
---|---|
static MetaType1_12 |
byId(int id) |
Type |
type()
Get the write/read type
|
int |
typeId()
Get type id from the specific MetaDataType
|
static MetaType1_12 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetaType1_12[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaType1_12 Byte
public static final MetaType1_12 VarInt
public static final MetaType1_12 Float
public static final MetaType1_12 String
public static final MetaType1_12 Chat
public static final MetaType1_12 Slot
public static final MetaType1_12 Boolean
public static final MetaType1_12 Vector3F
public static final MetaType1_12 Position
public static final MetaType1_12 OptPosition
public static final MetaType1_12 Direction
public static final MetaType1_12 OptUUID
public static final MetaType1_12 BlockID
public static final MetaType1_12 NBTTag
public static MetaType1_12[] values()
for (MetaType1_12 c : MetaType1_12.values()) System.out.println(c);
public static MetaType1_12 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_12 byId(int id)
public int typeId()
MetaType